-
Notifications
You must be signed in to change notification settings - Fork 6
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
first web app on founders site #21
base: master
Are you sure you want to change the base?
Conversation
it was out of scope
This fixes the problem that cordova overrides the window.open function which makes it stop working in the iOS mobile browser environment
move to more standard localStorage (can someone test in the native mobile apps?) and improve management of the tokens for the edge cases where the ajax request was not returning a proper token but error values
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Notifications on app load are hiding the buttons when the application loads. I would suggest removing them, as they're not adding anything.
app.getOAuthToken(); | ||
} else { | ||
app.token = storedToken; | ||
app.showNotification("Found local slack auth token: "+app.token); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't notify the user when things are working as expected. Furthermore, this notification is too large and hides the buttons when the application opens. I suggest removing it.
}); | ||
}); | ||
|
||
app.initiateSlackAuth(); | ||
app.showNotification("Device ready"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also recommend removing this notification, for the same reasons as above.
making it workable on a browser platform