Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): channel artwork choice on Latest, plus nightly or dev art on any channel #26138

Mergedmaria-rcksmerged 1 commit intomain fromrefs/pull/26138/headmerged by maria-rcks View on GitHub

Showing 8 changed files with 86 additions and 52 deletions (loading 5).

x
0 of 8 viewed, 8 left
1 addition and 3 deletionsapps/web/src/components/chat/ComposerPrimaryActions.tsxModified
View file
@@ -124,9 +124,7 @@
}) === "queue";
const alternateAction = alternateComposerDispatchAction(followUpBehavior);
const isSendDisabled = !canOperateThread || sendDisabledReason !== null;
- const stageBackdropVariant = useSidebarStageBackdropVariant(
- environmentIdentificationMode === "artwork",
- );
+ const stageBackdropVariant = useSidebarStageBackdropVariant(environmentIdentificationMode);
​
const renderStopGenerationButton = (insidePendingAction: boolean) => (
<Tooltip key="interrupt">
84 additions and 48 deletionsapps/web/src/components/settings/AppearanceSettingsPanel.tsxModified
View file
@@ -13,7 +13,8 @@
MIN_PANEL_ANIMATION_DURATION_MS,
} from "@t3tools/contracts/settings";
import {
- resolveEnvironmentIdentificationPillLabel,
+ resolveSidebarStageBackdropVariant,
+ type SidebarStageBackdropVariant,
useEnvironmentStageLabel,
} from "../SidebarStageBackdrop";
import { useCustomThemes } from "../../hooks/useCustomThemes";
@@ -35,10 +36,40 @@
​
const ENVIRONMENT_IDENTIFICATION_LABELS: Record<EnvironmentIdentificationMode, string> = {
artwork: "Artwork",