summaryrefslogtreecommitdiff
path: root/js/AppBase.js
AgeCommit message (Collapse)Author
2019-03-11Refactor hotkeys to use keypress instead of keydownMichael Kuhn
keydown returns the "raw" key in event.which. Depending on the keyboard layout, this may not be what is wanted. For example, on a German keyboard, Shift+7 has to be pressed to get a slash. However, event.which will be 55, which corresponds to "7". In the keypress event, however, event.which will be 47, which corresponds to "/". Sadly, several important keys (such as escape and the arrow keys) do not trigger a keypress event. Therefore, they have to be handled using a keydown event. This change refactors the hotkey support to make use of keypress events whenever possible. This will make hotkeys work regardless of the user's keyboard layout. Escape and arrow keys are still handled via keydown events. There should be only one change in behavior: I could not make Ctrl+/ work and therefore rebound the help dialog to "?".
2018-12-16rework git update checking to be initiated by frontend, outside of runtime ↵Andrew Dolgov
info output
2018-12-16delay counters request on promise completion a bitAndrew Dolgov
2018-12-13App.toggleNightMode: add some fadein/fadeoutAndrew Dolgov
2018-12-12requestCounters: remove cooldownAndrew Dolgov
2018-12-11remove old fatalError(), move everything to App.ErrorAndrew Dolgov
update exception dialog css
2018-12-11Error.report: use JS template stringsAndrew Dolgov
2018-12-10show alert if recent_log_events > 0Andrew Dolgov
2018-12-09add hotkey (a N) to toggle night.cssAndrew Dolgov
2018-12-09fix previous to not crash in prefsAndrew Dolgov
2018-12-09headlines-spacer: only set 100% height if auto catchup is enabledAndrew Dolgov
2018-12-06remove some bitmaps and rework stuff using it to use iconfont insteadAndrew Dolgov
2018-12-06rework net-alert to use iconfont, move it to toolbar startAndrew Dolgov
2018-12-03refactor error reporting to AppBase; keep exception_error() for now as a shimAndrew Dolgov
2018-12-02Fix reference to `PluginHost`.wn_
A `const` doesn't create a property on `window`.
2018-12-02move Utils to AppBase where it belongsAndrew Dolgov
2018-12-02add AppBase as a shared ancestor for main and prefs app objectsAndrew Dolgov
remove event.observe stuff from startup, unneeded