GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — fix: Allow the user avatar in the sidebar to lift the user form modal by subzero79 · Pull Request #2008 · Dispatcharr/Dispatcharr Conversation
Contributor
DescriptionThis PR enables the user avatar visible in at the bottom on the sidebar to be clicked and show the user form modal when the sidebar is collapsed.
ATM every single button in the sidebar has an action or navigate to route when the sidebar is collapsed or not, except for the user one. Related IssueNo related issues Related ProposalWrap the Avatar component with an UnstyledButton component, assign setUserForm(true) fn to onClick event handler where the user sidebar item is collapsed How was it tested?This was tested visually that the avatar icon actually is actionable and lifts the user form modal. Also a test was added to Sidebar.test.jsx to ensure the appropiate event handler is called when clicked and the sidebar is collapsed ChecklistPlease check every item before marking this PR as ready for review. Unchecked items will be flagged during review.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe current code takes out of the dom the button to call setUserFormOpen(true) and show the user form modal when the sidebar is collapsed A new test was added to ensure click on the avatar calls the required event handler when the sidebar is collapsed
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
Triage
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |