Githawk: Warn that signing out removes bookmarks

Created on 3 Mar 2018  Âˇ  12Comments  Âˇ  Source: GitHawkApp/GitHawk


Bug Report Dump (Auto-generated)

Version 1.19.0 (1519713428)
Device: iPhone X (iOS 11.2.5)
TestFlight: true

🆕 feature request

Most helpful comment

I'm not sure what's so bad about keeping them around tbh? We don't need to hold a reference to the user per-sè rather the name of the bookmarks file (where it's saved) should be the same irrespective of the logged in state

If I have a file stored on the device as "Bookmarks-Sherlouk" then I sign in as a different account, I wouldn't see them. but if I logged back in as Sherlouk, I would see it once again - this only fails if it's based on a per-session ID which I don't think it should be?

Probs missing something

All 12 comments

Should we just put some copy in the logout message to the effect of "all your stuff will be gone"?

Sounds like a good idea.

@rnystrom I don’t understand.. why removing the bookmarks in logout? 😔

It’s a bit confusing that “recent search” results are not cleared in logout, while bookmarks are. 🤔

Sent with GitHawk

Probably because we do not link recent searches to a user. Should we?

Sent with GitHawk

That means they would be removed upon logout as well, though.

Sent with GitHawk

@BasThomas why not leaving bookmarks and “recent searches” in there after a logout?

Sent with GitHawk

So right now bookmarks will be lost, but recent searches won’t. Bookmarks are tied to a user (which you log out off), recent searches are global.

The reason for not “leaving” bookmarks at that point is that if we wanted to do so, we’d have to also keep a reference to the user, which wouldn’t be ideal.

Sent with GitHawk

Probably fine to nuke searches too, not too offended by it tho

Sent with GitHawk

I'm not sure what's so bad about keeping them around tbh? We don't need to hold a reference to the user per-sè rather the name of the bookmarks file (where it's saved) should be the same irrespective of the logged in state

If I have a file stored on the device as "Bookmarks-Sherlouk" then I sign in as a different account, I wouldn't see them. but if I logged back in as Sherlouk, I would see it once again - this only fails if it's based on a per-session ID which I don't think it should be?

Probs missing something

That would work, just not a big fan of dangling information.

Also, although I don't think we'd have to worry about it, you can change your GitHub name and then we'd lose the connection to those files.

Definitely a valid point, so rather than the username it _could_ be something else like the user ID - though I think this is so much of an edge-case that I think we're okay to just deal with it? If that's the only circumstance you lose your data, I think that's fair

I also don't think dangling info is too bad here, i get what you're saying in principle but the data is so trivial/small and can be cleaned completely with a super quick reinstall I don't think it's an issue

Though I'm happy to leave this to other people to decide, but IMO I wouldn't want to lose the data!

Just signed out to sign in using Personal Access Tokens... lost all my bookmarks 😡

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BasThomas picture BasThomas  Âˇ  3Comments

rnystrom picture rnystrom  Âˇ  3Comments

Iron-Ham picture Iron-Ham  Âˇ  3Comments

weyert picture weyert  Âˇ  3Comments

rizwankce picture rizwankce  Âˇ  3Comments