mail icon indicating copy to clipboard operation
mail copied to clipboard

Show placeholder if there are no messages in folder

Open marbetschar opened this issue 2 years ago • 6 comments

Problem

Right now there is no placeholder image or indication that a folder contains no messages:

Screenshot from 2021-09-25 11-54-33

Proposal

We should display some sort of placeholder, so the user does not think this is due to an error. In case we are dealing with the inbox folder it would be even nicer to show some rewarding thing which celebrates the fact that there is "nothing to do".

Prior Art

Seen this "Yay, you're all done :partying_face:" in quite a lot of different places. Despite, I'm still a little proud of myself every time I get to see this :) Here's just one example of what GitHub does:

Screenshot from 2021-09-25 12-01-44

marbetschar avatar Sep 25 '21 10:09 marbetschar

@marbetschar I'm in favor of an AlertView here or something, but I want to double-check, is this sometimes blank when there are just no mails fetched, but we're expecting to show some? It would be awkward on first set-up to have something cheeky like

:tada: Inbox Zero! There are no messages here. You’ve achieved inbox zen.

…just to throw a bunch of mails in their face in a second :sweat_smile:

cassidyjames avatar Sep 29 '21 17:09 cassidyjames

To be less cheeky, we could do an AlertView as simple as:

:heavy_check_mark: No Messages If you’re expecting something, try fetching new messages.

cassidyjames avatar Sep 29 '21 17:09 cassidyjames

Sounds good to me 👍

marbetschar avatar Sep 29 '21 22:09 marbetschar

Also when the last message in the folder is deleted, this placeholder should be displayed as well, instead of keeping the last selected message content in the view pane.

Wasn't sure if I should report this here or as a new issue so just let me know if you want me to go with the second option.

Thanks.

casasfernando avatar Nov 03 '21 08:11 casasfernando

@casasfernando that sounds like a separate issue. Could you indeed open another report for that? :)

danirabbit avatar Nov 04 '21 18:11 danirabbit

Sure @danrabbit, will do.

Thanks.

casasfernando avatar Nov 04 '21 18:11 casasfernando