Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

MUL-8711 refactor(brand): drop the launch icon mode and the onboarding star-row entrance (#10077)

Jiayuan Zhang048f7228017e
diff --git a/apps/desktop/src/renderer/src/App.tsx b/apps/desktop/src/renderer/src/App.tsx
index 723f47b05a..17a77f5a3c 100644
--- a/apps/desktop/src/renderer/src/App.tsx
+++ b/apps/desktop/src/renderer/src/App.tsx
@@ -103,7 +103,7 @@ function IssueWindowContent() {
if (isLoading) {
return (
<div className="flex h-screen items-center justify-center">
- <MulticaIcon mode="launch" size={40} />
+ <MulticaIcon mode="think" size={40} />
</div>
);
}
@@ -333,7 +333,7 @@ function AppContent() {
if (isLoading || bootstrapping) {
return (
<div className="flex h-screen items-center justify-center">
- <MulticaIcon mode="launch" size={40} />
+ <MulticaIcon mode="think" size={40} />
</div>
);
}
diff --git a/apps/desktop/src/renderer/src/components/issue-window.tsx b/apps/desktop/src/renderer/src/components/issue-window.tsx
index 3b8060bb34..567c393a9e 100644
--- a/apps/desktop/src/renderer/src/components/issue-window.tsx
+++ b/apps/desktop/src/renderer/src/components/issue-window.tsx
@@ -67,7 +67,7 @@ function IssueWindowRoute() {
return (
<IssueWindowFrame>
<div className="flex min-h-0 flex-1 items-center justify-center">
- <MulticaIcon mode="launch" size={40} />
+ <MulticaIcon mode="think" size={40} />
</div>
</IssueWindowFrame>
);
diff --git a/apps/web/app/[workspaceSlug]/layout.tsx b/apps/web/app/[workspaceSlug]/layout.tsx
index 0c4d61613e..6609aa4370 100644
--- a/apps/web/app/[workspaceSlug]/layout.tsx
+++ b/apps/web/app/[workspaceSlug]/layout.tsx
@@ -78,7 +78,7 @@ export default function WorkspaceLayout({
const loadingIndicator = (
<div className="flex h-svh items-center justify-center">
- <MulticaIcon mode="launch" size={40} />
+ <MulticaIcon mode="think" size={40} />
</div>
);
diff --git a/packages/ui/components/common/multica-graphics.tsx b/packages/ui/components/common/multica-graphics.tsx
index e7e991acb5..4d9eb2c29c 100644
--- a/packages/ui/components/common/multica-graphics.tsx
+++ b/packages/ui/components/common/multica-graphics.tsx
@@ -10,11 +10,10 @@ interface MulticaStarRowProps extends React.ComponentProps<"svg"> {
/** Number of stars; each one stands for a teammate. */
count: number;
/**
- * `center`: stars turn into place from the middle outwards (backgrounds).
- * `join`: left to right, and the last one arrives after a beat (someone just
- * joined). Omit for a static row.
+ * Stars turn into place left to right and the last one arrives after a beat:
+ * someone just joined. Omit for a static row.
*/
- enter?: "center" | "join";
+ join?: boolean;
/** Seconds before the first star moves. */
delay?: number;
/** Classes for the last star, e.g. to light up the newest teammate. */
@@ -27,7 +26,7 @@ interface MulticaStarRowProps extends React.ComponentProps<"svg"> {
*/
export function MulticaStarRow({
count,
- enter,
+ join = false,
delay = 0,
lastClassName,
className,
@@ -35,12 +34,7 @@ export function MulticaStarRow({
}: MulticaStarRowProps) {
const step = 100 * (1 + ROW_GAP);
const width = step * (count - 1) + 100;
- const mid = (count - 1) / 2;
- const delayOf = (i: number) => {
- if (enter === "center") return delay + Math.abs(i - mid) * STAR_STAGGER_S;
- if (i === count - 1) return delay + i * STAR_STAGGER_S + 0.3;
- return delay + i * STAR_STAGGER_S;
- };
+ const delayOf = (i: number) => delay + i * STAR_STAGGER_S + (i === count - 1 ? 0.3 : 0);
return (
<svg
viewBox={`0 0 ${width} 100`}
@@ -53,8 +47,8 @@ export function MulticaStarRow({
<g key={i} transform={`translate(${step * i} 0)`}>
<path
d={THIN_STAR}
- className={cn(enter && "multica-star-enter", i === count - 1 && lastClassName)}
- style={enter ? { animationDelay: `${delayOf(i)}s` } : undefined}
+ className={cn(join && "multica-star-enter", i === count - 1 && lastClassName)}
+ style={join ? { animationDelay: `${delayOf(i)}s` } : undefined}
/>
</g>
))}
diff --git a/packages/ui/components/common/multica-icon.tsx b/packages/ui/components/common/multica-icon.tsx
index 55f8739cde..3af62fc3ee 100644
--- a/packages/ui/components/common/multica-icon.tsx
+++ b/packages/ui/components/common/multica-icon.tsx
@@ -13,10 +13,12 @@ export type MulticaIconMode =
| "static"
/** The centre opens and the arms light up in turn: an agent at work, loading, waiting. */
| "think"
- /** Tile pops in, arms grow out of the centre as the star turns into place — app launch, sign-in. */
- | "intro"
- /** `intro`, then `think` until whatever is loading unmounts it. */
- | "launch";
+ /**
+ * Tile pops in, arms grow out of the centre as the star turns into place.
+ * Sign-in only: loading screens use `think`, so the intro never plays twice
+ * or gets cut off when loading finishes early.
+ */
+ | "intro";
interface MulticaIconProps extends Omit<React.ComponentProps<"svg">, "mode"> {
mode?: MulticaIconMode;
@@ -32,8 +34,6 @@ interface MulticaIconProps extends Omit<React.ComponentProps<"svg">, "mode"> {
title?: string;
}
-/** When the launch sequence hands over from the settled star to the think loop. */
-const LAUNCH_THINK_AT = "1.5s";
const INTRO_AT_S = 0.15;
const ARM_STAGGER_MS = 55;
/** Think: one lap of the eight arms. */
@@ -55,7 +55,7 @@ export function MulticaIcon({
...props
}: MulticaIconProps) {
const { scale, stroke } = iconStar(size, shape);
- const intro = mode === "intro" || mode === "launch";
+ const intro = mode === "intro";
const tileClass = "fill-multica-ink dark:fill-multica-paper";
const starClass = "fill-multica-paper dark:fill-multica-ink";
const delay = (ms: number | string): CSSProperties => ({
@@ -82,11 +82,6 @@ export function MulticaIcon({
/>
</g>
));
- const settled = (
- <g className="multica-settle" style={delay(INTRO_AT_S * 1000)}>
- {arms("grow")}
- </g>
- );
return (
<svg
@@ -106,12 +101,10 @@ export function MulticaIcon({
<g transform={iconStarTransform(scale)}>
{mode === "static" ? arms("static") : null}
{mode === "think" ? arms("think") : null}
- {mode === "intro" ? settled : null}
- {mode === "launch" ? (
- <>
- <g className="multica-fade-out" style={delay(LAUNCH_THINK_AT)}>{settled}</g>
- <g className="multica-fade-in" style={delay(LAUNCH_THINK_AT)}>{arms("think")}</g>
- </>
+ {mode === "intro" ? (
+ <g className="multica-settle" style={delay(INTRO_AT_S * 1000)}>
+ {arms("grow")}
+ </g>
) : null}
</g>
</svg>
diff --git a/packages/ui/styles/base.css b/packages/ui/styles/base.css
index 06322dfab3..3d23b27439 100644
--- a/packages/ui/styles/base.css
+++ b/packages/ui/styles/base.css
@@ -59,8 +59,6 @@
@keyframes multica-arm-fade { from { opacity: 1; } to { opacity: 0.16; } }
@keyframes multica-star-in { from { transform: scale(0) rotate(-135deg); } }
@keyframes multica-star-enter { from { transform: rotate(-45deg) scale(0.6); opacity: 0; } }
-@keyframes multica-fade-in { from { opacity: 0; } }
-@keyframes multica-fade-out { to { opacity: 0; } }
@keyframes multica-hop { 40% { transform: translateY(-14%); } }
.multica-pop {
@@ -96,8 +94,6 @@
transform-origin: 50% 50%;
animation: multica-star-enter 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
-.multica-fade-in { animation: multica-fade-in 0.24s ease both; }
-.multica-fade-out { animation: multica-fade-out 0.24s ease both; }
/* Website nav only — the product never animates the wordmark on hover. */
.multica-hop-on-hover > g { transform-box: fill-box; transform-origin: 50% 100%; }
.multica-hop-on-hover:hover > g {
@@ -393,8 +389,6 @@ html[data-sidebar-resizing="true"] {
.multica-arm-fade,
.multica-star-in,
.multica-star-enter,
- .multica-fade-in,
- .multica-fade-out,
.multica-hop-on-hover:hover > g,
.animate-onboarding-enter,
.animate-chat-impulse,
diff --git a/packages/views/agents/create/agent-created-page.tsx b/packages/views/agents/create/agent-created-page.tsx
index c0ad7070d5..ef17233067 100644
--- a/packages/views/agents/create/agent-created-page.tsx
+++ b/packages/views/agents/create/agent-created-page.tsx
@@ -60,7 +60,7 @@ export function AgentCreatedPage({ agentId }: { agentId: string }) {
{stars && agent ? (
<MulticaStarRow
count={stars}
- enter="join"
+ join
delay={0.2}
className="absolute top-1/2 left-1/2 h-8 w-auto -translate-x-1/2 -translate-y-1/2 text-multica-paper/15"
lastClassName="fill-multica-paper"
diff --git a/packages/views/onboarding/steps/step-welcome.tsx b/packages/views/onboarding/steps/step-welcome.tsx
index bd41bac364..173de07a92 100644
--- a/packages/views/onboarding/steps/step-welcome.tsx
+++ b/packages/views/onboarding/steps/step-welcome.tsx
@@ -175,8 +175,6 @@ export function StepWelcome({
<div className="relative hidden border-l bg-muted/40 lg:flex lg:flex-1 lg:flex-col lg:overflow-hidden">
<MulticaStarRow
count={9}
- enter="center"
- delay={0.5}
className="pointer-events-none absolute -bottom-10 left-1/2 w-[130%] -translate-x-1/2 text-muted"
/>
<DragStrip />