diff --git a/CHANGELOG.md b/CHANGELOG.md index bd1552747..2e157951f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,3 +14,6 @@ Changed for individual apps are listed in `apps/appname/ChangeLog` * Added espruinotools.js for pretokenisation * Included image and compression tools in repo * Added better upload of large files (incl. compression) +* URL fetch is now async +* Adding '#search' after the URL (when not the name of a 'filter' chip) will set up search for that term +* If `bin/pre-publish.sh` has been run and recent.csv created, add 'Sort By' chip diff --git a/bin/pre-publish.sh b/bin/pre-publish.sh new file mode 100755 index 000000000..47822dbf2 --- /dev/null +++ b/bin/pre-publish.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +cd `dirname $0`/.. +node bin/sanitycheck.js || exit 1 + +echo "Sanity check passed." + +echo "Finding most recent apps..." + +cd apps +for appfolder in *; do + echo "$(git log --follow --format=%ai $appfolder),$appfolder" | tail -n 1 ; +done | grep -v _example_ | sort -r > ../recent.csv +cd .. + +echo "Ready to publish" diff --git a/index.html b/index.html index c7c262557..0d23c2c0b 100644 --- a/index.html +++ b/index.html @@ -40,6 +40,9 @@ .chip { cursor: pointer; } + .sort-nav { + float: right; + } .tile-content { position: relative; } .link-github { position:absolute; @@ -88,16 +91,25 @@