[nodebb-plugin-shortcuts] Browse NodeBB by Keyboard
-
(haha but there's only one eligible entrant)
-
@frissdiegurke Hmm...
TypeError: Cannot call method 'apply' of undefined at /var/www/community.nodebb.org/node_modules/nodebb-plugin-shortcuts/services/Configuration.js:1:2764 at /var/www/community.nodebb.org/src/meta.js:79:6
On plugin activation. Reported upstream: frissdiegurke/nodebb-plugin-shortcuts#1
-
Should be fixed now...
-
@julian said:
I believe the latest version does not contain the settings module code that was merged this morning
correct
-
bump. @julian didn't you want to re-activate this plugin here? still waiting for it Or did another bug appear?
-
@julian Are you able to reproduce this step by step? It happens to me only sometimes (sth. like only at topics where I selected a post that forces infinite scroll to trigger and there only after pressing 'r' first). When it happens it seems like the 'a' (or 'A') closes the search-box somehow, because of this the 'r'/'R' gets interpreted by my plugin.
Basically I'm just using 'keydown' events (via jquery call), if I log there doesn't happen anything while focus is on browser-side search box.So I have no clue why the 'a' closes this search-box sometimes (seems to be chromium only, fx doesn't close it in any test-case)...
-
@frissdiegurke Good point, I didn't refresh to ensure that it happened 100% of the time... now that I try again, I can't reproduce it
Edit: Actually, I can, once the page has loaded via infinite scroll at least once... then hitting "r" while search dialog is open seems to close the search dialog and go to top of page...?
-
@julian Are you testing with chrome(/chromium) too or does it happen in fx there?
Maybe it's a bug of chrome itself and/or sth. within infinite-scrolling code -
I guess it triggers when the next match isn't visible so it has to scroll. it does scroll to the match when closing the search
-
@julian maybe it's because of the url-change on scrolling if a state gets pushed (new post visible). So chrome closes the search on pushstate... would need some more specific tests I don't want to do now
-
@julian that problem seems to be fixed now just for interest, have you changed anything or have the google guys fixed it?
Anyways: I've updated to provide a shortcut for the new groups-page and selection-functionality within.
I'd love to see this plugin back in use on this community (since the main target of all my plugins is this community xD ) - the 0.6.x issues have been fixed shortly after 0.6.0 arrival months ago
-
Updated (completely reworked, plain JS now) to NodeBB
0.9.0
and current lavender and persona themes.Also transferred to https://github.com/NodeBB-Community/nodebb-plugin-shortcuts
-
Great news folks,
@julian has installed (once again) this plugin on this boardJust press
?
to see how to get started...Some notes for myself:
- Implement Konami Code
- Force input-selection after chat selection was triggered
- Fix cards on categories page selection actions to refer to topic instead of category (might be best to fix within theme?
component="categories/category"
is misleading there @psychobunny )
EDIT: removed some notes for myself that got their individual issues within github.