docspell icon indicating copy to clipboard operation
docspell copied to clipboard

[ui] New items notification not cleared when new items all confirmed

Open madduck opened this issue 2 years ago • 5 comments
trafficstars

The notification at the top of the screen alerts me to new documents:

image

Unless I click it, there is no way to get rid of it. Not even confirming the metadata of all new documents erases the notification. Say I was busy in another window while my colleague processed the new files, coming back to Docspell, I would see the notification, but I would not be able to find any new documents.

Either the notification needs to be cleared for all users when the new documents have been processed, or maybe there's a way to disable it altogether?

madduck avatar Sep 10 '23 14:09 madduck

Similarly, the inbox:yes search tile will still list documents, even after they've been processed. This relates to #2277 I guess.

madduck avatar Sep 10 '23 14:09 madduck

the inbox:yes search tile will still list documents, even after they've been processed

Not sure if I understand: with "processed" do you mean someone clicked the "confirmed" button?

eikek avatar Sep 11 '23 18:09 eikek

the inbox:yes search tile will still list documents, even after they've been processed

Not sure if I understand: with "processed" do you mean someone clicked the "confirmed" button?

Yes, someone clicked the confirm button. Unless I reload the page (why would I?), I still see the document as "new", when it isn't.

Contrast this to the fact that new documents do appear in the list as they appear in the system. So IMHO they should also disappear as their status changes.

madduck avatar Sep 11 '23 18:09 madduck

I see, thanks! Yes - that is more or less the same as #2277

eikek avatar Sep 11 '23 18:09 eikek

You know the UI better than I do, but yes. The header-pane notification area and each search tile should probably subscribe to all events and update themselves if required.

madduck avatar Sep 11 '23 19:09 madduck