forked from getsentry/sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(issue-stream): Refactor issue stream action logic with better typ…
…ing and flexibility (getsentry#65443) Before adding priority to the list of issue actions that remove issues for the stream (getsentry#65212), I wanted to do some cleanup since there is a lot of existing logic here that can be simplified and typed better. Some of the changes: - The "For Review" tab and other issue actions were using separate code paths, I've combined them. This means that `onMarkReviewed` was removed, and the `removeItems` state which was only used by that code path was also removed. - Removed the `actionTakenGroupData` state. Instead of storing that in state, we send it in through the `onActionTaken` callback.
- Loading branch information
Showing
8 changed files
with
435 additions
and
135 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.