Repository navigation
feat(commerce-onboarding): redesign the connect-your-tools step - #4350
Merged
Merged
Conversation
Design pass on the commerce onboarding "ready" screen, driven by a live review of the real flow: Companion cards - Responsive card: compact horizontal row on mobile (icon · text · action), vertical tile in the sm+ 2-col grid. Single-column below sm so names never cram; grid already sized for a 4th (GitHub) card later. - Badge placement: top-right of the tile centered with the icon on sm+; category eyebrow above the name on mobile (fixes name truncation). - Business-oriented copy: the hardcoded "+49 verificações" count (same number on every card, internal unit) became a business-area tag (Catálogo / Funil / Busca) + a revenue-outcome benefit line per card. CompanionCopy.checks → area accordingly. - The inline "Configuração / Nenhum valor salvo" block moved into the existing config dialog behind a gear button — connected cards no longer tower over the rest. - Section title matches the onboarding title scale (text-2xl) and reads "Conecte suas ferramentas para ver o diagnóstico completo". - md height cap is viewport-aware (min(60vh, 100dvh-330px)) so short windows scroll the cards internally instead of pushing the report CTA below the fold. Verified across 11 viewports (360x740 → 1440x900): no horizontal overflow, CTA always on screen. Schedule-meeting panel - "Meet your specialist" card: solid brand-green header band, the host's real photo overlapping it, DS success-green availability dot, outline DS button (same style as the Conectar buttons). No gradient washes. - Copy: "Precisa de ajuda? Fale conosco" on both desktop card and mobile banner (banner drops the description and breaks the headline in two lines). - /agendar link now points at https://decocms.com (was the raw workers.dev host). Tests updated (companions-core fixtures checks→area; loading-state skeleton copy/count). biome fmt, oxlint (incl. require-cn-classname), tsc and the commerce-onboarding suite (52 tests) all clean. Co-Authored-By: Claude Fable 5 <[email protected]>
… redesign Post-review cleanup on the redesigned companion cards: - Remove the unreachable `card.satisfied` (no linkedConnectionId) branch in the action ternary. `satisfied` is only ever true when linkedConnectionId is truthy (companions-core: satisfied = !!linkedConnectionId && linkedReady), so the branch never rendered. - Use the DS `text-success` token for the "Conectado" check instead of the raw `text-emerald-600` palette color, matching the `bg-success` dot introduced in the same redesign. - Delete `maskConfigValue` and its test: the masked-values summary list was removed in the redesign, leaving the helper referenced only by its own test (knip dead-code debt). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
The connect-your-tools redesign (fe37658) changed the schedule-meeting headline and the section title but only updated the unit suite; the e2e spec still asserted the old copy and failed on CI: - "Prefere que a gente acompanhe você?" → "Precisa de ajuda? Fale conosco" - "Desbloqueie seu diagnóstico completo" → "Conecte suas ferramentas para ver o diagnóstico completo" Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
decocms Bot
pushed a commit
that referenced
this pull request
Jul 7, 2026
PR: #4350 feat(commerce-onboarding): redesign the connect-your-tools step Bump type: minor - decocms (apps/mesh/package.json): 3.101.0 -> 3.102.0 - @decocms/e2e (packages/e2e/package.json): 0.7.0 -> 0.8.0 Deploy-Scope: web
tlgimenes
pushed a commit
that referenced
this pull request
Jul 16, 2026
…TS.md (#4475) Mined ~300 merged PRs for the delta between the first PR proposal and the work added before merge. The dominant shape: a first draft ships the happy path, then a hardening pass (often a different engineer who takes over the branch and merges — the vibecoder→engineer handoff) adds the same categories every time. Encoded those 9 categories as an actionable first-pass checklist, each citing a real PR (#4008, #4230, #4365, #4409, #4426, #4445, #4357, #4355, #4449, #4350, #4373, #4416, #4446, #4461, #4134, #4469). Covers: variant/edge-case handling, tenant/permission scoping, concurrency & silent-data-loss, test-per-fix + invert-bug-tests + real-PG, dead-code/knip, lifecycle symmetry + state reset, kill-switch/GC/git-exclude for risky infra, input validation vs over-engineering, compile-time type-safety. Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Design pass on the commerce onboarding "ready" screen (post-signup, where the merchant connects VTEX / GA4 / Search Console and opens the report), reviewed live against a real diagnostic flow (fila.com.br) on desktop and mobile.
sm++ 49 verificações(same hardcoded number on all three cards; internal unit)successavailability dot, outline DS buttondecocms-tanstack.deco-cx.workers.dev/agendarhttps://decocms.com/agendarDetails
sm+; category eyebrow above the name on mobile — fixes the name truncation ("VTEX Comm…") the old single-line layout caused.mdcard-area cap is now viewport-aware (min(60vh, 100dvh − 330px)), so short windows scroll the cards internally instead of pushing the CTA below the fold.CompanionCopy.checks→area(string tag) incompanions.ts/companions-core.ts; the old copy was flagged in-code as placeholder pending design strings — this is that pass.companions-corefixtures (checks→area),loading-stateskeleton copy/count.biome fmt,oxlint(incl. the newrequire-cn-classnamerule),tsc, and the commerce-onboarding suite (52 tests) all clean.🤖 Generated with Claude Code
Summary by cubic
Redesigned the commerce onboarding “connect your tools” step for faster scanning with compact cards, business-area tags, and a clearer help panel. Keeps the report CTA on-screen across viewports and moves config into a simple gear dialog.
New Features
sm+.Catálogo/Funil/Buscabadge and a short benefit.min(60vh, 100dvh − 330px)) so the CTA stays visible.https://decocms.com/agendar.Refactors
checkswithareaacross companion models and copy; updated unit and e2e tests (new headings, 4‑card skeleton count).maskConfigValuehelper and its test; standardized success styling.Written for commit 3f1393c. Summary will update on new commits.