Skip to content

feat(dashboard): add a report an issue link to the account menu - #443

Open
harshtandiya wants to merge 4 commits into
developfrom
feat/432-report-an-issue
Open

feat(dashboard): add a report an issue link to the account menu#443
harshtandiya wants to merge 4 commits into
developfrom
feat/432-report-an-issue

Conversation

@harshtandiya

@harshtandiya harshtandiya commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator
  • Adds a "Report an Issue" row to the account menu.
  • Rebuilds the menu on frappe-ui's Dropdown, so it gets arrow keys and focus containment instead of behaving like a dialog.
  • Log Out now shows a pending state and reports failures instead of failing silently.
  • Fixes the trigger's aria-label, which was hiding the signed-in name from screen readers.

Closes #432

image

claude and others added 3 commits September 7, 2026 21:43
Opens the GitHub new-issue page in a new tab from the account popover,
placed above the Log Out divider so the destructive action stays last.

Closes #432

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016kQ1Dp7xRj9mVNuYGeVYB2
Settings and Log Out carry no leading icon, so an icon on this row alone
left the three menu items with mismatched label alignment.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016kQ1Dp7xRj9mVNuYGeVYB2
The menu was a Popover holding ghost buttons, so it announced itself as a
dialog and had none of a menu's behaviour: no arrow keys, no type-ahead, no
focus containment, and a tab order that ran off the end into the page behind
it. frappe-ui's Dropdown supplies all of that, and the options array is
shorter than the markup it replaces.

Carried over on the way: icons on every row, to match the sidebar items
directly above; a Theme row that keeps the menu open, since a switch-type
option renders outside the menu-item primitive; aria-pressed on the theme
buttons, which were previously only distinguishable by fill; and __() on the
labels, which the rest of the dashboard already had.

Log Out is the one irreversible action in the shell and it ran bare: no
pending state and no error path, so a slow request looked like a dead click
and a failed one was silent. It now disables itself while in flight and the
resource reports a failure.

The trigger's aria-label was overriding its own contents, so a screen reader
never read the signed-in name. An sr-only span names the control instead. The
e2e locator moves to a test id because the settings dialog hides the sidebar
from the accessibility tree while it is open.
@harshtandiya
harshtandiya marked this pull request as ready for review September 8, 2026 06:44
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.

Add "report an issue" buttin in user dropdown linking to github new issue for now

2 participants