Flym icon indicating copy to clipboard operation
Flym copied to clipboard

When "hide read" is selected, the read entries disappear from the list views abruptly

Open mhuhtala opened this issue 12 years ago • 3 comments

This was discussed in a pull request earlier.

HoloAddict:

Currently every update of the list is automatically done by the database framework. This is why it disappears immediately.

What I would like to do, in the future, is to always keep the same list without removing the read item and show a "the list has been updated" button to refresh the view when an update occurred (this means keep the loader but do not give the cursor to the list immediately).

This would allow me to keep the list stable when you see it: no continuous refresh of the list when you navigating thought it and no more "mark all as read" which accidentally mark as read a new unread entry.

I think it's the best solution but this will need quite lot of work to work as expected. What do you think of it?

That seems like a good approach to me, apart from the fact that a second refresh button seems a bit clunky. It occurred to me that the IS_READ boolean in the database could be replaced with an integer that would hold a timestamp of the moment the entry was labeled as read. The EntriesList fragment could then only hide the entries that were read before the last refreshUI() call. That way, visiting EntryView would not hide the entry from the list, but opening and closing the drawer would. The change to the code would be relatively simple, but it would alter the schema of the entries table. Of course, the problem of accidentally marking newly added entries as read would remain.

mhuhtala avatar Jan 20 '14 05:01 mhuhtala

I understood your point and your solution is quite clever, but I'm afraid that having read and unread entries mixed in the same list when you enabled the "hide read entries" is confusing.

From my point of view, seeing the entry disappearing is a kind of feature (I read it, I do not want to see it again into this list) and I prefer to solve the refreshed list stability issue.

What others are thinking about it?

FredJul avatar Jan 26 '14 22:01 FredJul

having read and unread entries mixed in the same list when you enabled the "hide read entries" is confusing.

True.

seeing the entry disappearing is a kind of feature

Agreed, and I never thought seeing an entry disappear is the problem, in the contrary, I think the disappearance should be slower and more visible. Not seeing the entry go is what feels a bit jarring. When you come back from the entry view to the list view, and the read entries are all gone, it feels a bit like a rug has been pulled from under your feet, and there's no way to get back to the entry view if you exited by mistake. I find myself toggling the "hide read" button to get back, and then I have to deal with a long list of read entries.

That said, I've now used FeedEx long enough that the current behaviour is growing on me, and this feels less and less like a problem.

mhuhtala avatar Jan 27 '14 08:01 mhuhtala

27.01.2014 4:27 ÐÏÌØÚÏ×ÁÔÅÌØ "HoloAddict" [email protected] ÎÁÐÉÓÁÌ:

From my point of view, seeing the entry disappearing is a kind of feature What others are thinking about it? Agreed if a floating UNDO button will appear ;-)

ildar avatar Jan 27 '14 16:01 ildar