Commit Graph

165 Commits

Author SHA1 Message Date
Andrew Dolgov 0578bf8025
add Headlines.default_move_on_expand tunable 2023-04-13 20:15:23 +03:00
wn_ c923fda8c9 Also use friendly names for special feed+cat IDs in the frontend. 2023-03-05 20:06:48 +00:00
Andrew Dolgov 304845f380 Merge branch 'master' of git.fakecake.org:fox/tt-rss 2022-01-13 13:59:36 +03:00
Andrew Dolgov 8cf9c451dc Headlines: fix multiple article ids not passed to setScore as an array 2022-01-13 13:59:21 +03:00
Andrew Dolgov 720b318796 * fox.form.Select: add several properties allowing it to better
imitate other controls like DropDownButton, etc.
 * rework several main toolbar items to use fox.form.Select instead of
other controls
 * replace HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM with
HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM2 because of markup change (option
instead of menuitem)
 * PluginHost: add some explicit typecasts to make intellephense shut up
2021-12-14 21:53:45 +03:00
Andrew Dolgov df7b2e7984 combined mode: limit feed title element to 25% width 2021-11-29 13:39:58 +03:00
Andrew Dolgov 377e0b812c add data-orig-feed-title to generated headline markup 2021-10-18 07:44:38 +03:00
Andrew Dolgov 9e7e0e84d7 fix vfeed menu in three panel mode 2021-10-11 13:49:20 +03:00
Andrew Dolgov a9646b9574 headlines: attach context menu to vfeed title node 2021-10-10 22:17:11 +03:00
Andrew Dolgov df145c8064 * cdm: render enclosures into content element
* deprecate cdm.intermediate
 * implement lazy-load for rendered enclosures
 * simplify pack/unpack logic for articles
2021-04-22 10:45:27 +03:00
Andrew Dolgov 968270ed48 fix excessive CPU usage on linux chromium caused by animated SVG icons 2021-03-17 19:28:20 +03:00
Andrew Dolgov 0f5fd9ea13 use svg icon for headlines loadmore prompt 2021-03-16 22:09:01 +03:00
Andrew Dolgov 7a1e1630d8 use svg icon for packed article placeholders 2021-03-16 21:40:20 +03:00
Andrew Dolgov 2f402d598d only show right-side feed icon for vfeeds 2021-03-13 11:35:15 +03:00
Andrew Dolgov efde6d36c7 add HOOK_HEADLINES_SCROLL_HANDLER 2021-03-12 12:29:26 +03:00
Andrew Dolgov e85cba5958 sticky header: better positioning strategy 2021-03-12 11:59:26 +03:00
Andrew Dolgov 146b1e0feb * shorten_expanded: use ResizeObserver (DUH)
* add HOOK_HEADLINES_RENDERED
2021-03-11 22:55:14 +03:00
Andrew Dolgov f67d2623b7 add some media queries to improve main UI on small-width devices 2021-03-11 19:26:19 +03:00
Andrew Dolgov 755072de91 css cleanup, combined mode, fonts 2021-03-11 14:32:15 +03:00
Andrew Dolgov f9a381ecca grid: add a header icon (and a hotkey) to toggle article span entire row 2021-03-11 08:35:02 +03:00
Andrew Dolgov f9a9fcbb56 fix related to Promise.allSettled() returning a bit different result object 2021-03-10 20:34:48 +03:00
Andrew Dolgov 3e1b3e8ea8 grid: add workaround for a single loaded headline not spanning all columns 2021-03-10 20:27:20 +03:00
Andrew Dolgov 143617afb1 * it feels weird for requireIdleCallback() to be optional while more
modern browser features are required
 * simplify browser startup feature check a bit
2021-03-10 19:53:09 +03:00
Andrew Dolgov f58879c1dc small stuck header fixes in grid mode 2021-03-10 12:10:11 +03:00
Andrew Dolgov 0b93d8d013 add hotkey to toggle grid view 2021-03-10 10:01:22 +03:00
Andrew Dolgov ddfa39015e experimental: add preference to show combined mode headlines as a 2 column grid 2021-03-10 08:33:56 +03:00
Andrew Dolgov ae7b87bca9 add HOOK_HEADLINE_MUTATIONS, HOOK_HEADLINE_MUTATIONS_SYNCED 2021-03-09 17:01:22 +03:00
Andrew Dolgov 1fb7125f90 minor cleanup related to toolbar-main (use dijit methods, etc) 2021-03-08 10:43:49 +03:00
Andrew Dolgov 9689f884ab add Prefs::DEBUG_HEADLINE_IDS 2021-02-26 12:34:50 +03:00
Andrew Dolgov 553548b689 request label counters conditionally 2021-02-24 15:07:31 +03:00
Andrew Dolgov 8b09e653e0 pass array to setScore 2021-02-24 12:10:09 +03:00
Andrew Dolgov 155e4f6125 pass a bunch of related arrays properly to backend 2021-02-24 12:07:25 +03:00
Andrew Dolgov 96182597c4 fix typo 2021-02-24 10:38:54 +03:00
Andrew Dolgov 9ad5f04e51 only request counters once for headline mutations 2021-02-24 10:31:03 +03:00
Andrew Dolgov d6203bf350 try to calculate counters conditionally based on feed ids 2021-02-24 09:47:26 +03:00
Andrew Dolgov c9ccb0791d fix for startup crash because of classes containing spaces 2021-02-19 20:05:56 +03:00
Andrew Dolgov d5f4979831 headlines.select: maybe fix another one 2021-02-19 18:50:02 +03:00
Andrew Dolgov 737cffc241 render feed icon markup on the client 2021-02-19 17:40:11 +03:00
Andrew Dolgov d445530fa0 format note on the client 2021-02-19 17:15:22 +03:00
Andrew Dolgov 921b5ca2ce add onTagsUpdated similar to onLabelsUpdated 2021-02-19 15:34:28 +03:00
Andrew Dolgov e73779fec1 render tags on the client 2021-02-19 15:31:50 +03:00
Andrew Dolgov d9fe14a012 use template strings in a bunch of places instead of id concatenation 2021-02-19 15:09:53 +03:00
Andrew Dolgov 131f34648d render headline labels on the client 2021-02-19 15:03:48 +03:00
Andrew Dolgov 660a1bbe01 * switch to xhr.post() almost everywhere
* call App.handlerpcjson() automatically on json request (if possible)
 * show net/log indicators in prefs
2021-02-19 13:44:56 +03:00
Andrew Dolgov d26269865f use .closest() instead of .up() to lookup parent by selector 2021-02-19 07:43:05 +03:00
Andrew Dolgov 70fa423026 initial for RIP prototype/scriptaculous 2021-02-18 21:51:18 +03:00
Andrew Dolgov 61fdce4f44 rework previous to be even less jumpy 2021-02-18 15:40:54 +03:00
Andrew Dolgov 2c5927d8cd rework previous to be less jumpy 2021-02-18 15:38:26 +03:00
Andrew Dolgov 2e4b403787 * use es5 (?) default parameter values for some functions
* when moving to next article, try to show hsp if its next
2021-02-18 15:13:41 +03:00
Andrew Dolgov 82adb01307 render enclosures on the client 2021-02-15 14:10:46 +03:00