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

Alerts #136

Merged
merged 2 commits into from May 9, 2020
Merged

Alerts #136

merged 2 commits into from May 9, 2020

Conversation

skhilton
Copy link
Collaborator

@skhilton skhilton commented May 5, 2020

This PR introduces alert fields when a URL fails to load correctly. The alert tells the user to check the URL or check the documentation. The alerts are hidden by default and hide again when a valid URL/datafile is entered.

This PR is rebased with the refactor-polymer-select-dropdown branch.

@skhilton skhilton requested a review from huddlej May 5, 2020 18:50
@skhilton
Copy link
Collaborator Author

skhilton commented May 5, 2020

@huddlej: I am not exactly sure how to phrase the alert messages so any comments you have there would be especially helpful!

Copy link
Collaborator

@huddlej huddlej left a comment

Choose a reason for hiding this comment

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

The alert messages are great and the display on error looks great, too! I pushed a change to use the error alert class ("danger") just to make it clearer to users than something really bad has happened instead of something they could potentially ignore (a warning).

Do you want me to rebase this onto master now that we've merged the protein structure refactor branch?

@skhilton
Copy link
Collaborator Author

skhilton commented May 9, 2020

Great! And yes that sounds good!

skhilton and others added 2 commits May 9, 2020 12:54
Updates the alert class to make it clearer to users than an error has occurred
where the previous colors indicated a warning (something less actionable).
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.

None yet

2 participants