This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
lidlanca e277287b2e Fix: rapid/continuous keyboard Next event under Topics List view may lose selected item on "load more"
Using Next keyboard shortcut (J) rapidly while reaching last item in the topic list and
causing a "load more". The handler might get into a state where it can not detect any selected item due to the delay from Em.run.next
and will result in position reset.

+added boundary check of last item on next, early in the handler to avoid unnecessary computations 


https://meta.discourse.org/t/keyboard-shortcut-next-previous-continues-key-down-reset-to-first-item-in-list-on-load-more/20042
2014-09-13 23:59:20 -04:00
..
components Refactor some deprecations for newer versions of Ember. Also set up 2014-09-11 16:16:21 -04:00
controllers Replaced many global Discourse.SiteSetting calls in templates with 2014-09-11 16:46:34 -04:00
dialects FIX: fix dialect block ordering 2014-09-10 13:29:40 +02:00
ember Use dashed names for all templates when using {{render}} for future 2014-09-12 15:03:33 -04:00
helpers Migrate more helpers to ES6 format. 2014-09-12 14:27:34 -04:00
initializers Migrate more helpers to ES6 format. 2014-09-12 14:27:34 -04:00
lib Fix: rapid/continuous keyboard Next event under Topics List view may lose selected item on "load more" 2014-09-13 23:59:20 -04:00
mixins PERF: Do far fewer checks and use a lot less memory when loading more 2014-08-27 15:31:06 -04:00
models FIX: in activity stream, move category badge to be under topic title. Long titles could cause it to be cut off. Category badge replaces the text that was there. 2014-09-11 17:26:09 -04:00
routes FIX: Scroll position when hitting back button to category filter 2014-09-12 14:07:04 -04:00
templates Removed stupid {{log}} message that I left in because I'm stupid. 2014-09-12 16:29:25 -04:00
views FIX: Badge scroll position 2014-09-11 17:50:47 -04:00