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

refactor: Add a more accessible dropdown menu #12745

Merged
merged 5 commits into from Jul 21, 2021

Conversation

KDSBrowne
Copy link
Collaborator

What does this PR do?

Add's a more accessible / simplified dropdown menu than the current implementation.
new-uli-dropdownmenu
new-uli-dropdownmenu-mobile

Closes Issue(s)

#12573, #12574

@KDSBrowne KDSBrowne marked this pull request as ready for review July 20, 2021 17:33
@antobinary antobinary added this to the Release 2.4 milestone Jul 20, 2021
@sonarcloud
Copy link

sonarcloud bot commented Jul 20, 2021

SonarCloud Quality Gate failed.

Bug C 9 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 174 Code Smells

No Coverage information No Coverage information
9.9% 9.9% Duplication

Copy link
Member

@ramonlsouza ramonlsouza left a comment

Choose a reason for hiding this comment

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

Works as expected!

Comment on lines +21 to +22
//Used to switch to mobile view
const MAX_WIDTH = 640;
Copy link
Member

Choose a reason for hiding this comment

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

We have a helper that could be used here to check for mobile devices instead of checking the window size.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah I saw the utility to check for mobile, the problem with using that helper is that it excludes regular browsers that are resized to mobile sizes.

image

@antobinary antobinary merged commit 7ef3fa0 into bigbluebutton:develop Jul 21, 2021
@antobinary antobinary changed the title Add a more accessible dropdown menu refactor: Add a more accessible dropdown menu Jul 22, 2021
@Jossef-767
Copy link

was this RP tested with RTL layout. ?

@ramonlsouza
Copy link
Member

ramonlsouza commented Jul 26, 2021

was this RP tested with RTL layout. ?

It was not. I just checked it again and released a fix for the issue you created. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants