Navigation Menu

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

Favicon unread count #267

Merged
merged 3 commits into from Jan 19, 2017
Merged

Favicon unread count #267

merged 3 commits into from Jan 19, 2017

Conversation

karpiu
Copy link
Contributor

@karpiu karpiu commented Jan 19, 2017

Fixes #211

Feedback appreciated.

@@ -31,6 +31,47 @@ function getMarkedOrCurrentRows() {
return hasMarkedRows() ? getMarkedRows() : getCurrentRow()
}

function updateFavicon() {
console.log("update")

This comment was marked as spam.

This comment was marked as spam.

@andrew
Copy link
Member

andrew commented Jan 19, 2017

Since we're using turbolinks and effectively refreshing the page every time, could we just embed the unread count in the page and read it from there instead of making an Ajax call?

@karpiu
Copy link
Contributor Author

karpiu commented Jan 19, 2017

@andrew some actions does not reload page, like "mark as unread". We would still like to show the change in the favicon after this action immediately (at least I would be expecting such behaviour).

@andrew
Copy link
Member

andrew commented Jan 19, 2017

Ok cool, LGTM then 👍

@tarebyte tarebyte merged commit 3157f8e into octobox:master Jan 19, 2017
@tarebyte
Copy link
Contributor

Thanks @karpiu!

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

3 participants