chore: change product branding from Alpha to Beta (#20032)

This commit is contained in:
Julius Marminge authored and GitHub committed 2026-10-15 21:32:24 +00:00
1 parent f798cb299a
commit 81493efb71
12 files changed
+21 -16

No files matched your search

+1 -1
View File
@@ -42,5 +42,5 @@
"tailwindcss": "^4.0.0",
"vite-plus": "catalog:"
},
"productName": "T3 Code (Alpha)"
"productName": "T3 Code (Beta)"
}
+1 -1
View File
@@ -15,7 +15,7 @@ const repoRoot = NodePath.resolve(desktopDir, "..", "..");
const devBundleIdSuffix = NodePath.basename(repoRoot)
.toLowerCase()
.replaceAll(/[^a-z0-9]+/g, "");
const APP_DISPLAY_NAME = isDevelopment ? "T3 Code (Dev)" : "T3 Code (Alpha)";
const APP_DISPLAY_NAME = isDevelopment ? "T3 Code (Dev)" : "T3 Code (Beta)";
const APP_BUNDLE_ID = isDevelopment
? `com.t3tools.t3code.dev.${devBundleIdSuffix || "local"}`
: "com.t3tools.t3code";
@@ -217,8 +217,8 @@ describe("DesktopAppIdentity", () => {
const identity = yield* DesktopAppIdentity.DesktopAppIdentity;
yield* identity.configure;
assert.deepEqual(calls.setName, ["T3 Code Alpha"]);
assert.equal(calls.setAboutPanelOptions[0]?.applicationName, "T3 Code (Alpha)");
assert.deepEqual(calls.setName, ["T3 Code Beta"]);
assert.equal(calls.setAboutPanelOptions[0]?.applicationName, "T3 Code (Beta)");
assert.equal(calls.setAboutPanelOptions[0]?.applicationVersion, "1.2.3");
assert.equal(calls.setAboutPanelOptions[0]?.version, "0123456789ab");
// Packaged: the bundle's own icon stands, so a custom one the user
@@ -238,7 +238,7 @@ describe("DesktopAppIdentity", () => {
});
it.effect.each([
{ stage: "Alpha", environment: {} },
{ stage: "Beta", environment: {} },
{
stage: "Nightly",
environment: { appVersion: "0.0.43-nightly.20260929.2428" },
+1 -1
View File
@@ -103,7 +103,7 @@ function resolveDesktopAppStageLabel(input: {
return "Dev";
}
return isNightlyDesktopVersion(input.appVersion) ? "Nightly" : "Alpha";
return isNightlyDesktopVersion(input.appVersion) ? "Nightly" : "Beta";
}
export function resolveDesktopAppBranding(input: {
@@ -175,7 +175,7 @@ describe("DesktopPreReadyPlatform", () => {
const identity = yield* Effect.promise(() => portalIdentity);
assert.equal(identity.desktopName, "com.t3tools.T3Code.desktop");
assert.include(identity.desktopEntry ?? "", 'Exec="/Applications/current.AppImage" %U');
assert.include(identity.desktopEntry ?? "", "Name=T3 Code (Alpha)");
assert.include(identity.desktopEntry ?? "", "Name=T3 Code (Beta)");
assert.include(identity.desktopEntry ?? "", "MimeType=x-scheme-handler/t3code;");
assert.include(
identity.desktopEntry ?? "",
+1 -1
View File
@@ -7,7 +7,7 @@ import { T3_CODE_BRAND_MARK_SOURCE } from "./brandAssets";
const appVariant = Constants.expoConfig?.extra?.appVariant;
const DEFAULT_STAGE_LABEL =
appVariant === "development" ? "Dev" : appVariant === "preview" ? "Preview" : "Alpha";
appVariant === "development" ? "Dev" : appVariant === "preview" ? "Preview" : "Beta";
export function BrandMark(props: { readonly compact?: boolean; readonly stageLabel?: string }) {
const compact = props.compact ?? false;
+2 -2
View File
@@ -1,7 +1,7 @@
export type MobileStageLabel = "Alpha" | "Dev" | "Nightly";
export type MobileStageLabel = "Beta" | "Dev" | "Nightly";
export function resolveMobileStageLabel(appVariant: unknown): MobileStageLabel {
if (appVariant === "development") return "Dev";
if (appVariant === "preview") return "Nightly";
return "Alpha";
return "Beta";
}
+1 -1
View File
@@ -477,7 +477,7 @@
cursor: pointer;
}
</style>
<title>T3 Code (Alpha)</title>
<title>T3 Code (Beta)</title>
</head>
<body>
<div id="root">
+1 -1
View File
@@ -20,7 +20,7 @@ export const APP_BASE_NAME = injectedDesktopAppBranding?.baseName ?? "T3 Code";
export const APP_STAGE_LABEL =
injectedDesktopAppBranding?.stageLabel ??
HOSTED_APP_CHANNEL_LABEL ??
(import.meta.env.DEV ? "Dev" : "Alpha");
(import.meta.env.DEV ? "Dev" : "Beta");
export const APP_DISPLAY_NAME =
injectedDesktopAppBranding?.displayName ??
formatAppDisplayName({ baseName: APP_BASE_NAME, stageLabel: APP_STAGE_LABEL });
+5
View File
@@ -4,6 +4,11 @@
This document covers the unified release workflow for stable and nightly desktop releases.
Beta is the product label, not a release channel or version suffix. Release channels
remain stable and nightly. To ship 0.1.0 Beta, use `channel=stable` and
`version=0.1.0`. Removing the Beta label later is a branding change independent of
the version.
## What the workflow does
- Workflow: `.github/workflows/release.yml`
+2 -2
View File
@@ -81,7 +81,7 @@ export type DesktopUpdateStatus =
export type DesktopRuntimeArch = "arm64" | "x64" | "other";
export type DesktopTheme = "light" | "dark" | "system";
export type DesktopUpdateChannel = "latest" | "nightly";
export type DesktopAppStageLabel = "Alpha" | "Dev" | "Nightly";
export type DesktopAppStageLabel = "Alpha" | "Beta" | "Dev" | "Nightly";
export const DesktopUpdateStatusSchema = Schema.Literals([
"disabled",
@@ -96,7 +96,7 @@ export const DesktopUpdateStatusSchema = Schema.Literals([
export const DesktopRuntimeArchSchema = Schema.Literals(["arm64", "x64", "other"]);
export const DesktopThemeSchema = Schema.Literals(["light", "dark", "system"]);
export const DesktopUpdateChannelSchema = Schema.Literals(["latest", "nightly"]);
export const DesktopAppStageLabelSchema = Schema.Literals(["Alpha", "Dev", "Nightly"]);
export const DesktopAppStageLabelSchema = Schema.Literals(["Alpha", "Beta", "Dev", "Nightly"]);
export interface DesktopAppBranding {
baseName: string;
+2 -2
View File
@@ -273,7 +273,7 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
});
it("switches desktop packaging product names to nightly for nightly builds", () => {
assert.equal(resolveDesktopProductName("0.0.17"), "T3 Code (Alpha)");
assert.equal(resolveDesktopProductName("0.1.0"), "T3 Code (Beta)");
assert.equal(resolveDesktopProductName("0.0.17-nightly.20260413.42"), "T3 Code (Nightly)");
});
@@ -702,7 +702,7 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
"**/*.map",
]);
assert.deepStrictEqual(mac.dmg, {
title: "T3 Code (Alpha) 1.2.3 Installer",
title: "T3 Code (Beta) 1.2.3 Installer",
background: "dmg/dmg-background-latest.png",
window: { width: 640, height: 432 },
contents: [