Skip to content
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: use platform version for github enterprise server feature availability (mark as done) #1424

Merged
merged 10 commits into from
Aug 5, 2024

Conversation

setchy
Copy link
Member

@setchy setchy commented Jul 30, 2024

Alternate approach to #1423

Per the API Docs, Mark as Done not supported in GitHub Enterprise Server 2.12 or older.

This PR fetches the GitHub Enterprise Server version on start and uses this to determine "Mark as Done" feature availability.

Closes #1412

@github-actions github-actions bot added the enhancement New feature or enhancement to existing functionality label Jul 30, 2024
@setchy setchy changed the title feat: mark as done for old github enterprise server instances feat: use platform version for github enterprise server feature availability (mark as done) Jul 30, 2024
@julienperrault
Copy link

As requested, I tested this branch locally: it works perfectly!

@setchy
Copy link
Member Author

setchy commented Aug 1, 2024

As requested, I tested this branch locally: it works perfectly!

Awesome, really appreciate the feedback @julienperrault. We'll get this merged and released shortly

@setchy setchy added this to the Release 5.12.0 milestone Aug 2, 2024
@@ -46,6 +46,7 @@ export type Status = 'loading' | 'success' | 'error';
export interface Account {
method: AuthMethod;
platform: PlatformType;
version?: string;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we should comment this explaining what it is?

@setchy setchy merged commit e25a532 into main Aug 5, 2024
11 of 12 checks passed
@setchy setchy deleted the feat/mark-as-done-server branch August 5, 2024 09:10
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI issue after notification is marked as read
3 participants