Skip to content

fix(apollo-vertex): use type scale sizes in calendar and timeline - #1385

Merged
ruudandriessen merged 1 commit into
mainfrom
fix/vertex-type-scale-sizes
Oct 16, 2026
Merged

ruudandriessen merged 1 commit into
mainfrom
fix/vertex-type-scale-sizes

Conversation

@ruudandriessen

Copy link
Copy Markdown
Collaborator

What

  • Calendar: weekday headers and week numbers go from text-[0.8rem] (12.8px) to text-xs (12px). Only those two classes change; the rest of the shadcn sync and the Apollo customizations stay as they are.
  • Timeline marker: the compact user marker goes from text-[9px] to text-xs, and now shows only the first initial.
  • Docs: the initials prop row in timeline.mdx now says that the compact size shows one character.

Why

Both sizes were outside the type scale (12, 14, 16, 18, 20, 24, 30px). Neither spot needs a new size, so both move to text-xs.

The compact marker is a 16px circle (size-4). Two medium-weight initials at 12px ("PV" is about 15px wide) fill the whole circle and spill past its curved edge. I looked at two fixes:

  1. Show the first initial only (this PR). The compact marker stays the same size as the other compact variants, so dense trails keep their alignment.
  2. Grow every compact marker to size-5 (20px). This changes all nine compact variants and how the icon and AiMark sit inside them, which is a bigger visual change than this lint fix needs.

Trade-off: the compact marker no longer shows the second initial. If design prefers option 2, it's a small follow-up.

How verified

In packages/apollo-vertex: pnpm lint (oxlint type-aware), pnpm typecheck, pnpm test and biome format all pass. No changeset is needed: the repo has no .changeset directory, and releases follow conventional commits.

Calendar weekday headers and week numbers used text-[0.8rem] (12.8px) and
the compact timeline user marker used text-[9px], both outside the type
scale. Move them to text-xs (12px).

Two initials at 12px do not fit the 16px compact marker, so the compact
user marker now shows only the first initial instead of shrinking the
text below the scale or growing every compact marker.
Copilot AI balanced review requested due to automatic review settings October 16, 2026 11:41
@ruudandriessen
ruudandriessen requested a review from a team as a code owner October 16, 2026 11:41
@github-actions
github-actions Bot temporarily deployed to preview/apollo-docs October 16, 2026 11:42 Destroyed
@github-actions
github-actions Bot temporarily deployed to preview/apollo-landing October 16, 2026 11:42 Destroyed
@github-actions
github-actions Bot temporarily deployed to preview/apollo-design October 16, 2026 11:42 Destroyed
@github-actions
github-actions Bot temporarily deployed to preview/apollo-vertex October 16, 2026 11:42 Destroyed
@github-actions github-actions Bot added the size:S 10-29 changed lines. label Oct 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Dependency License Review

  • ✅ 1947 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 2 package(s) excluded (see details below)
License distribution
License Packages
MIT 1713
ISC 91
Apache-2.0 56
BSD-3-Clause 28
BSD-2-Clause 23
BlueOak-1.0.0 8
MPL-2.0 4
MIT-0 3
CC0-1.0 3
MIT OR Apache-2.0 2
(MIT OR Apache-2.0) 2
Unlicense 2
LGPL-3.0-or-later 1
Python-2.0 1
CC-BY-4.0 1
(MPL-2.0 OR Apache-2.0) 1
Unknown 1
Artistic-2.0 1
(WTFPL OR MIT) 1
(BSD-2-Clause OR MIT OR Apache-2.0) 1
CC-BY-3.0 1
0BSD 1
(MIT OR CC0-1.0) 1
MIT AND ISC 1
Excluded packages
Package Version License Reason
@img/sharp-libvips-linux-x64 1.3.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
khroma 2.1.0 Unknown MIT per GitHub repo, missing license field in package.json

Copilot AI 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.

🟡 Changes recommended

Compact initial truncation splits supplementary Unicode characters and displays replacement glyphs.

1 open finding
What changed in this PR

Aligns calendar and timeline typography with the Apollo Vertex type scale.

Changes:

  • Uses text-xs for calendar weekday headers and week numbers.
  • Uses text-xs and one initial for compact user markers.
  • Documents compact initial behavior.
File Description
packages/​apollo-vertex/​registry/​timeline/​timeline-marker.tsx Updates compact marker typography and initials.
packages/​apollo-vertex/​registry/​calendar/​calendar.tsx Replaces off-scale font sizes.
apps/​apollo-vertex/​content/​docs/​components/​timeline.mdx Documents single-character compact markers.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/apollo-vertex/registry/timeline/timeline-marker.tsx
@github-actions

Copy link
Copy Markdown
Contributor

📊 Coverage + size by package

Per-package coverage and bundle size on this PR. New-line coverage = of the source lines this PR adds or changes, the % hit by tests.

Package Coverage New-line coverage Packed (gzip) Unpacked vs main
@uipath/apollo-core — — — — —
@uipath/apollo-react — — — — —
@uipath/apollo-ui-icons — — — — —
@uipath/apollo-vertex 68.8% — (4 untracked) 325.9 KB 1.84 MB −10 B
@uipath/apollo-wind — — — — —
@uipath/ap-chat — — — — —

"Coverage" is each package's own coverage.include scope (e.g. apollo-core instruments only scripts/). "Packed"/"Unpacked" come from npm pack --dry-run and only cover built packages — "—" means not measured this run (package not affected / not built). "vs main" is the packed (gzipped) delta against the last successful main build (the package-sizes artifact from the Release workflow); "—" there means no main baseline was available this run. The baseline is main's latest build, not this PR's exact merge-base, so it includes any drift since the branch diverged. Packages with no vitest config are omitted.

@github-actions

Copy link
Copy Markdown
Contributor

Storybook visual diff

✅ No stories are affected by this PR's changes; nothing to compare. Logs

Updated (PT): Oct 16, 2026, 04:51:01 AM

@ruudandriessen
ruudandriessen merged commit 099f8d6 into main Oct 16, 2026
44 of 45 checks passed
@ruudandriessen
ruudandriessen deleted the fix/vertex-type-scale-sizes branch October 16, 2026 11:55

This branch was successfully deployed

No deployments
preview/apollo-vertex — 522ea505 Deployed Oct 16, 2026 by github-actions[bot]
preview/apollo-design — 522ea505 Deployed Oct 16, 2026 by github-actions[bot]
preview/apollo-landing — 522ea505 Deployed Oct 16, 2026 by github-actions[bot]
preview/apollo-docs — 522ea505 Deployed Oct 16, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants