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

Richardgu/edit roles bug #764

Merged
merged 2 commits into from
Oct 23, 2023
Merged

Richardgu/edit roles bug #764

merged 2 commits into from
Oct 23, 2023

Conversation

rgu0114
Copy link
Contributor

@rgu0114 rgu0114 commented Oct 22, 2023

Summary

This PR addresses a bug with the edit role dropdown for the TA role selected, where much of the component is cut off on the right side.

image

To address this, we change the Dropdown component to open to the left instead of to the right.

Test Plan

The Dropdown is no longer getting cut off after this change

Screen Shot 2023-10-22 at 12 42 02 AM

Notes

Note that for the other roles (student and professor), the Dropdown appears slightly to the left from where it was previously

Screen Shot 2023-10-22 at 12 42 33 AM Screen Shot 2023-10-22 at 12 43 01 AM

Documentation

Note on the rationale for the exact fix

  • I have updated the documentation accordingly.
  • My PR adds a @ts-ignore

@rgu0114 rgu0114 requested a review from a team as a code owner October 22, 2023 04:43
@rgu0114 rgu0114 changed the base branch from master to release October 22, 2023 04:46
@dti-github-bot
Copy link
Member

[diff-counting] Significant lines: 30.

Copy link
Contributor

@erin-xu erin-xu left a comment

Choose a reason for hiding this comment

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

Nice work, Richard! I verified that the dropdown is no longer cut off.

@burninglilies burninglilies merged commit a760d23 into release Oct 23, 2023
3 checks passed
@burninglilies burninglilies deleted the richardgu/edit-roles-bug branch October 23, 2023 07:40
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.

4 participants