Skip to content

Conversation

setchy
Copy link
Member

@setchy setchy commented Feb 26, 2024

Closes: #813

Uses the GraphQL API to fetch the Discussion stateReason

Screenshot 2024-02-27 at 6 58 00 AM

@setchy setchy added the enhancement New feature or enhancement to existing functionality label Feb 26, 2024
@setchy setchy marked this pull request as draft February 26, 2024 14:41
@setchy setchy marked this pull request as ready for review February 26, 2024 15:36
@setchy
Copy link
Member Author

setchy commented Feb 26, 2024

In a separate PR, i think it would be wise to move all of this state enrichment logic out of hooks/useNotifications and into a separate file.

@setchy setchy requested a review from bmulholland February 27, 2024 16:40
Copy link
Collaborator

@bmulholland bmulholland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good for now -- thanks for the followup ideas!

@setchy setchy merged commit 73d0077 into gitify-app:main Feb 29, 2024
@setchy setchy deleted the feature/discussion-state-types branch February 29, 2024 16:39
adufr pushed a commit to adufr/gitify that referenced this pull request Mar 25, 2024
* feat: support discussion states

* refactor graphql search interface to be generic.

* refactor mocks out
@setchy setchy added this to the Release 5.0.0 milestone Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement to existing functionality
Development

Successfully merging this pull request may close these issues.

feature: support for all discussion types (open, closed, duplicate, outdated)
2 participants