Skip to content

Commit

Permalink
Hides pro badge and removes launchpad button text
Browse files Browse the repository at this point in the history
  • Loading branch information
d13 committed Aug 9, 2024
1 parent 78d678b commit f687be8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/webviews/apps/plus/graph/GraphWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import type { DateStyle, GraphBranchesVisibility } from '../../../../config';
import type { SearchQuery } from '../../../../git/search';
import type { FocusCommandArgs } from '../../../../plus/focus/focus';
import type { Subscription } from '../../../../plus/gk/account/subscription';
import { isSubscriptionPaid } from '../../../../plus/gk/account/subscription';
import type {
DidEnsureRowParams,
DidGetRowHoverParams,
Expand Down Expand Up @@ -1253,19 +1254,20 @@ export function GraphWrapper({
className="action-button"
>
<span className="codicon codicon-rocket"></span>
Launchpad
</a>
<span slot="content">
<span style={{ whiteSpace: 'break-spaces' }}>
Launchpad organizes your pull requests into actionable groups to help you focus and
keep your team unblocked
<strong>Launchpad</strong> &mdash; organizes your pull requests into actionable
groups to help you focus and keep your team unblocked
</span>
</span>
</GlTooltip>
<GlFeatureBadge
source={{ source: 'graph', detail: 'badge' }}
subscription={subscription}
></GlFeatureBadge>
{(subscription == null || !isSubscriptionPaid(subscription)) && (
<GlFeatureBadge
source={{ source: 'graph', detail: 'badge' }}
subscription={subscription}
></GlFeatureBadge>
)}
</div>
</div>
{allowed && (
Expand Down

0 comments on commit f687be8

Please sign in to comment.