Skip to content

Hide the github stars for logged in users #5172

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

Merged

Conversation

DMarby
Copy link
Contributor

@DMarby DMarby commented Sep 12, 2022

Fixes INS-1790

Changelog(Improvements): The GitHub stars count is now hidden when users are logged in

@DMarby DMarby requested a review from a team September 12, 2022 16:09
@DMarby DMarby marked this pull request as ready for review September 12, 2022 16:09

const createSettings = () => {
const settings = models.settings.init();
settings.incognitoMode = true;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is to avoid needing to mock fetch in the github stars component for now.

Copy link
Contributor

@gatzjames gatzjames left a comment

Choose a reason for hiding this comment

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

🔝🚀

Copy link
Contributor

@filfreire filfreire left a comment

Choose a reason for hiding this comment

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

Tested locally, LGTM 👍

@filfreire filfreire force-pushed the feature/ins-1790-hide-github-stars-for-users-that-are branch from 5669f52 to 18d93ab Compare September 13, 2022 10:07
@filfreire filfreire enabled auto-merge (squash) September 13, 2022 10:07
@filfreire filfreire merged commit 09471be into develop Sep 13, 2022
@filfreire filfreire deleted the feature/ins-1790-hide-github-stars-for-users-that-are branch September 13, 2022 10:31
@filfreire filfreire mentioned this pull request Sep 27, 2022
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.

3 participants