Commit Graph

170 Commits (39f459eb0407cdf4bd0a072828300d161a0ef4e8)

Author SHA1 Message Date
Andrew Dolgov 5829ee9498 main toolbar: set order values for main toolbar elements 5 years ago
Michael Kuhn e38fcd6dea Fix button focus issues
This change introduces derived classes for ComboButton, DropDownButton
and Select that make sure that buttons do not remain focused after their
menus are closed. This allows using hotkeys after closing them.
6 years ago
Michael Kuhn 4a2a90c980 Fix focus issues with hotkeys
Since making use of keypress in addition to keydown, hotkeys did not
work in certain scenarios, including clicking on the feed tree expanders
or empty spaces of the toolbar.

This issue is caused by dijit.Tree and dijit.Toolbar implementing the
_KeyNavMixin, which explicitly stops propagation of keypress events.

This change contains two main fixes plus a smaller hotfix:
1. It overrides _onContainerKeydown and _onContainerKeypress for
   fox.FeedTree (which inherits from dijit.Tree).
2. It adds fox.Toolbar, which overrides _onContainerKeydown,
   _onContainerKeypress and focus. This fixes hotkeys being swallowed
   and the first focusable child receiving focus when clicking on an
   empty space of the toolbar.
3. It adds the same handling of keydown and keypress to the prefs hotkey
   handler as is done in the main hotkey handler.
6 years ago
Andrew Dolgov 83650fffa4 actions dropdown: use material menu icon 6 years ago
Andrew Dolgov 54c1b5c611 fill in some missing doctypes; use short doctype where it wasn't 6 years ago
Andrew Dolgov 2bd51c48d8 remove lib/mobile_detect 6 years ago
Andrew Dolgov 356729310b remove jshrink 6 years ago
Andrew Dolgov 7915706946 move all status icons like net-alert together on the toolbar 6 years ago
Andrew Dolgov 7e5c999146 show alert if recent_log_events > 0 6 years ago
Andrew Dolgov fca78f7417 add qmcToggleNightMode to actions dropdown 6 years ago
Andrew Dolgov 1c8593c1fa add hotkey (a N) to toggle night.css 6 years ago
Andrew Dolgov 703351c79e remove theme supports-version etc checking 6 years ago
Andrew Dolgov e28a993955 replace a few more hardcoded colors with less variables 6 years ago
Andrew Dolgov 0b8cbc9156 remove some bitmaps and rework stuff using it to use iconfont instead 6 years ago
Andrew Dolgov 0ea0b606be rework net-alert to use iconfont, move it to toolbar start 6 years ago
Andrew Dolgov 2cd1ec5816 remove seemingly useless bordercontainer from main layout 6 years ago
Andrew Dolgov 05200a3840 rename main toolbar elements to be more consistent 6 years ago
Andrew Dolgov a1407b35e4 add map files; night.css fixes 6 years ago
Andrew Dolgov 2ab097b2e5 initial work for flat modern theme 6 years ago
Andrew Dolgov 88b8830a6b various CSS updates for flat theme 6 years ago
Andrew Dolgov 563a46f55a initial 6 years ago
Andrew Dolgov 7c1bc3c5a8 add separate body class for main UI page 6 years ago
Andrew Dolgov 84affc7b1d rework dojo singleton modules to better work with phpstorm completion (ugh) - declare() is not needed there anyway
remove event.observe from login form (not needed)
load pluginhost via amd
6 years ago
Andrew Dolgov ac8361e6f6 add AppBase as a shared ancestor for main and prefs app objects
remove event.observe stuff from startup, unneeded
6 years ago
Andrew Dolgov d9c5c93cef move some more stuff out of common.js
rework client-side cookie functions a bit
limit dojo cachebust based on server scripts modification time
remove param_escape()
6 years ago
Andrew Dolgov f89924f7a1 set use strict on JS modules; remove some mostly useless stuff like get_minified_js() 6 years ago
Andrew Dolgov 807ff07454 split main objects to dojo modules 6 years ago
Andrew Dolgov 0a18d0b1ed Feeds: shorten some method names
finally rename "view as rss"
6 years ago
Michael Kuhn f11933e1fe Fix typo 6 years ago
Andrew Dolgov cc26be0793 migrate tt-rss.js contents to App 6 years ago
Andrew Dolgov 1d82bd4f19 further objectification 6 years ago
Andrew Dolgov d86ddbc635 further objectification of JS code 6 years ago
Andrew Dolgov e84adbba37 rate-limit headlinesScrollHandler via timeout instead of distance scrolled
minor floating title cleanup
6 years ago
Andrew Dolgov 0d27227359 use xhrPost in more places; various minor cleanup 6 years ago
Andrew Dolgov 803b8ead1e update previous to not die on errors 6 years ago
Andrew Dolgov f7fe28d059 fix user theme ignoring active settings profile 6 years ago
Andrew Dolgov c4869cd573 if PHP_VERSION check fails, show current version 6 years ago
wn_ db4b6b9757 Check for PHP 5.6 minimum everywhere. 6 years ago
Andrew Dolgov a9105e2a61 move JShrink Minifier to vendor/ 6 years ago
Andrew Dolgov a72643257a do not enforce strict mode for plugins 7 years ago
Andrew Dolgov 3009ecc44f initial for JS strict mode 7 years ago
Andrew Dolgov c4a08e4ff0 remove mentions of deprecated.js 7 years ago
Andrew Dolgov 3f2a871421 upd: default css url if no theme 7 years ago
Andrew Dolgov 6bd13fc55f remove layout.css 7 years ago
Andrew Dolgov 5e68e24679 css/less updates 7 years ago
jr conlin b486510385 Add "viewport" meta to allow mobile devices ability to resize and display page. 7 years ago
Andrew Dolgov 7590f03961 feedtree.selectFeed: focus headlines-frame after selection 8 years ago
Andrew Dolgov 3188e863b3 handle_rpc_json: fix netalert button never appearing on JSON parse error 8 years ago
Andrew Dolgov e432b8fbe2 implement cache-busting for default theme.css
night theme: small fixes
8 years ago
Andrew Dolgov 6f84bf7b0a dojoConfig: use cacheBust 8 years ago