summaryrefslogtreecommitdiff
path: root/js/FeedTree.js
AgeCommit message (Collapse)Author
2025-10-14Remove 'App.byId()', which was essentially an alias of ↵supahgreg
'document.getElementById()'.
2025-10-14Remove various Element and Array prototype extensions (and similar).supahgreg
2025-10-14Fix some more issues related to ESLint 'eqeqeq' changes.supahgreg
2025-10-13Address remaining ESLint 'no-undef' and 'no-unused-vars' occurrences.supahgreg
* https://eslint.org/docs/latest/rules/no-undef * https://eslint.org/docs/latest/rules/no-unused-vars
2025-10-12Clean up unnecessary eslint-disable directives (per ESLint).supahgreg
2025-10-12Add a workaround+note for a FeedTree feed item's 'error' being '[]'.supahgreg
The backend is sending 'error' as a string (or undefined for cats).
2025-10-12Address rule 'no-redeclare' for 'dojo' and 'dijit' (defined as globals in ↵supahgreg
'eslint.config.js'). Also take care of 2 'no-prototype-builtins' and a 'no-useless-escape'. * https://eslint.org/docs/latest/rules/no-redeclare * https://eslint.org/docs/latest/rules/no-prototype-builtins * https://eslint.org/docs/latest/rules/no-useless-escape
2025-10-12Address ESLint rule 'eqeqeq'.supahgreg
https://eslint.org/docs/latest/rules/eqeqeq
2025-10-10Fix a potential double-unescaping issue, tweak 'App.escapeHtml()'.supahgreg
2025-07-30implement special counter display when viewing by published, similar to markedAndrew Dolgov
2023-10-25move to psr-4 autoloaderAndrew Dolgov
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 attemptAndrew 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 fixesAndrew 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