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

first web app on founders site #21

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

first web app on founders site #21

wants to merge 4 commits into from

Conversation

skyhorse
Copy link
Member

@skyhorse skyhorse commented Aug 5, 2016

making it workable on a browser platform

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
Copy link

@tiagoboldt tiagoboldt left a 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);

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");

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.

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.

2 participants