Skip to content

feat(agents): issue-3-change-the-storybook-overview-brand-icon - #8

Merged
mctl-claude-remote[bot] merged 1 commit into
mainfrom
feat/agents-issue-3-change-the-storybook-overview-brand-icon
May 23, 2026
Merged

mctl-claude-remote[bot] merged 1 commit into
mainfrom
feat/agents-issue-3-change-the-storybook-overview-brand-icon

Conversation

@mashkovd

Copy link
Copy Markdown
Member

Implements accepted proposal mctl-design/issue-3-change-the-storybook-overview-brand-icon.

Spec: https://github.com/mctlhq/mctl-gitops/tree/main/platform-gitops/agents-state/mctl-design/proposals/issue-3-change-the-storybook-overview-brand-icon/

Generated by mctl-agents Tier 2 implementer. Review carefully — this PR was opened automatically and the spec may have gaps.

Closes #3

The previous sidebar logos and favicon used a nested-square mark
(outer rounded rect stroke + centred filled rect) that no longer
matches the current MCTL visual identity. Replace all three SVG
assets in apps/storybook/public/ with a stylised "M" letterform on
a cyan square background, removing the old geometry entirely.

- mctl-logo-light.svg: cyan square mark + white M stroke + light
  wordmark (for dark chrome)
- mctl-logo-dark.svg: teal square mark + white M stroke + dark
  wordmark (for light chrome)
- favicon.svg: 32x32 standalone mark with prefers-color-scheme
  media query for dual-mode OS theming

No configuration, theme colour values, or story files are changed.
pnpm build:storybook completes cleanly and storybook-static/
contains the updated SVG artefacts.

Proposal: platform-gitops/agents-state/mctl-design/proposals/issue-3-change-the-storybook-overview-brand-icon/
@claude

claude Bot commented May 23, 2026 •

Copy link
Copy Markdown

Claude finished @mashkovd's task in 2m 21s —— View job


PR Review

  • Gather context and read changed files
  • Analyze diff for correctness, design tokens, build correctness
  • Post findings and submit verdict

Summary

Three SVG files updated to replace the old nested-rect icon with a solid-filled square + stylised-M polyline. No design tokens, build config, or component logic involved. No P1/P2 findings.

3 P3 nits posted as inline comments:

  1. favicon.svg lines 5–8 — @media (prefers-color-scheme: dark) block is a no-op (identical values to defaults); remove or differentiate.
  2. favicon.svg line 12 — <polyline> mixes a CSS class for stroke colour with inline attributes for the other stroke properties; inconsistent with the all-inline logo SVGs.
  3. mctl-logo-dark.svg (and mctl-logo-light.svg) line 5 — text anchor moved from x="32" to x="40" but width="98" / viewBox were not widened; bold MCTL at 18 px may reach or slightly exceed the 98 px boundary. Consider width="106" / viewBox="0 0 106 32".

Approved — no blocking issues.

Comment on lines +5 to +8
@media (prefers-color-scheme: dark) {
.bg { fill: #00e5ff; }
.stroke { stroke: #0a0b0d; }
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3 — The @media (prefers-color-scheme: dark) block is a no-op: every declaration inside it is identical to the defaults above. Either differentiate the dark-mode colours or remove the block entirely to avoid misleading future editors into thinking dark-mode adaptation is already wired up.

</style>
<!-- Icon mark: stylised M in a square -->
<rect class="bg" x="1" y="1" width="30" height="30" rx="5"/>
<polyline class="stroke" points="7,22 7,10 16,19 25,10 25,22" fill="none" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3 — The <polyline> uses class="stroke" (CSS) for the stroke colour but inline attributes for stroke-width, stroke-linecap, and stroke-linejoin. The two logo SVGs use all-inline presentation attributes consistently. For uniformity, either move everything into the CSS class or drop the class and use an inline stroke attribute (matching the logo files).

<!-- Icon mark: stylised M in a square -->
<rect x="1" y="1" width="30" height="30" rx="5" fill="#00b8cc"/>
<polyline points="7,22 7,10 16,19 25,10 25,22" fill="none" stroke="#ffffff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
<!-- Wordmark -->

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3 — The text anchor moved from x="32" to x="40" (8 px right) to clear the wider icon, but width="98" and viewBox="0 0 98 32" were not updated. Bold 18 px "MCTL" with letter-spacing="1.5" is roughly 56–60 px wide, placing the right edge at ~x 96–100 — right at or past the viewBox boundary. Consider widening to width="106" and viewBox="0 0 106 32" to give the wordmark comfortable breathing room. Same applies to mctl-logo-light.svg.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No P1/P2 findings (3 P3). Good to merge.

@mctl-claude-remote mctl-claude-remote Bot added the steward:owned pr-steward owns this PR label May 23, 2026
@mctl-claude-remote
mctl-claude-remote Bot merged commit 86533f5 into main May 23, 2026
2 checks passed
@mctl-claude-remote
mctl-claude-remote Bot deleted the feat/agents-issue-3-change-the-storybook-overview-brand-icon branch May 23, 2026 10:05
@mctl-claude-remote mctl-claude-remote Bot added steward:merged pr-steward merged this PR and removed steward:owned pr-steward owns this PR labels May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

steward:merged pr-steward merged this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change the Storybook overview/brand icon on ui.mctl.ai

1 participant