selfoss icon indicating copy to clipboard operation
selfoss copied to clipboard

added 'read up to here' button on entries in articleList, moved open utton to top of toolbar (was to close to readuptohere)

Open otdftr opened this issue 6 years ago • 3 comments

a feature I found very useful in NEWSIFY: mark read "up to here" hacked into my v2.18 installation of Selfoss and wanted to share it as a suggested feature

otdftr avatar Feb 03 '19 14:02 otdftr

This is a good idea. This may be an answer to #1021 . As for the code, I would suggest not including history comments in the source and less code duplication (creating selfoss.dbOnline.mark(ids) and selfoss.ui.mark(ids) may help though handling the possible rollback may be tricky). Hopefully I can fix that later if this get accepted.

niol avatar Feb 04 '19 06:02 niol

Feel free to strip comments etc., I included them for peer review only.

otdftr avatar Feb 04 '19 06:02 otdftr

Sorry, forgot to reply here.

I like this idea and occasionally wanted this myself but I wanted to avoid cluttering the interface with more buttons so until we come up with a way to let users customize the buttons (perhaps extend the share config to other buttons as well) I would suggest users to add the snippet to their user.js file and am concerned about the code duplication.

I think selfoss.dbOnline.mark(ids) would be very useful since the markVisibleRead is already beyond tolerable complexity.

jtojnar avatar Jul 13 '20 03:07 jtojnar