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

Fix four UI issues (#434) #435

Merged
merged 6 commits into from
Jun 19, 2023

Conversation

ssciolla
Copy link
Contributor

This PR aims to resolve #434. See issue for details on the regressions or problems this resolves.

@ssciolla ssciolla added 🦟 bug Something isn't working front end Involves changes to the front end (React) application and/or UI accessibility Involves changes intended to improve accessibility labels Jun 19, 2023
@ssciolla ssciolla requested review from jonespm, zqian and pushyamig June 19, 2023 17:39
@pushyamig
Copy link

I am review now

allowedBackends={new Set(props.queue.allowed_backends)}
onChange={props.onChangeBackend}
selectedBackend={props.selectedBackend}/>
<Row>
Copy link
Member

@jonespm jonespm Jun 19, 2023

Choose a reason for hiding this comment

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

Do you think the col-lg on line 372 might also be an issue and need to be updated?

Copy link
Contributor Author

@ssciolla ssciolla Jun 19, 2023

Choose a reason for hiding this comment

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

It's not an issue per se, but it's an instance of the direct Bootstrap class usage I've tried to move away from. Actually, this column turned out to be not needed, since it's not part of a larger grid structure (other Rows or Cols). Since this was the last instance of direct Bootstrap class usage in the module, I went ahead and removed it and used an Alert component there. It does have one side effect of setting role="alert", which makes it pretty noisy for screenreaders, but we're using Alert for other usages on the page. I could see setting role={undefined} for the SMS and management alerts, but they are conditional as well. Going to stick with the out-of-the-box Alert for now. 27c1109

Copy link

@pushyamig pushyamig left a comment

Choose a reason for hiding this comment

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

Working as expected

@ssciolla ssciolla merged commit d29d1ef into tl-its-umich-edu:master Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Involves changes intended to improve accessibility 🦟 bug Something isn't working front end Involves changes to the front end (React) application and/or UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix UI issues
3 participants