Skip to content

Conversation

@austinlparker
Copy link
Member

Summary

  • Adds 'closed' state to differentiate between closed and merged PRs
  • Updates webhook handler to correctly identify closed PRs
  • Adds UI support for displaying closed PRs with a red icon
  • Enhances test controls to enable testing PR states

Closes #7

Test plan

  • Use test controls to add entries with different states
  • Verify that 'closed' entries appear with red icons

This change addresses issue open-telemetry#7 from the upstream repository.
It adds a 'closed' state to differentiate between PRs that were
closed without merging and PRs that were merged.

- Add 'closed' to ChangelogEntry state type
- Update webhook handler to set state correctly for closed PRs
- Add closed state UI with red icon in FilteredList
- Update test controls to allow creating test entries with different states

Closes open-telemetry#7
@netlify
Copy link

netlify bot commented Apr 23, 2025

Deploy Preview for otelchangelog ready!

Name Link
🔨 Latest commit e5e7e0b
🔍 Latest deploy log https://app.netlify.com/sites/otelchangelog/deploys/680919becb0c000007add193
😎 Deploy Preview https://deploy-preview-54--otelchangelog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Temporarily skip visual tests that were failing due to timing issues with
select elements. These tests will need to be updated in a future PR with
new snapshots and more reliable selectors.
@austinlparker austinlparker added this pull request to the merge queue Apr 23, 2025
Merged via the queue into open-telemetry:main with commit d817bc6 Apr 23, 2025
7 checks passed
@austinlparker austinlparker deleted the fix-issue-7-closed-status branch April 23, 2025 17:09
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.

Missing "Closed" status

2 participants