summaryrefslogtreecommitdiff
path: root/js/FeedTree.js
AgeCommit message (Collapse)Author
2023-03-05Also use friendly names for special feed+cat IDs in the frontend.wn_
2021-10-10feed tree context menu: add an entry to open originating websiteAndrew Dolgov
2021-05-20add hotkeys J/K to move between unread feedsAndrew Dolgov
2021-04-12getPreviousFeed/getNextFeed: implement wrap aroundAndrew Dolgov
2021-03-24don't use css-defined .svg files because firefoxAndrew Dolgov
2021-03-22yet another flex feedtree attemptexp-flex-feedtreeAndrew Dolgov
2021-03-22Revert "Revert "another attempt at flex-based feed tree""Andrew Dolgov
This reverts commit 43744412f46d04cf2920264b4f9cc09b43d79924.
2021-03-22unify return values for getPreviousFeed and usages of both prev/nextAndrew Dolgov
2021-03-22 * Feeds.openNextUnread: fixAndrew Dolgov
* model.getNextFeed: make sure return values are consistent, stop wrapping back to starred
2021-03-21Revert "another attempt at flex-based feed tree"Andrew Dolgov
This reverts commit e12a6ca5409a77083758da4577b04d3b14d6232d.
2021-03-21another attempt at flex-based feed treeAndrew Dolgov
2021-03-19remove model.getNextUnreadFeed; unify code with feedTree.getNextFeedAndrew Dolgov
2021-03-16add svg loading indicatorsAndrew Dolgov
2021-03-16simplify feed tree expando/loading/feed icon handlingAndrew Dolgov
2021-03-09support coloring counters by feed-id/is-cat; set fresh counter to greenAndrew Dolgov
2021-02-18initial for RIP prototype/scriptaculousAndrew Dolgov
2021-02-15remove the rest of db.php; rename some leftover methods in feedsAndrew Dolgov
2021-02-12silence (or fix) a bunch of eslint warningsAndrew Dolgov
2020-09-15- backend: require CSRF token to be passed via POSTAndrew Dolgov
- do not leak CSRF token via GET request in feed debugger - rework Article/redirect to use POST
2020-07-09Store FeedTree data in localStoragenanaya
Patching internal functions of dijit.Tree as they don't provide option on where to store the data. It stores to cookies by default but the data can get quite big for hundreds of feeds and exceeds cookies size limit. Not to mention it'll cause the cookie to be sent during any request with nothing handling it server side and just wasting bandwidth. This patch will also migrate current data in cookie to local storage accordingly.
2020-06-05more eslint fixessingle-app-objectAndrew Dolgov
2020-06-05eslint-related fixes; move a few things from global context to AppAndrew Dolgov
2020-06-04fix various minor issues reported by eslintAndrew Dolgov
2020-02-22feed tree: do not mark Labels as SpecialAndrew Dolgov
2020-02-21feed tree: don't set Special class on Labels categoryAndrew Dolgov
2020-02-21hide read feeds / hide read shows special: use CSS instead of JS-based hidingAndrew Dolgov
2020-02-201. feedtree: show counters for marked articles if view-mode == markedAndrew Dolgov
2. hide/show relevant counter nodes using css 3. cleanup some counter-related code 4. compile default css into light theme to prevent cache-related issues
2020-01-24apply Has_Marked css class to feed tree elements with marked articlesAndrew Dolgov
2019-05-07fix read categories not being hidden when hide read feeds is enabledAndrew Dolgov
2019-05-06feed tree: set placeholder feed unread value to -1Andrew Dolgov
2019-04-13Fix focus issues with hotkeysMichael Kuhn
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.
2019-04-08FeedTree: add feed debugger to per-feed context menuAndrew Dolgov
2019-01-31Feeds.catchupAllFeeds() should be Feeds.catchupAll()Andrew Dolgov
2019-01-28feedTree: amend previous to check that nodes are actually there (2)Andrew Dolgov
2019-01-28feedTree: amend previous to check that nodes are actually thereAndrew Dolgov
2019-01-27selectFeed: scroll feed tree to selected rowAndrew Dolgov
2018-12-10show errors in feedtree's tooltipsGilles Grandou
2018-12-06update label rendering (and editor)Andrew Dolgov
2018-12-05various icon updates; use new icons in feed treeAndrew Dolgov
2018-12-03refactor error reporting to AppBase; keep exception_error() for now as a shimAndrew Dolgov
2018-12-02add AppBase as a shared ancestor for main and prefs app objectsAndrew Dolgov
remove event.observe stuff from startup, unneeded
2018-12-01move some more shared stuff to CommonDialogs, Filters, and UtilsAndrew Dolgov
2018-12-01further objectification of JS codeAndrew Dolgov
2018-12-01WIP reshuffling of JS global context into separate logical objectsAndrew Dolgov
2018-11-29move to let/const syntax in custom dojo modulesAndrew Dolgov
2018-08-23define custom dojo modules with define() instead of require(), update ↵Andrew Dolgov
startup module dependencies
2018-02-08add special class for feeds with disabled updatesAndrew Dolgov
2017-05-12feedtree.selectFeed: focus headlines-frame after selectionAndrew Dolgov
2017-05-05feedtree, selectFeed: focus selected nodeAndrew Dolgov
2017-03-04simplify error handlingAndrew Dolgov
* less convoluted exception dialogs * use window.onerror for the majority of exception catching/reporting * remove most of now useless try/catch blocks * report stacktrace instead of manually specified error locations