Skip to content

Add label filter to Issues Over Time graph#1189

Open
Dipro-cyber wants to merge 1 commit into
oss-aspen:devfrom
Dipro-cyber:issue-254-filter-issues-by-label
Open

Add label filter to Issues Over Time graph#1189
Dipro-cyber wants to merge 1 commit into
oss-aspen:devfrom
Dipro-cyber:issue-254-filter-issues-by-label

Conversation

@Dipro-cyber

Copy link
Copy Markdown
Contributor

Pull Request Change Description

Adds an "Issue Filter" control to the Issues Over Time visualization, allowing users to toggle between viewing all issues or only those tagged with a "bug" label.

Changes:

  • Added a RadioItems control ("All Issues" / "Bugs Only") to the visualization controls
  • Wired it into the callback as a new Input
  • Filters the DataFrame in process_data() on the labels column when "Bugs Only" is selected

Note: This relies on the labels column and issue_labels JOIN added to issues_query in PR #[your #1085 PR number]. Both PRs should be reviewed together or this one merged after that one.

Closes #254

Generative AI disclosure

  • This contribution was assisted or created by Generative AI tools.
    • What tools were used? Kiro (AI-powered dev environment)
    • How were these tools used? Code generation following existing patterns in the codebase
    • Did you review these outputs before submitting this PR? Yes

Adds an 'Issue Filter' RadioItems control to the Issues Over Time
visualization, allowing users to filter between All Issues and Bugs Only.

When 'Bugs Only' is selected, the DataFrame is filtered to issues whose
labels contain 'bug' (case-insensitive) before processing.

This relies on the labels column added to the issues_query cache table
and the LEFT JOIN on issue_labels added to the issues SQL query.

Closes oss-aspen#254
@Dipro-cyber

Copy link
Copy Markdown
Contributor Author

so here we wanted to see the issues tagged as bug. so for that we have created a toggle to filter out bugs label. pr#1085 is also connected with this. @MoralCode sir would you like to give any other suggestion? will this look good as here we have only one filter of bugs.

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.

enhancement: filter issues over time by label

1 participant