Skip to content

chore: remove font customization settings - #31

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
nightcityblade:fix/issue-29
May 16, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
nightcityblade:fix/issue-29

Conversation

@nightcityblade

Copy link
Copy Markdown
Contributor

Summary

Removes the runtime font customization UI and provider so the dashboard continues using the default Inter typography from globals.css.

Changes

  • Removed the Font card from Settings → Theme.
  • Removed the FontProvider from the root layout.
  • Deleted the font switch component, font provider, and persisted font store.
  • Removed unused font translation keys.

Testing

  • npx --yes [email protected] typecheck ✅
  • npx eslint 'src/app/layout.tsx' 'src/app/[locale]/(dashboard)/dashboard/settings/page.tsx' ✅
  • npx --yes [email protected] lint ⚠️ fails on existing unrelated lint errors in src/app/[locale]/invite/[token]/page.tsx and src/components/layout/sidebar.tsx.

Fixes #29

@vercel

vercel Bot commented May 16, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the gkhngyk's projects Team on Vercel.

A member of the Team first needs to authorize it.

@gkhngyk
gkhngyk merged commit 744f6c0 into ansvisor:main May 16, 2026
gkhngyk pushed a commit that referenced this pull request Nov 5, 2026
…n its page (#2148)

* refactor(reports): share the impact ledger's pills, outcome words and ship-row read

Reports' outcome pill colors, "Pending · early signal" label and signed
numbers move to components/reports/impact-parts.ts, and the ship_events
embed (action number, measurement) and measurementOf to lib/impact/report.ts,
so the agent page's "What this agent did" shows a change exactly as
Reports does. Reports reads and renders as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SvzkMf5TZg7yqwaSeMFba9

* feat(chat): read what an agent's runs took live in the last 30 days

GET /api/chat/agents/{id}/impact answers the agent's ship events of the
last 30 days (agent_id) with their measurements, read by Reports' own
impactRow and impactSummary (Improved counts Medium and High verdicts
only), on the brands the person may see as the ledger's policy (00424)
has it. Each change says how it went live (on its own, the reader
approved it, or a teammate) and its run's number among the agent's runs
the person sees, with the run's chat when they may open it. It also
counts the drafts the agent's runs of the last 30 days made that no ship
event names, found through the draft's chat: content_drafts.conversation_id
-> chat_conversations.agent_run_id -> chat_agent_runs.agent_id.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SvzkMf5TZg7yqwaSeMFba9

* feat(chat): show "What this agent did" on the agent page

Between Triggers and Run history, as the owner approved it: the last 30
days, with no period to pick. Changes shipped, Improved X of Y (Medium
and High verdicts only, "—" before any) and Pending; each change with
how it went live ("run #31, on its own", "you approved", "by Sam Lee"),
its outcome in Reports' words and its next checkpoint; how many drafts
aren't live yet; the method line and Open in Reports, as Reports has no
link to one change. Three states: with results, the first week, and
nothing live yet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SvzkMf5TZg7yqwaSeMFba9

* docs(help): what an agent's page says it did in the last 30 days

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SvzkMf5TZg7yqwaSeMFba9

* test(chat): read "you approved" from the ship events #2137 writes

A person's click on a card in an agent run's chat now ships with the
agent and its run (00480, ship.js agentOrigin), execution_mode assisted
and shipped_by the person; the agent's own send stays automated. The card
already reads automated as "on its own" and the rest by who sent it, so
nothing changes in the read: the tests now use that data. Each change in
the credit test names its run, a page sent later from the Content Editor
or the Library (no agent) isn't listed, and the agent's own change reads
"on its own" to every viewer. The card's fixtures ship "you approved" and
"by {name}" rows as assisted, and a page taken down shows #2137's reason.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SvzkMf5TZg7yqwaSeMFba9

* docs(help): find "What this agent did" by its words, and say how a change went live

Agent Center's article gets keywords and synonyms for the agent page's
card (what this agent did, agent impact, what did my agent do), now that
#2136's Onboarding & Help keywords are on main, and its section says the
three ways a change went live: on its own, you approved on a card in the
run's chat (00480), or by a teammate. Sources name agent-impact.ts.
approved-articles.json follows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SvzkMf5TZg7yqwaSeMFba9

---------

Co-authored-by: Claude <[email protected]>
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.

chore(cleanup): remove font customization from Settings → Theme

2 participants