Skip to content

ux: allow to deselect selected author in Statistics window - #2751

Merged
love-linger merged 1 commit into
sourcegit-scm:developfrom
JC-Chung:ux/statistics-author-deselect
Sep 29, 2026
Merged

love-linger merged 1 commit into
sourcegit-scm:developfrom
JC-Chung:ux/statistics-author-deselect

Conversation

@JC-Chung

Copy link
Copy Markdown
Contributor

Summary

In the Statistics window, once a contributor is selected in the author list, there is no way to deselect them and return to the all-authors view.

This PR changes the author ListBox to SelectionMode="Toggle", so clicking the selected author deselects it — consistent with the pie chart's click-to-deselect behavior introduced in 3c4dd30.

Alternative approach

A more explicit variant exists on feat/statistics-all-authors, which adds an "All Authors" button above the list instead. That branch is kept for reference in case an explicit UI entry point is preferred over the toggle interaction.

@love-linger

Copy link
Copy Markdown
Collaborator

You can hold Ctrl to de-select

@love-linger love-linger self-assigned this Sep 29, 2026
@love-linger love-linger added the enhancement New feature or request label Sep 29, 2026
@love-linger
love-linger merged commit be90759 into sourcegit-scm:develop Sep 29, 2026
14 checks passed
@JC-Chung
JC-Chung deleted the ux/statistics-author-deselect branch September 29, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants