-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(issue-details): Display the resolution/archival reason on new UI #83555
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #83555 +/- ##
==========================================
- Coverage 87.53% 87.53% -0.01%
==========================================
Files 9406 9406
Lines 537407 537384 -23
Branches 21163 21157 -6
==========================================
- Hits 470397 470376 -21
+ Misses 66664 66662 -2
Partials 346 346 |
export function renderResolutionReason({ | ||
statusDetails, | ||
project, | ||
organization, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a reason we can't use useOrganization
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't think it was worth refactoring the whole thing to be a hook. I'd have to look at the logic as well to ensure calling useRenderResolutionReason
wouldn't cause issues if the issue wasn't resolved since hooks always need to be called and all that.
Passing a new prop skips all that
Bundle ReportChanges will increase total bundle size by 43.96kB (0.14%) ⬆️. This is within the configured threshold ✅ Detailed changes
|
Though the activity was still present, we stopped showing a banner for reasons associated with a resolution or archival. Those are brought back now alongside the new banner.