Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show unread mail count on folders #234

Closed
mpfau opened this issue Jan 3, 2018 · 14 comments
Closed

show unread mail count on folders #234

mpfau opened this issue Jan 3, 2018 · 14 comments
Labels
new feature user stories in varying refinement states
Milestone

Comments

@mpfau
Copy link
Contributor

mpfau commented Jan 3, 2018

No description provided.

@mpfau mpfau added this to the Roadmap milestone Jan 3, 2018
@armhub armhub added the new feature user stories in varying refinement states label Jan 4, 2018
@armhub armhub added this to Planned in Roadmap refinement Jan 4, 2018
@x80486
Copy link

x80486 commented Aug 8, 2018

Hello there! Are there any updates on this one?

@charlag
Copy link
Contributor

charlag commented Aug 9, 2018

@x80486 not yet, sorry, we really want them but we're quite busy with other things now. We will mention this once we start working on it. Thanks for the patience.

@vladimiry
Copy link

email-securely-app desktop app is going to get this feature supported, see work in progress demo here.

@charlag
Copy link
Contributor

charlag commented Sep 7, 2018

@vladimiry this looks very interesting! Any chance of merging parts of it to the Tutatnota itself?

@vladimiry
Copy link

@charlag that's a desktop app which keeps all the messages/folders/contacts in a local database (in-memory first, with dumping to the encrypted file), fetching is done in an incremental way consuming an event batch updates, similar to how for example mails indexer does it in this project. And that's why app is capable to get the unread counters for all the folders, it basically derives the counters form the local database. So that app works side by side with and in background of a web client enhancing user experience on the desktop. I don't think this would be an exact way to go for the web client, since it's intended to be used just in a browser, ie without Electron/Node.js backup. But technically it's, of course, doable for example to consume the even batch updates in web client, but store only the unread values per folder not overflowing a limited in-browser storage space.

@charlag
Copy link
Contributor

charlag commented Sep 7, 2018

@vladimiry thanks for validating my assumptions
Browser storage is not a problem in most cases, you can store GBs of data. Storing whole database in browser is not very secure and that's a real concern. Your proposal with counters makes sense but it will not be accurate unless for the new log-ins, is that correct?
We had an idea of storing counters on the server side and updating them on the client

@vladimiry
Copy link

Your proposal with counters makes sense but it will not be accurate unless for the new log-ins, is that correct?

Not sure I got this question right. When a user gets logged in app makes sure that missed event batches got handled, see this iteration. Plus there is a logic that listens on the batch updates stream and reacts accordingly, so app could get live updates, see this observable.

We had an idea of storing counters on the server side and updating them on the client

In my opinion, this is how it's supposed to work in most of the cases. Would be great if you go this way, so there will be no need in workarounds/hacks, but simply listening for new values on the stream. Currently used even batch like scenario also works. So desktop/web client gets an "unread"-like EventUpdate, then reacts to it getting the corresponding entity which contains the unread values for all the folders.

@vladimiry
Copy link

If someone wants to try it in action, I just published the first beta of a desktop app with the enabled feature of showing unread count on each folder.

@snaggen
Copy link

snaggen commented Dec 28, 2018

@vladimiry I'm using the official beta, and I haven't seen any unread counters as far as I can remember. Do I need to do anything special to get unread counters on folders, or is it not included in the official beta?

@vladimiry
Copy link

vladimiry commented Dec 28, 2018

@snaggen counters for each folder feature is enabled in database view mode, so you need to enable the local store feature, see here how. The most recent app version is final v2 release.

If you were about enabling counters for the online/official Tutanota's UI, I believe it might be possible with local store feature enabled. You can open respective issue here https://github.com/vladimiry/email-securely-app if you want. The issue won't get a hight priority though but won't be forgotten.

@snaggen
Copy link

snaggen commented Dec 28, 2018

@vladimiry Ok, I didn't realize that you were talking about some unofficial client... for this kind of security sensitive applications, I try to keep to the official clients.

@vladimiry
Copy link

@snaggen you need to wait for a while then, I believe the official client is going to catch up with unofficial one.

@andy5995
Copy link

Just wanted to reference the uservoice topic for this issue...

@charlag
Copy link
Contributor

charlag commented Jan 21, 2019

We're working on counters, so stay tuned!

@ganthern ganthern modified the milestones: Roadmap, Next release Jan 28, 2019
@charlag charlag closed this as completed Jan 28, 2019
@charlag charlag moved this from Archive to Done in Roadmap refinement Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature user stories in varying refinement states
Projects
None yet
Development

No branches or pull requests

8 participants