When clicking on a feed link in an entry header, immediately switch to the feed.
The old behavior was to mark the open entry as unread and only then switch to the feed. This meant that the open entry appeared in the entries list, but there could be a delay until the response...
View ArticleRewrote ng-KeyboardShortcutsSvc so that it's a bit faster. It also responds t...
Rewrote ng-KeyboardShortcutsSvc so that it's a bit faster. It also responds to both upper and lower case of the configured keys.
View ArticlePrevent default event behavior only for keys in the configured keyboard...
Prevent default event behavior only for keys in the configured keyboard shortcuts. Other keys behave normally.
View ArticleChanged keypress management to an angularjs ng-keypress directive.
This means that keyboard shortcut handling is performed in an angularjs service triggered by ng-keypress. This way the UI is immediately updated (e.g. entries are immediately marked as read, etc)...
View ArticleChanged tests to adapt to commit ce9eb15c5e4e829029b69d9d605af0e6969c37b5
When clicking on the feed link in an entry header, the entry no longer is marked as unread.
View ArticleMarking all current entries as read is done in a separate thread with a web w...
Smoother UI this way. Also some protection against network failures is baked in: if the Ajax call fails, it is reattempted each second for up to 1 minute.
View ArticleThe CSRF token is accessed through an angularjs service.
This service has the responsability of reading it from the meta tag. This way if in the future views switch from Rails to another framework, it will be easier to change the code so that the token is...
View ArticleFixed bugs.
- Typo when checking ajax response state ("state" instead of "status") - Check that there is text in the response before trying to parse it as JSON
View ArticleDRYer code using the importScripts method in web workers to share common code.
Also fixed missing semicolons in js code.
View Article