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

do not toast if user has logged out #4

Open
poundifdef opened this issue Mar 6, 2011 · 8 comments
Open

do not toast if user has logged out #4

poundifdef opened this issue Mar 6, 2011 · 8 comments

Comments

@poundifdef
Copy link
Owner

If a user specifically presses the "log out" button, it means that they do not want the app automatically doing updates or showing toast messages. We should keep track of whether the cache was invalidated because the user pressed "log out" or for some other reason - and if it is the former, make the app as non-invasive as possible

@drfloob
Copy link
Contributor

drfloob commented Mar 6, 2011

Setting the cache prefs outgoingCallPrefTitle and incomingCallPrefTitle to false on logout would take care of that. But what do you think about restoring those settings after successful login?

@poundifdef
Copy link
Owner Author

I think a better way would be to keep another pref, along the lines of hasManuallyLoggedOut. That gives the app the flexibility to behave differently depending on the user's intention - "NO I don't want you to save my login information so stay out of my way." (This is in response to feedback I have gotten on the app, and a legitimate concern - I get emails every week asking whether I do funny business with their login information.)

@drfloob
Copy link
Contributor

drfloob commented Mar 6, 2011

Also, out of curiosity, what's the use case for the Logout button? I can't think of a reason I'd want to use it, but I imagine someone might ...

@drfloob
Copy link
Contributor

drfloob commented Mar 6, 2011

re: funny business: that was my question, too :) Open source for the win.

@poundifdef
Copy link
Owner Author

The use case is primarily for people who want to remove their login information from the phone. This gives users full control of whether or not their personal information is saved - which is unnerving for both paranoid developer-types and people who have a healthy skepticism about giving apps their personal information properly.

Not everybody will have the inclination or expertise to trawl through the source code - so I think it's important to demonstrate that our app is trustworthy by allowing them to invalidate the cache.

Plus: I think as the app gains more features (I received a patch for a quick-and-dirty widget), "Sign out" will really double as a "disable this app" function for people who spend a lot of time trying to conserve memory (though I don't think there's much evidence that manually managing those settings helps a whole lot) or don't want to deal with $feature for whatever reason.

@drfloob
Copy link
Contributor

drfloob commented Mar 6, 2011

Re reasons for logout: That makes sense, thanks for the explanation.

hasManuallyLoggedOut++. good idea.

Re the widget patch: awesome. can't wait to see it.

@gurchik
Copy link

gurchik commented Apr 18, 2012

@poundifdef This has been dead for over a year, am I correct in thinking this should be Closed FIXED?

@poundifdef
Copy link
Owner Author

Huh, can't believe it's been a year. The current iteration of the app does some fancy caching, but I don't think it disables toasts if the user has logged out (will need to check, though.)

There is currently a rewrite underway - now that we have a handle on exactly what issues this app faces, we can architect something better. If you're interested in contributing, I can put something on the wiki (or write you a note) for how to contribute to that branch.

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

No branches or pull requests

3 participants