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

Change pending unread notification stack to be a queue #2517

Merged
merged 2 commits into from
Jul 8, 2016

Conversation

courajs
Copy link
Contributor

@courajs courajs commented Jun 26, 2016

Relatively minor, but I noticed it while poking around in the file, and
it started to bother me.

Consider the case where a user launches N1, and has 3 unreads since
their last launch. Additionally, after N1 has launched, they begin
receiving a new mail every 2 seconds.

Current behavior would be a notification for 1 of the 3 unread emails,
then every 2 seconds a notification for the most recently received mail.
They would only finally receive notifications for the other 2 original
messages once they stopped getting new mail.

It always takes me a second to read a double negative, and be sure I
understood correctly. It's also particularly troublesome for non-native
English speakers.
Consider the case where a user launches N1, and has 3 unreads since
their last launch. Additionally, after N1 has launched, they begin
receiving a new mail every 2 seconds.

Current behavior would be a notification for 1 of the 3 unread emails,
then every 2 seconds a notification for the most recently received mail.
They would only finally receive notifications for the other 2 original
messages once they stopped getting new mail.
@bengotow
Copy link
Contributor

bengotow commented Jul 8, 2016

Hi @courajs — thanks for submitting this. Looks great! Definitely better to have different subject lines for each email in those tests. Thanks—

@bengotow bengotow merged commit 7d66cdb into nylas:master Jul 8, 2016
@courajs courajs deleted the notification-queue branch July 11, 2016 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants