Repository navigation
bugs: add My Bugs toggle and attachment badges in bugs list - #890
Merged
Merged
Conversation
Document the design for the My Bugs assignee toggle, case-insensitive assignee filtering, and attachment badges for reproducers and proposed fixes in the bugs list view. Signed-off-by: Roman Gushchin <roman@kernel.org>
Add a My Bugs toggle button next to the assignee input in the bugs list filter bar that filters bugs by the signed-in user's login email while preserving existing status, severity, security, and subsystem filters. On the backend, compare bugs.assignee with COLLATE NOCASE when listing or sorting bugs so capitalization differences between login emails and stored assignments never hide assigned bugs, and accept assignee=me on GET /api/bugs for API callers. Signed-off-by: Roman Gushchin <roman@kernel.org>
Expose has_reproducer and has_proposed_fix attachment flags on bug API responses and render clickable reproducer and proposed fix badges in the bugs list view that open the corresponding bug activity tab. Attachment flags aggregate across readable duplicate family members via a single batch query, gate reproducer visibility behind authenticated sessions, and keep merged upstream fix_check commits distinct from proposed fix attachments. Signed-off-by: Roman Gushchin <roman@kernel.org>
Sashiko review✓ No issues found across 3 commits. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Add two UX improvements to the Bugs list view (
/#/,Bugsmode):My Bugstoggle & case-insensitive assignee matching:My Bugstoggle button next to theAssigneefilter input in#bugFiltersthat filters bugs by the signed-in user's login email while preserving active status, severity, security, and subsystem filters, and clears automatically when signing out.bugs.assigneewithCOLLATE NOCASEinDatabase::list_bugsso email capitalization differences between sign-in and stored assignments never hide assigned bugs, and acceptsassignee=meonGET /api/bugsfor API callers.reproducer,proposed fix):has_reproducerandhas_proposed_fixflags onGET /api/bugsandGET /api/bugvia a single batch duplicate-family query (Database::bug_family_attachment_candidates+resolve_bug_attachment_flags), gating reproducer visibility behind authenticated sessions, respecting subsystem read authority across duplicate families (readable_bug_ids), and keeping merged upstreamfix_candidaterecords distinct from proposed fix attachments.reproducerandproposed fixbadges in the Bugs listProblemcolumn linking directly to#/bug/<bugid>?tab=reproducersand#/bug/<bugid>?tab=fixes.Verification
make check-prsashiko review --project sashiko --agent origin/main..HEAD("status": "clean", 0 findings)