Skip to content

gsapp: remove use of linkStyles #94628

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
merged 2 commits into from
Jul 1, 2025
Merged

gsapp: remove use of linkStyles #94628

merged 2 commits into from
Jul 1, 2025

Conversation

JonasBa
Copy link
Member

@JonasBa JonasBa commented Jun 30, 2025

Fix the last remaining issue of linkStyle export which is blocking CI on #94600

Before
CleanShot 2025-06-30 at 13 40 29@2x
After
CleanShot 2025-06-30 at 13 43 22@2x

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jun 30, 2025
@JonasBa JonasBa changed the title core: move links under components/core gsapp: remove use of linkStyles Jun 30, 2025
cursor[bot]

This comment was marked as outdated.

@@ -104,9 +104,13 @@ class PowerFeatureHovercard extends Component<Props> {
? t('Better With %s Plan', planName)
: t('Requires %s Plan', planName)}
</div>
<LearnMoreLink onClick={this.handleClick} data-test-id="power-learn-more">
<ExternalLink
Copy link
Member

Choose a reason for hiding this comment

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

Should it be LinkButton with priority link lol

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, but it also falls into the problem that our links allow empty hrefs (both via props and implicitly via disabled field). I'm going to see if we can just make this use a button, it looks like we might want a stronger CTA anyways.

Copy link
Member Author

Choose a reason for hiding this comment

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

I've went ahead and changed this to use a button + the lightning icon
CleanShot 2025-06-30 at 14 35 06@2x

@JonasBa JonasBa merged commit ebc7a1c into jb/core/link Jul 1, 2025
42 checks passed
@JonasBa JonasBa deleted the jb/gsapp/link branch July 1, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants