Decisions
Decision log
Why things are the way they are. Newest first, each with its date and source.
| Date | Area | Decision | Source |
|---|---|---|---|
| 2026-12-02 | Components | A list of cards (the catalogue, the spotlight, a member's discounts, the services) arrives over its own skeleton: the placeholders stay, one per item, and the cards sweep in along a soft diagonal edge from the top left (900 ms, the curve 0.2 0.8 0.2 1); the placeholders then fade out in 300 ms and leave. Nothing moves, and the mask goes once the sweep ends so hover shadows are never clipped (SkeletonReveal, ScreenBuilder reveal sweep). It replaces the cards rising in one after another. Taken from Pokloni's listing grid. | Dino: the product cards' arrival was so-so; do it like Pokloni |
| 2026-12-02 | Components | No flicker when content arrives. Cards that sit one under the other and depend on the same data stream as one section (a product's About and its ratings), so they arrive together and nothing below jumps twice. What needs no data renders in the loading state as itself (a visitor's locked ratings card, the Apply button under the price). A skeleton keeps the real card's structure to the pixel: its header action's place, the labels at the Label's leading, a textarea's 102 px; a status line whose words come from the data reads "Loading…" in that line's own style. Where the height can't be known (a description that may be missing), the section glides to its new height (ScreenBuilder smooth, SmoothHeight: 320 ms, the motion curve) while the content fades in. | Dino: ratings flickered on the product page |
| 2026-12-01 | Components | Loading gets simpler; this replaces loading-language. What is known before the data shows at once (titles, column heads, the words around a number); the rest is a soft outline under the sheen, never a drawing of the content and never a bare spinner in an empty card. A card in a list is a PlaceholderCard: a tile and two lines on top, one short line at the bottom; the list then rises in card by card. One card is a LoadingCard: its real title and three soft lines. A form is a FormPlaceholder in its LoadingCard: label lines over the fields' own thin outlines and the button's pill, like an empty form appearing. A page header is a PageHeaderPlaceholder: the tile, the title and a line. A number whose words are known shows as 0 and counts up (CountUp). A small spinner only for small areas (the header's links, the category pills). Components are built linearly on these: Card → PlaceholderCard → ProductCardPlaceholder. | Dino, after looking at every page with a 5 s delay |
| 2026-12-01 | Design System | After a full review of every screen at 1440 and 375 px: pills alone (Products / Vendors, the verification queue, a product's Listing / Code pool) are a plain row, the filter area only around real filters; Vendors gets search and a count like Products. A card holding a form with its own section headings has no title of its own. The admin overview's period sits in a filter area under the header, as on Vendor reports. Disabled buttons turn Silver Phoenix with ink-3 text instead of fading to half. A file field shows nothing until a file is chosen. One inline link (TextLink): a soft underline that turns solid on hover and a 44 px target. Pill rows that scroll on a phone fade at the end; tables and code show scroll shadows. A select option can carry a line of description in the list only. Archive waits in a More menu on a product. Breadcrumbs name the page (Gatekeep Labs) and put Vendors under Products & vendors. The steps of the application sit straight on the field at every width. What unlocks after verification is said once, in the Page header's note. On a phone the account's items are in the menu, so the header keeps one trigger; the catalogue's selects wait behind a Filters button. | Dino, after the QA review |
| 2026-12-01 | Design System | Motion says where something came from and that it has arrived; it never decorates. One curve (a quint ease-out: quick start, slow settle, no overshoot) and durations by size: 150 ms for a control (menus, selects, popovers, calendars open from 96 % and a touch towards their trigger), 200 ms for a panel or a state (dialogs, the phone menu sliding down, hover, press), 320–420 ms for content arriving (a streamed section from 2 px of blur and 4 px lower; the cards of a list rising 8 px one after another, 40 ms apart), 700 ms for a bar growing to its length. A card that is a link lifts 2 px with a soft shadow on hover; a button presses to 97 %; Copy turns into a check that pops in. Nothing loops but the loading sheen, and under reduced motion nothing moves. Count-ups and page transitions are left out: they would delay the figures and fight the streaming. | Dino, polish pass |
| 2026-12-01 | Components | Loading is a skeleton with a glass sheen, never a bare spinner. A skeleton copies its section: the same Card, the title and column heads known before the query, and bones only where the data goes, each text line exactly one line box tall so nothing moves when the text arrives. The bones stay still; a soft diagonal band of light sweeps across each loading card every 2.6 s, like sun glancing off glass (white at 70 %, so it catches only the bones and the Silver Phoenix). Streamed content fades in from 2 px of blur and 4 px lower in 320 ms (see Motion). Every section streams on its own, and pages await nothing but their params. Reduced motion stops the sweep and the fade. Every screen gets a Loading state next to its others before it is built. A spinner stays only in a pending button. | Dino, web refactor Phase 1 |
| 2026-12-01 | Design System | After the remaining screens, a cleanup pass. The PageHeader is now plain: no plate of its own, the title, text and chips straight on the page, and the light moves to the page itself, a soft wash of Opulent Violet and Purple Frenzy soft from the top corners behind site and admin pages (PageLayout’s page wash); compact in the admin. The landing keeps its lit plates. This replaces the lit Silver Phoenix plate of the Page header. Stack, Inline and Grid are added to packages/brand-ui as the layout primitives (spacing from gap, asChild for the element), with OnThisPage (a page’s table of contents) and Pipeline (the admin overview’s counts by stage); this replaces layout-primitives. Variant names lose their letters (“Lit plate”, not “C · Lit plate”); the decisions below are updated to match. | Jelena, design cleanup |
| 2026-12-01 | Pages | Every remaining screen gets one version on the directions already chosen, no new ones: Forgot and Reset password as Log in (the light field); About, How it works, For vendors and the Redemption API docs as the catalogue (site header, Page header, the page’s sections); every other admin screen on the Admin shell, its filters and pill rows in the filter area; the admin’s two-factor setup in the dark admin sign-in card on the gradient. Terms, Privacy and Cookies are lorem ipsum in a reading column of about 68 characters, under a warning Alert that the text is a placeholder The Fix must replace before launch. The layout shells are redrawn with the chosen parts, and the emails get the brand: the logo on a navy band, a white card on the page grey, a Purple Frenzy button, the footer in small grey text, their copy as sent. Every form field has a placeholder. | Jelena, Phase 18 |
| 2026-12-01 | Pages | The admin screens are drawn on the new Admin shell (Admin shell, the only direction): the navy sidebar with the links, a navy header with a menu under 1024 px, the white top bar with the Breadcrumb and the account, then the same Page header as the public site and the member area and the page’s Cards on the near-white page. Verification puts the queue (a Card of rows) beside the profile and the decision; Products has the Products / Vendors pills, the low-pool Alert, the filter bar and the Table; a list’s filters, its pill row and its filter bar, sit in a filter area like the catalogue’s (line border, radius 24), Silver Phoenix at half because the admin page already is the page grey, and so do the queue’s pills and Product detail’s Listing / Code pool; filter pills carry an icon wherever each can have its own, so they don’t read as buttons; Product detail has the status actions in the Page header, then Listing and Code pool as two views under pills (only the listing, without pills, for a product with no pool), the view on the left, Logo, Vendor and Last 30 days on the right. The other admin screens followed in Phase 18 (remaining-screens). | Jelena, Phase 17 |
| 2026-12-01 | Design System | The public and member page width goes from 1440 to at most 1600 px including the side padding (32 / 24 / 16 px), for every page, the site header and footer included (PageContainer in packages/brand-ui). The chosen landing looked narrow on a 1728 px MacBook screen; at 1600 it leaves 64 px each side there. Text pages keep their own ~720 px column. In apps/web: Container becomes max-w-[1600px] px-4 sm:px-6 lg:px-8. | Jelena, Phase 15 |
| 2026-12-01 | Pages | The onboarding screens (Apply, Activate account, Questionnaire, Verification) follow the auth components, made light: under the header a light Purple Frenzy field (the admin sign-in’s navy-to-Purple-Frenzy gradient in its light tints), the four application steps on top, the AuthCard under them. Register is as wide as the steps, its fields in two columns, with Repeat password and a placeholder in every field. Check your email, confirming the email, an expired link and each application status are empty states with an illustration on top of the card (larger for the email steps, smaller for the statuses), in place of the status icon; an expired link’s ways on are destructive buttons. This replaces the Onboarding status pick of StatusLayout with the steps inside the card; StatusIcon and StatusLayout stay in brand-ui for other statuses. Chosen as the onboarding screens’ only direction (Light steps). | Jelena, Phase 16 |
| 2026-12-01 | Pages | Log in is drawn like Register: the login card centred on the onboarding screens’ light Purple Frenzy field, without the steps, so logging in and applying look alike. It replaces the earlier pick of the brand gradient as half the page beside the card. The admin console keeps its own dark sign-in on the gradient. | Jelena, Phase 17 |
| 2026-12-01 | Pages | Add-on services, Webinars and Settings carry the dashboard’s Member header (the lit navy plate, the title and a sentence), then the page’s own cards: services two a row, one card per webinar two a row, Settings with the details on the left and Organisation and Password on the right. | Jelena, Phase 16–17 |
| 2026-12-01 | Pages | The dashboard’s direction is Savings plate (of three: Header and cards, Savings plate, One column). The member area may differ from the public pages, so the dashboard has its own header instead of the Page header: the navy plate lit with Purple Frenzy, Verified with the tier and dates, the greeting and the newsroom, Find more discounts; on the right what membership has saved as one big figure, the two counts under it. Its padding is tighter than the public plates (40px on a laptop), the figure 60px. The discounts follow as cards, three a row, each with its code ready to copy; activity, webinars and the services teaser close the page in three columns. With nothing claimed, the empty state is the small one, so the page stays short. | Jelena, Phase 16 |
| 2026-12-01 | Pages | The product page’s direction is Header and panel (of three: Header and panel, Price on the plate, Navy deal), the catalogue’s direction carried on. The Page header shows the vendor’s logo in place of the navy icon tile (Page header › media), the name with the tier beside it (as on the catalogue card) and one quiet byline close under it, “by vendor · category · type” (Page header › byline); the tagline; chips for what a visitor wants first (the yearly saving, a free trial, team size; for a service the region and “By introduction”); for a visitor the locked notice closes it. About with its facts and the ratings on the left; the white Pricing panel on the right, sticky, first on a phone. Ratings a visitor can’t see are a plain white card with a lock and muted text, not a coloured block. A sent introduction request is green text on white with a line, not the green tint. | Jelena, Phase 16 |
| 2026-12-01 | Pages | The catalogue’s direction is Header and grid (of three: Header and grid, Filter sidebar, Savings list). The approved Page header with the figures as chips; for anyone not verified, its closing note (lock, “unlocks once verified”, Apply now →) under the figures, so the title comes first and the next step closes the card, not a purple band on top. The category pills, search and filters sit on the page grey with the line border, like the landing spotlight’s catalogue card, so filtering reads as its own area; the same treatment for filter areas on the next pages. Then four cards a row. Purple stays on the plate’s light, the current pill, the tier badges and links. | Jelena, Phase 16 |
| 2026-12-01 | Pages | OLD and NEW always sit side by side. Every page in the Design System that has a new version shows today’s Original (OLD) next to it (NEW): the component pages, and every screen once it has new variants. Until a direction is chosen, the NEW sheet switches between the variants; once one is chosen, it shows that one. The full page viewer keeps every variant as a tab after the Original. | Jelena, Phase 16 |
| 2026-12-01 | Pages | The landing’s direction, and the one the next pages follow, is Lit plate (of five: Editorial, Navy band, Lit plate, Catalogue first, The journey). The approved Page header grows into the landing’s hero: a rounded plate inside the page width, Silver Phoenix lit from the top right with Opulent Violet and Purple Frenzy soft, an ExtraBold navy headline, the figures as white chips. The sections below sit on the same rounded plates (Silver Phoenix, or navy lit with Purple Frenzy for the vendor call), with white Cards and navy icon tiles inside, so the landing and every other page read as one site. The other four stay in the viewer for comparison. | Jelena, Phase 15 |
| 2026-11-30 | Components | One pair of words: Log in and Log out (verbs), login (noun: the login page). The app mixed them: the header said Log in, the form Sign in, the account button Sign out. Log in matches the header, the /login route and the API (/auth/login, /auth/logout). In apps/web: the login form's title and button (“Log in”, “Logging in…”), the log out button, “Logged in as” in the account menu, and the Sign in page title and share metadata. | Jelena, Phase 13 |
| 2026-11-30 | Brand | The brand book forbids gradients on the logo only (monochrome logo; logo misuse: “no shadows, outlines or gradients”). The brand book itself shows the white logo on a navy-to-Purple-Frenzy gradient, so a gradient behind things is part of the brand. Soft light on a brand colour is allowed in the UI: the Page header’s plate and the sign-in panels (AuthLayout). docs/brand/README.md adds “Avoid generic gradient washes in the UI as well”; that line is a note written for the repo, not in the brand book, so it needs updating with its author. | Jelena, Phase 14 (Brand book_NewsTech.pdf checked) |
| 2026-11-30 | Components | The final UI element list, all in packages/brand-ui: Button (tones primary, success, destructive, secondary; variants default, outline, light, ghost, link; sizes lg 48, default 44, sm 40) with CopyButton; Input, PasswordInput (show/hide), SearchInput, Textarea, Select, Combobox, Checkbox, Radio, RadioGroup, RadioCard, FileInput, ImageDropzone (an image such as a logo: preview, Upload / Replace and Remove, drop area), InputOTP, Calendar, DateField and DateRangeField, with Field, Label, FieldDescription and FieldError; Badge (five tones, light, solid, outline); StarRating; Alert (five tones), Toast, Dialog, AlertDialog, Tooltip, Popover; Card (sm, default, lg, media; default, muted, primary, inverse, dashed; selected) for every box, tile and panel; IconTile; Table and Pagination; DescriptionList (label and value pairs, as a grid or as rows); EmptyState (lg on a page’s list, sm inside a Card or a table’s frame: illustration, title, description, action) with 12 spot illustrations in the app’s look, one per kind of empty (Feedback › Empty states); NavLink, SidebarNavLink, Breadcrumb, PillNav, DropdownMenu, Steps; PageHeader (replaces PageHeading); PageContainer and PageContent (1600 max) and AdminLayout with AdminSidebar and AdminTopBar; Avatar (sm, default, lg); StatusIcon and StatusLayout; CodeBlock. Not built: Tabs (the app's tabs are pill links), Separator (dividers are borders), Skeleton. Spinner stays as it is in apps/web. Added in the cleanup (design-cleanup): Stack, Inline and Grid, OnThisPage and Pipeline. FormSelect and FilterSelect become one SelectField in apps/web; every field error, the code upload's too, goes under its field. | Jelena, Phase 13 |
| 2026-11-30 | Components | Superseded by design-cleanup: brand-ui now has Stack, Inline and Grid. Originally: the layout primitives (Stack, Cluster, Split, Switcher, Grid, Container, Section title) are kept as they are; they get no new version. Separator is not built: dividers are borders (divide-y, border-t). | Jelena, Phase 13 |
| 2026-11-30 | Design System | The Design System's own chrome (sidebar, top bar) uses Inter in a compact size, so it never reads as part of the brand it documents. Its 32 px controls are below the app's 44 px target on purpose: it is a local tool, not app UI. | Jelena, Phase 7 review |
| 2026-11-30 | Design System | The brandbook app is named “NewsTech Design System” and lives in apps/design (package design, port 3100). | Jelena, Phase 7 |
| 2026-11-30 | Process | Four phases in order: current-state artifact, Design System with the current state, component refinement, page redesign. Nothing new is designed until the current state is complete. | PRD, Implementation Decisions |
| 2026-11-30 | Process | Jelena alone approves moving from one phase to the next. All deliverables are in English. | PRD, Implementation Decisions |
| 2026-11-30 | Process | The current state is captured read-only from the locally running app with sample data. States the data can't produce are reconstructed from code and labelled “Reconstructed from code”. | PRD, Phase 1 |
| 2026-11-30 | Pages | Every screen, admin included, is shown at 1728 px, 768 px and 375 px. | PRD, Phase 1 |
| 2026-11-30 | Process | The source of truth for the current state is the implemented code (all 29 pages), not the earlier design canvas, which is used only for comparison. | PRD, Phase 1 |
| 2026-11-30 | Pages | Each screen shows its main state plus key variants behind a switch (role, newsroom status, empty/filled, form errors). Loading and per-field errors are documented once as patterns. | PRD, Phase 1 |
| 2026-11-30 | Components | Every component is inventoried, the 13 shared primitives and the web app's composite components, with states and variants, each labelled with its code location. Layout shells and transactional emails are captured too. | PRD, Phase 1 |
| 2026-11-30 | Design System | Sections: Brand (Logo, Backgrounds, Colors, Typography, Mark, Voice, Rules, Decisions), Web app (Tints, Components, Public site, Member area, Admin, Layouts, Emails, Share images) and Explorations (Palettes). Brand content comes from The Fix's brand book and the repo's brand tokens and logo files. | PRD, Phase 2 |
| 2026-11-30 | Design System | Palettes moved from Brand to Explorations: its pairings, colour blocks and proposals are a working space for colour combinations, not settled brand rules. Brand keeps the colours themselves (Colors). | Jelena, Phase 10 review |
| 2026-11-30 | Design System | The Design System is a Next.js app in the monorepo on the same stack as packages/ui. It runs locally only and is not deployed. | PRD, Phase 2 |
| 2026-11-30 | Design System | The shell is modelled on the Stižem brandbook and built from scratch. It grows only when content needs it: the Details panel with logo and colour downloads, the variant viewer with the redesign. | PRD, Phase 2 |
| 2026-11-30 | Design System | Current components and screens are a frozen “Original” snapshot, never live renders of apps/web, which would mean changing the repo owner's code. | PRD, Phase 2 |
| 2026-11-30 | Design System | One shared fixtures module mirrors the seed data; deliberate edge cases (long names, missing logo, empty pool, zero savings) appear only on state sheets. The seed itself is not changed. | PRD, Phase 2 |
| 2026-11-30 | Components | New components live in packages/brand-ui. packages/ui and apps/web are not touched; moving the new system into the app is a separate, later step. | PRD, Phase 3 |
| 2026-12-01 | Components | The final composite component list (the UI elements, PageHeader, the page and admin layouts and StatusLayout included, are in the entry above). New composites in packages/brand-ui: FilterBar with SearchInput (replaces CatalogFilters, ListFilters, the code pool’s search and the PeriodForm’s fields; the report Period is PillNav presets + FilterBar), AuthCard (default and inverse) with AuthCardLink and AuthLayout (replace AuthCard and the login, register, forgot and reset password cards), AdminMobileBar (the admin sidebar under 1024 px). To be rebuilt in apps/web from brand-ui elements (drawn in the Design System): one SiteHeader for public and member with the account menu and the phone menu (replaces SiteHeader, MemberHeader and MobileNav), SiteFooter, the cookie notice, the viewing-as bar; ProductCard; the Pricing panel with the member’s claim, ClaimedDiscount and the introduction request; the Ratings card (RatingSummaryText inside, StarButton → StarRating); ServiceCard; OnboardingCard (AuthCard with an illustration, Steps above it; onboarding-direction); the member pages’ header: the Member header (DashboardGreeting and MembershipSummary → the Savings header on the dashboard, dashboard-direction; also Add-on services, Webinars, Settings); StatTiles → StatTile on Card sm (admin; HeroStats with the landing in Part D); the claim cards and ClaimRow, ActivityList as a timeline, ServicesTeaser, WebinarList, the empty ClaimList → EmptyState (BrowseCatalogueButton → its Button action); AuditHistory; the admin panels (AdminPanel → Card: code pool, Redemption API keys, reporting tiles, Top products, Report history), the admin tables (Newsrooms, Vendors, Products, claimed discounts, reconciliation preview, vendor report) and the detail panels (newsroom profile, Membership, Account, Personal data, verification queue and decision, product side panels, the logo field → ImageDropzone); DiscountModelPicker → RadioGroup of RadioCards. Merged into an element: ContentCard → Card; LockedNotice, PoolEmptyNotice, RedemptionInstructions, AdminMessage, LowPoolBanner → Alert; TierBadge and StatusPill → Badge; VendorLogo → Avatar; MarkUsedButton and LogoutButton → Button; CategoryPills, CatalogTabs, the queue tabs and the period presets → PillNav; PageHeading, AdminPageHeader and OnboardingHeading → PageHeader / StatusLayout; StatusIcon → StatusIcon; CodeBlock → CodeBlock; the 2FA code field → InputOTP; every empty list → EmptyState. Left for Part D with their pages: the landing sections, the page-level forms and views, the questionnaire. | Jelena, Phase 14 |
| 2026-11-30 | Pages | Redesigned pages are shown in a full-screen variant viewer (back to the Design System, variant tabs with Original first, a one-line description, Desktop / Tablet / Mobile, Open separately) and composed from packages/brand-ui with the shared mock data. | PRD, Phase 4 |
| 2026-11-30 | Pages | Pages are redesigned in waves: landing (4–6 directions), then Catalog, Product and Dashboard (2–3), then Apply, Onboarding, Login and key admin screens (1–2), then everything else (1). | PRD, Phase 4 |
| 2026-11-25 | Brand | Agrandir Bold is used only for one- to three-word statements, once in the app (the landing hero). Its web licence is still to be confirmed by The Fix. | D-38, docs/08-open-questions.md |
| 2026-11-25 | Brand | The primary logo is 40 px high in the website header, following the guide's own mockup rather than its 75 px minimum, pending client confirmation. | docs/brand/README.md, docs/08-open-questions.md |
| 2026-11-25 | Brand | Brand colours are implemented once as tokens in packages/ui (palette plus derived text-safe tokens) and never hard-coded. Manrope for everything, headlines with -0.02em tracking, pill buttons, 12 px inputs, 16 px cards. | D-37, docs/01-architecture.md |