Skip to content

Migration plan a#59

Merged
wab merged 88 commits intomainfrom
migration-plan-a
Feb 8, 2026
Merged

Migration plan a#59
wab merged 88 commits intomainfrom
migration-plan-a

Conversation

@wab
Copy link
Collaborator

@wab wab commented Feb 5, 2026

No description provided.

wab and others added 30 commits February 1, 2026 16:13
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- @pandacss/dev, preset-base, preset-panda, types → ^1.8.1
- Add required `name` to definePreset
- Fix carousel pattern display type for stricter v1 types
- Remove unused @shadow-panda/preset

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Path includes ocobo/ subdirectory per untildify(~/projects/ocobo/${repo}).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Colours: update light variants to match prototype values
- Shadows: add soft, soft-md, soft-lg, dark, card, ring, offset
- Animations: add 17 animation tokens + keyframes from prototype
- Typography: add sans/display fonts, custom lineHeights, fix 2xl size
- Radii: add 2xl, 3xl from prototype
- Remove unused CSS vars, reference font names directly

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- text: display-xl/lg/md, subtitle, body, label + colour variants
- badge: colour variants, sm/md sizes, sm/full rounded
- iconBox: solid/outline/ghost with colour compoundVariants
- section: add bg and padding variants (backward-compatible defaults)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Move 7 legacy recipes (button, icon, icon-button, input, link, subtitle,
typography) to preset/recipes/_legacy/ so new prototype recipes have a
clean standard path. Update PRD and progress conventions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
DISABLED_PAGES env var controls page visibility in nav and route loaders.
Defaults to all P2+ pages disabled. Set empty to enable all.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Extend common.json with new nav/footer keys for prototype pages and
register three new per-page namespaces in resources.ts. Skeleton
content to be filled by per-page stories.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Replace Radix NavigationMenu with Ark UI Menu + Dialog
- Add morphing scroll behaviour (transparent → pill with blur)
- Add rich dropdown items with icons and descriptions
- Add full-screen mobile menu with Ark Dialog
- Port button recipe from prototype (with size variants)
- Add ocobo.* colour token namespace matching prototype
- Align type naming with prototype (label/path/color/dropdown)
- Add desktop/mobile CTA label translations
- Fix WebKit browser compatibility with hstack patterns
- Update i18n strings to match prototype exactly
- Delete old navbar files (Header, MainMenu, MobileMenu, etc.)
- Remove @radix-ui/react-navigation-menu dependency

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- stories.json: feature 6 passes: true
- progress.txt: add features 4-6 logs, navbar learnings

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix Footer services key (services → method) to match useMenuItems
- Extract shared styles to navbar/styles.ts (iconStyles, hoverStyles, SCROLL_THRESHOLD)
- Add aria-label to mobile menu Dialog.Content for accessibility
- Move getLinkStyles outside Navbar component to avoid recreation
- Add guard to only close menu on navigation if already open
- Add comment documenting lg breakpoint (1024px) in media query

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
NavDropdownItem now uses forwardRef and spreads props to the underlying
NavLink/anchor element. This fixes router links not working in desktop
dropdown menus when used with Ark UI's Menu.Item asChild pattern.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- 4-column grid layout with border separator
- Lucide icons (Linkedin, Youtube) in circular buttons
- Outline CTA button with arrow icon
- Yellow link hover colour matching prototype
- Reuses Logocobo SVG, NewsletterForm, LanguageSwitcher
- Dynamic menu items from useMenuItems hook
- All strings localised via footer.* keys

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update StoryItem with card styling (shadow, rounded corners, hover)
- Use fontFamily: 'display' for headings across all story components
- Add i18n keys for empty state (clients.empty.title/subtitle)
- Use ocobo.dark token for text colours
- Update component inventory documentation

Story 13 complete.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Logo was clipped by overflow:hidden on image container. Moved badge
to be sibling of image wrapper (inside NavLink with position:relative)
so it can extend below without clipping.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Image container: roundedTop only (no bottom corners)
- Logo badge: increased size (60x28px) and padding

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update h1 to use fontFamily: 'display' with responsive sizing
- Use ocobo.dark token for heading colour

Story 14 complete.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update PageMarkdownContainer headings to use fontFamily: 'display'
- Use ocobo.dark token for heading colours
- Responsive font sizes for all heading levels

Story 15 complete.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update Panda CSS version in patterns.md (0.37 → 1.8.1)
- All checks pass: pnpm check && pnpm typecheck

Story 16 complete. Migration Plan A finished.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ine, Planhat, Qobra)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
wab and others added 2 commits February 7, 2026 00:12
…chatbot overlap

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…size and typo

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
wab and others added 2 commits February 7, 2026 00:30
…ion recipe static generation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
wab and others added 4 commits February 7, 2026 00:37
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…city

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The "découvrir nos stories" link was broken because /fr/clients didn't
match the route at /clients.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
wab and others added 2 commits February 7, 2026 00:47
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
wab and others added 2 commits February 7, 2026 00:53
…iles

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… and nav icon colours

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…translated

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@wab wab merged commit b760dbd into main Feb 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migration Plan A: Prep + P1 pages

1 participant