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

Make reset version message visible in dark mode in Javalab #42924

Merged
merged 1 commit into from
Oct 11, 2021

Conversation

bencodeorg
Copy link
Contributor

Realized during today's curriculum sync that it appeared we had no message to students when they are about to reset their project to the template on a project-backed level. Turned out this was only an issue in dark mode, where we were putting white text on a white background.

This change also makes a loading spinner visible that was not visible when you clicked to "Restore" a previous version, and would make an error message visible if we were to get a bad response from the server when fetching versions.

Testing story

Tested manually that the message is now visible in dark mode when you try to reset to the template, and that the loading spinner appears on choosing a previous version. I did not test the error case.

@bencodeorg bencodeorg requested a review from a team October 8, 2021 23:34
Copy link
Contributor

@molly-moen molly-moen left a comment

Choose a reason for hiding this comment

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

🎉

@bencodeorg bencodeorg merged commit bbae32e into staging Oct 11, 2021
@bencodeorg bencodeorg deleted the ben/visible-text-in-project-version-reset branch October 11, 2021 16:41
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