Skip to content

Conversation

afonsojramos
Copy link
Member

@afonsojramos afonsojramos commented Oct 17, 2023

Alternative to #660, also attempting to fix #624, since enabling colors for existing users is breaking notifications for those without the repo scope.

This PR notifies the user every time that he doesn't have the required scopes and disables colors in case he doesn't. Opted by not logging out to not be too annoying.

Warning: Implementation might not be the best.

@afonsojramos
Copy link
Member Author

A test to validate that it does not allow to disable colors needs to be added, but I need to fix this axios error beforehand

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.

Changes look generally good, just the comments about testing

@afonsojramos afonsojramos merged commit 463c544 into main Dec 8, 2023
@afonsojramos afonsojramos deleted the chore/check-scopes branch December 8, 2023 18:05
@setchy setchy added the enhancement New feature or enhancement to existing functionality label Mar 27, 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.

No New notifications after update to 4.4
3 participants