mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-03 20:17:26 +01:00
* docs(agents): keep the Next.js agent-rules block as next dev writes it next dev regenerates the block between the nextjs-agent-rules markers and now writes its heading one level down. Committing it keeps the tree clean, as the block itself asks. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * fix(a11y): text that reads in both themes, ink that follows its fill, 44px targets A measured audit (99 pages, 390 and 1440, dark and light) found 1,729 elements under 4.5:1, text that was invisible in the default dark theme, and 1,438 tap targets under 44px on a phone. This fixes the causes rather than the instances, and adds a gate for each class. Colour - Text ramp: secondary and tertiary now clear 4.5:1 on every surface in both themes (tertiary alone caused 81% of the failures). Primary is unchanged. check:token-contrast holds 124 pairs. - Status colours are tuned to be read as words; `bg-status-*` paints new fill tokens, so a danger button stays red and a warning bar stays amber. - `text-on-public` for the band that is near-black in both themes: the closing banner on About, Docs, Security and Domains showed only its button in dark. - Fills that flip with the theme carry `text-fg-inverted`, not white: the step badges on How it works, the share sheet label, the wallet stats header. Orange fills carry `text-on-accent`. - `text-fg-muted` and resting alpha on copy are gone (65 lines). check:accent-ink now holds six ink rules, across multi-line cn() calls. - Article and FAQ links are ink with a full-strength underline. Structure and touch - Footer: 44px links on touch, two columns on a phone, no duplicated bottom bar. check:tap-targets holds every compact height. - Switch: 44x44 hit area, off is an outline and on is a fill; the Cat permission switches and expanders are named. - One h1 on sign-in, the Cat chat, the 404 and route errors; no nested <main>; one home link in the header; progress bars announce a value. - The 404 names the failed address (read in the browser only, since the build prerenders it once), and offers search, home and Discover. - Entity list tabs that pointed at panels which do not exist are a segmented control; its selected cell has an edge in dark. Motion and focus - A focus outline in forced-colours mode (the ring is a box-shadow). - Smooth scrolling only without prefers-reduced-motion, in CSS and at every scripted scroll (src/lib/scroll-behavior.ts). Also - Headings no longer auto-hyphenate ("permission-less"). - The status page drops a hard-coded "Bitcoin Integration" row that drew as an outage, and its headline follows the worst row shown. - 10px text on phones is 12px. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * fix(a11y): say only what is held; menu rows and the last in-app orange in touched files Review of the previous commit: - The changelog said every text colour clears 4.5:1. Grey text and the status colours do, and a gate holds them; orange words elsewhere do not yet. The entry says the former, and keyboard and screen-reader work has its own line. - AGENTS.md and the frontend rules said a status fill takes text-fg-inverted; the warning fill is amber in both themes and takes text-warning-foreground, which is what the gate enforces. - Dropdown menu rows are 44px on touch, as select rows are. - Pricing: the plan card and its badge are neutral; orange is the action. - Profile claims, the Loki chip, "Read article" and the model picker's unlock lines are ink: they are in-app, and as text the orange is 2.1:1 in light. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * fix(send): the committing button stays above the phone tab bar MoneyActionBar stuck to the bottom of the viewport, which is where the fixed tab bar is drawn, at a higher z-index. After choosing a person and an amount, "Review payment" sat at y 787-831 of 844 under the bar (763-844) and its centre hit-tested to the bar's Receive button; the same at 390x667 and 320x568. It now sticks at the tab bar's clearance. While the software keyboard is up the tab bar is not rendered, so the bar returns to the bottom edge and takes the home-indicator inset itself. Measured after, field blurred: button 707-751, bar 763-844, hit = button, at all three sizes; keyboard open: button at the bottom edge, hit = button. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * fix(ci): check:broken-words opens the pages it did before build-and-smoke was cancelled at its 25-minute limit on this branch. The step that never finished was check:broken-words: this branch had added seven public pages to it, 39 screens in place of 18, and it ran for 20 minutes without output before the job was stopped. The page list is main's again. What the extra pages were there to hold, that headings do not auto-hyphenate, is pinned by the unit test on globals.css. AGENTS.md records the budget so the next addition is made with it in mind. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * fix(a11y): the hand-over page does not nest a second main landmark The identity hand-over page (#1609) wraps its content in <main>, and the app shell already renders <main id="main-content"> around every route, so the page had two. Its wrapper is a div; the heading and layout are unchanged. Caught by the page-structure test this branch adds. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn --------- Co-authored-by: Claude <noreply@anthropic.com>
Features Documentation
Feature-level notes. The list of entity types is not repeated here — it lives in
src/config/entity-registry.ts.
- User Profiles - Profile creation and management
- Authentication - Sign-in and sessions
- My Cat chat API - The Cat's chat surface
- Bitcoin Wallet Guide - The public wallet guide page
- Events, end to end - Events audit, plan and status
- Investor Portal - The investor portal