Skip to content

Remove "bookmarklet has been updated" alert#197

Closed
bradp wants to merge 1 commit intotsitu:masterfrom
mouseplace:remove-alert
Closed

Remove "bookmarklet has been updated" alert#197
bradp wants to merge 1 commit intotsitu:masterfrom
mouseplace:remove-alert

Conversation

@bradp
Copy link
Contributor

@bradp bradp commented Sep 1, 2022

Right now, every single user gets an alert() fired in their face on the very first visit to any page. The annoyance of that + the fact that the alert does not get triggered when it has been updated means it should just be removed.

@logicalup
Copy link
Collaborator

i think i said the same thing, but it's working as intended? it checks local storage, and if it's out of date, it will show the popup. If it's not out of date, it's not supposed to show the popup. i agree on the annoying side, but maybe a better solution would be to make it not an alert() but a modal?

Copy link
Collaborator

@AardWolf AardWolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just removes the alert entirely, right? Seems like we could add a check to see if localStorage has anything for that storageKey then make the existing code an else if.

But I'm also ok with just removing the alerts.

@mouseplace mouseplace closed this by deleting the head repository Oct 3, 2022
@bradp
Copy link
Contributor Author

bradp commented Oct 3, 2022

:notlikeduck:

Oops I deleted the wrong repo.

bradp added a commit to bradp/MH-Tools that referenced this pull request Oct 3, 2022
@bradp
Copy link
Contributor Author

bradp commented Oct 3, 2022

Please see #208

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.

4 participants