feat: Text Size Setting (S / M / L / XL)#11
Open
robbyczgw-cla wants to merge 1 commit intoibelick:mainfrom
Open
feat: Text Size Setting (S / M / L / XL)#11robbyczgw-cla wants to merge 1 commit intoibelick:mainfrom
robbyczgw-cla wants to merge 1 commit intoibelick:mainfrom
Conversation
b210da1 to
70267f0
Compare
70267f0 to
ceadeca
Compare
Contributor
Author
|
Rebased on latest main to align with the monorepo structure. Ready for review! 🙌 |
samgibson-bot
pushed a commit
to samgibson-bot/gold-dashboard
that referenced
this pull request
Feb 7, 2026
## Phase 1: Fork Setup & Security - Fork ibelick/webclaw as gold-dashboard - Remove apps/landing, rebrand to "Gold Dashboard" - Add missing clsx dependency - Merge community PRs: ibelick#11 Text Size, ibelick#13 Context Window, ibelick#10 Export, ibelick#9 Search - Security: Delete paths.ts (filesystem leak) - Security: Add 30s timeout + WebSocket connection reuse in gateway - Security: Sanitize all API errors via server/errors.ts - Security: 100KB message limit in send.ts - Security: Move sessions DELETE to request body (CSRF fix) - Security: Block javascript: protocol in markdown links - Pin nitro-nightly to 3.0.1-20260206-171553-bc737c0c ## Phase 2: Admin Pages - Add admin layout route with sidebar navigation - Add admin link to chat sidebar - Implement 7 admin pages with API routes: - /admin/status: Agent status, tokens, sessions - /admin/tokens: Usage stats, cost breakdown - /admin/logs: Filterable log viewer with auto-refresh - /admin/cron: Job management with CRUD operations - /admin/config: JSON config editor - /admin/browser: Browser control panel - /admin/missions: Idea file viewer ## Phase 3: Deployment - Multi-stage Dockerfile (node:22-alpine) - docker-compose.override.example.yml - deploy.sh script Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
ceadeca to
f9b4336
Compare
Add adjustable text size for chat messages: - Four sizes: S (text-sm), M (text-base), L (text-lg), XL (text-xl) - Picker in Settings → Chat section - Applied to all message content (user and assistant) - Persisted via Zustand store (localStorage) - Default: M (text-base, matches current behavior) Changes: - src/hooks/use-chat-settings.ts: add TextSize type + textSizeClasses map - src/screens/chat/components/settings-dialog.tsx: add size picker buttons - src/screens/chat/components/message-item.tsx: apply text size class No new dependencies.
f9b4336 to
ab561e1
Compare
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.
Summary
Adds an adjustable text size setting for chat messages. Small accessibility win.
Sizes
text-smtext-basetext-lgtext-xlChanges
src/hooks/use-chat-settings.tsTextSizetype +textSizeClassesmapsrc/screens/chat/components/settings-dialog.tsxsrc/screens/chat/components/message-item.tsxTotal: ~43 lines changed across 3 files
Details
Happy to adjust anything! 🙏