feat: tweaks to working

This commit is contained in:
AdenMGB committed 2026-09-01 18:08:41 +09:30
1 parent 9dfe38a483
commit 545069aa88
5 files changed
+9 -11

No files matched your search

+3 -4
View File
@@ -174,9 +174,8 @@
};
const founderBadgeSetting = {
title: "Titlebar Founder Badge",
description:
"Show your BetterSEQTA Cloud founder badge next to your name in the SEQTA titlebar",
title: "Titlebar founder badge",
description: "Show your Cloud founder badge in the SEQTA titlebar",
} as const;
const showCloudCardHeader = $derived(
@@ -270,7 +269,7 @@
</div>
{:else if showFounderBadgeSetting}
<div class="px-5 pb-4 text-sm text-zinc-600 dark:text-zinc-400">
Sign in to BetterSEQTA Cloud to manage your titlebar founder badge.
Sign in to Cloud first.
</div>
{/if}
</div>
@@ -31,7 +31,7 @@ function renderBadgeChip(
const chip = slot.querySelector<HTMLButtonElement>(".bsplus-founder-badge");
if (!chip) return;
chip.setAttribute("aria-label", `${badge.label} — linked to your BetterSEQTA Cloud account`);
chip.setAttribute("aria-label", `${badge.label}, click for details`);
chip.addEventListener("click", () => openFounderBadgeModal(badge, signupNumber));
}
@@ -53,14 +53,13 @@ export function openFounderBadgeModal(
<div class="whatsnewTextContainer bsplus-founder-badge-body" style="overflow-y: auto;">
<p>${esc(tier.description)}</p>
<p>
This badge is linked to your BetterSEQTA Cloud account at
Linked to your BetterSEQTA Cloud account at
<a href="${ACCOUNTS_URL}" target="_blank" rel="noopener noreferrer">accounts.betterseqta.org</a>.
Your signup order is based on when you created your Cloud account and stays with you wherever you're signed in — including BetterSEQTA+.
</p>
${signupLine}
<div class="bsplus-founder-badge-actions">
<button type="button" id="bsplus-founder-badge-settings-link" class="bsplus-cal-btn bsplus-cal-btn--ghost">
Open in BetterSEQTA+ settings to hide this badge
Hide in settings
</button>
<button type="button" id="bsplus-founder-badge-dismiss" class="bsplus-cal-btn bsplus-cal-btn--primary">
Got it
@@ -1,7 +1,7 @@
import { requestSettingsDestination } from "@/seqta/utils/settingsNavigation";
import { openSettingsPopup } from "@/seqta/utils/setupSettingsButton";
const FOUNDER_BADGE_SETTING_SEARCH = "Titlebar Founder Badge";
const FOUNDER_BADGE_SETTING_SEARCH = "Titlebar founder badge";
/** Open BetterSEQTA+ settings on the titlebar founder badge toggle. */
export async function openFounderBadgeSettings(): Promise<void> {
+2 -2
View File
@@ -26,7 +26,7 @@ export const BADGE_TIERS = [
label: "Founding Member",
threshold: 50,
rankLabel: "Top 50",
description: "One of the first 50 Cloud members — an early supporter of BetterSEQTA.",
description: "One of the first 50 Cloud members, early supporter of BetterSEQTA.",
base: "#0c4a6e",
blobs: ["rgba(2,132,199,0.5)", "rgba(13,148,136,0.44)", "rgba(56,189,248,0.36)"],
icon: "star",
@@ -76,7 +76,7 @@ export const BADGE_TIERS = [
label: "Founding Cloud",
threshold: 2500,
rankLabel: "Top 2,500",
description: "One of the first 2,500 Cloud members — part of the founding generation of BetterSEQTA Cloud.",
description: "One of the first 2,500 Cloud members.",
base: "#713f12",
blobs: ["rgba(245,158,11,0.52)", "rgba(234,179,8,0.46)", "rgba(252,211,77,0.4)"],
icon: "fire",