GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@subzero79

@subzero79 subzero79 commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Description

This 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.

image image

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 Issue

No related issues

Related Proposal

Wrap 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

Checklist

Please check every item before marking this PR as ready for review. Unchecked items will be flagged during review.

  • I have read the CONTRIBUTING.md in full
  • I agree to the Contributor License Agreement
  • I understand — line by line — every change in this PR and can explain it if asked
  • This PR targets the dev branch
  • Backend: migrations are included if any models were changed
  • Backend: new API endpoints appear correctly in the OpenAPI schema
  • Frontend: ESLint and Prettier pass cleanly (npm run lint, npm run format)
  • Tests are included for new functionality
  • Existing tests still pass
  • No console.log, print(), debug statements, or commented-out code is left in the diff
  • I have not reformatted or refactored code outside the scope of this change

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@subzero79
fix: Allow the user avatar in the sidebar to lift the user form modal
1e170b6
The 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
@dispatcharr-issues-bot dispatcharr-issues-bot Bot added the Triage Issues & PRs pending intake & review label Nov 21, 2026
@dispatcharr-issues-bot

dispatcharr-issues-bot Bot commented Nov 21, 2026

Copy link
Copy Markdown

Pull request received

Thanks for contributing. Please review the contribution guidelines while your pull request is triaged.

Maintainers review pull requests as time allows and may take them in any order. Large or poorly scoped pull requests may take significantly longer to review or be declined.

Keep drafts local until they are actively being prepared for review. Open a pull request only when you intend to carry it through to a merge decision.

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

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

Triage Issues & PRs pending intake & review

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@subzero79
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.