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
Andrew Dolgov
9f31381bb6
renderToolbar: support empty data i.e. dashboard feed
2021-02-15 07:46:24 +03:00
Andrew Dolgov
a2e688fcb2
render headline-specific toolbar on the client
2021-02-14 22:17:13 +03:00
Andrew Dolgov
7f0800537e
silence (or fix) a bunch of eslint warnings
2021-02-12 19:02:09 +03:00
Andrew Dolgov
2933483393
add a hack (Headlines.unpackVisible) to workaround against unpack observer sometimes missing articles
2021-01-19 11:54:13 +03:00
Andrew Dolgov
da0ad82c24
Archive cleanup:
...
- remove code to manually archive/unarchive articles
- remove ttrss_archived_feeds/orig_feed_id handling - the whole thing was implemented for
this data to be kept indefinitely; it doesn't make a lot of sense to deal with this stuff
now that it is expired after one month anyway (same reasons as feed browser being removed - privacy)
- remove "originally from"-related stuff because of the above
- also remove unused remaining frontend/backend code related to feed browser (rip)
2021-01-17 14:55:11 +03:00
Andrew Dolgov
25520e9784
Select... dropdown: replace dijit Select with DropDownButton, simplify layout
...
PluginHost: add HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM
Headlines.onActionChanged: removed
2021-01-17 11:27:07 +03:00
Andrew Dolgov
b2993bcd30
remove menu options to manually un/archive articles
2021-01-17 10:37:40 +03:00
Andrew Dolgov
0a6ff72e70
Revert "fix HOOK_ARTICLE_RENDERED_CDM never being called"
...
This reverts commit e3a522cdc1
.
2020-10-21 07:32:30 +03:00
Andrew Dolgov
e3da11bf6d
Revert "somewhat experimental: disable article packing/unpacking, render content immediately"
...
This reverts commit ab53591957
.
2020-10-21 07:19:15 +03:00