Skip to content

Commit 2fbd448

Browse files
authored
fix(release): resolve leftover conflict markers from #6570 backport (#6572)
#6570 landed on release/v0.18.1 with unresolved <<<<<<< markers in EntryShell and entry-layout.css, which broke next build. Keep release docs/comments and i18n badge copy; drop the markers.
1 parent 2dc1376 commit 2fbd448

2 files changed

Lines changed: 0 additions & 24 deletions

File tree

apps/web/src/components/EntryShell.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,8 @@ interface Props {
422422
* vela login-status account/user plan (ACCOUNT-scoped). Used for personal
423423
* workspaces so a confirmed free account is not stuck as campaign audience
424424
* `unknown` while billing summary leaves `membershipTier` empty.
425-
<<<<<<< HEAD
426425
* Must not be applied to team workspaces — team plan comes from workspace
427426
* billing/snapshot (see App `resolvedAmrPlan`).
428-
=======
429-
>>>>>>> caae6a373 (feat(web): localize DeepSeek V4 Flash campaign (19 locales) (#6561))
430427
*/
431428
amrAccountPlan?: string | null;
432429
daemonLive: boolean;
@@ -630,16 +627,12 @@ export function EntryShell({
630627
workspaceContext,
631628
);
632629
const deepSeekCampaignVisibility = useDeepSeekV4FlashCampaignVisibility();
633-
<<<<<<< HEAD
634630
// Same personal-vs-team accountPlan rule as App's `resolvedAmrPlan`: team
635631
// entitlements live on the workspace snapshot, not the login projection.
636632
// Without personal `accountPlan: free`, a no-subscription user keeps
637633
// plan=null after billing settles (empty membershipTier + context
638634
// billingState "active" from lifecycle), audience stays unknown, and the
639635
// home campaign modal never opens — matching product unpaid free users.
640-
=======
641-
// Same personal-vs-team accountPlan rule as App's `resolvedAmrPlan`.
642-
>>>>>>> caae6a373 (feat(web): localize DeepSeek V4 Flash campaign (19 locales) (#6561))
643636
const deepSeekCampaignPlan = resolvePlanLabelTier({
644637
billing: workspaceBilling,
645638
context: workspaceContext,
@@ -1573,13 +1566,10 @@ export function EntryShell({
15731566
lives in the rail footer, and everything below is fixed-position
15741567
or portalled so it occupies no layout space here. */}
15751568
<WhatsNewPopup active={view === 'home'} />
1576-
<<<<<<< HEAD
15771569
{/* Portal to body so the pill is not trapped under
15781570
.workspace-tabs-chrome (z-index 120) — the tabs strip is a
15791571
full-width hit target in that header and was swallowing
15801572
clicks on the top-right badge even after raising its own z-index. */}
1581-
=======
1582-
>>>>>>> caae6a373 (feat(web): localize DeepSeek V4 Flash campaign (19 locales) (#6561))
15831573
{view === 'home'
15841574
&& deepSeekV4FlashCampaignAudience !== 'unknown'
15851575
&& typeof document !== 'undefined'
@@ -1588,17 +1578,10 @@ export function EntryShell({
15881578
type="button"
15891579
className="entry-deepseek-campaign-badge"
15901580
onClick={openDeepSeekCampaignPricing}
1591-
<<<<<<< HEAD
1592-
aria-label="DeepSeek V4 无限免费用,查看官网 Pricing"
1593-
data-testid="deepseek-campaign-pricing-badge"
1594-
>
1595-
<span>DeepSeek V4无限免费用</span>
1596-
=======
15971581
aria-label={t('campaign.deepseekV4Flash.workbenchBadgeAria')}
15981582
data-testid="deepseek-campaign-pricing-badge"
15991583
>
16001584
<span>{t('campaign.deepseekV4Flash.workbenchBadge')}</span>
1601-
>>>>>>> caae6a373 (feat(web): localize DeepSeek V4 Flash campaign (19 locales) (#6561))
16021585
<Icon name="arrow-right" size={13} />
16031586
</button>,
16041587
document.body,

apps/web/src/styles/home/entry-layout.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,12 +1054,8 @@
10541054

10551055
.entry-deepseek-campaign-badge {
10561056
position: fixed;
1057-
<<<<<<< HEAD
10581057
/* Portaled to document.body (EntryShell). Must clear .workspace-tabs-chrome
10591058
(z-index: 120) and stay under campaign modal / dialogs (~1700). */
1060-
=======
1061-
/* Portaled to document.body. Must clear .workspace-tabs-chrome (z-index: 120). */
1062-
>>>>>>> caae6a373 (feat(web): localize DeepSeek V4 Flash campaign (19 locales) (#6561))
10631059
z-index: 150;
10641060
top: 18px;
10651061
right: 22px;
@@ -1082,10 +1078,7 @@
10821078
text-decoration: none;
10831079
cursor: pointer;
10841080
pointer-events: auto;
1085-
<<<<<<< HEAD
10861081
/* Header chrome is -webkit-app-region: drag; keep the pill clickable on desktop. */
1087-
=======
1088-
>>>>>>> caae6a373 (feat(web): localize DeepSeek V4 Flash campaign (19 locales) (#6561))
10891082
-webkit-app-region: no-drag;
10901083
transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
10911084
}

0 commit comments

Comments
 (0)