← Back to Pull requests

Redesign the app: plainer wording, larger text, light and dark themes #141

Closed
unknown closed this pull request without merging on Nov 21, 2026 18:12 UTC
View on GitHub
unknown unknown commented on Nov 21, 2026 17:38 UTC
Author

What changed

The app had too much explanatory text, small type, and dense settings and setup screens. This rebuilds the web app and the Mac app around design option B.

Web app

  • Themes: light by default, with dark mode and a sun/moon toggle in the header. The choice is saved per browser in localStorage under the key uncloud.theme. main.tsx applies it before first paint, so a dark theme doesn't flash light on load.

  • Readability: body text is 17px and nothing is smaller than 14px. Text is set in Atkinson Hyperlegible Next, which is bundled locally through @fontsource (OFL-1.1, added to the third-party inventory, licenses and notices). Nothing is loaded from Google.

  • Version under the logo: for example, "Version 0.492 (a553cc1)".

  • - vite.config.ts reads UNCLOUD_VERSION and UNCLOUD_BUILD, and falls back to git when they aren't set.
    - scripts/package-macos-app.sh exports both. The Desktop csproj uses them for InformationalVersion, so the web app and the Mac app show the same version.
  • Navigation: the sidebar is My files, Computers, Backups and Trash, then a Manage section for admins with People and Settings. The account menu (My account, Sign out) moved to the header.

  • Settings (Settings.tsx) is now a page instead of a dialog. It is made of rows that each show the setting, its current value and a Change button:

  • - Location
    - Storage limit
    - Access from anywhere (a switch)
    - Dropbox
    - This Mac (each power warning is one line)
    - Offsite backup
  • People:

  • - The list stays on screen. Each person has a role select, New password, Block/Allow sign-in and Delete.
    - "Add person" opens a side panel. The username is filled in from the name, and a readable passphrase is suggested, generated in the browser with crypto.getRandomValues.
  • First run is two steps (Wizard.tsx): Create your account, then Where should files be stored.

  • Computers (renamed from "My computers"): your computers are listed first, then one "Add a computer" flow in two steps. Syncthing for Windows and Linux is behind a link.

  • Wording:

  • - "Bin" is now "Trash" and "Put back" is now "Restore", including in server messages.
    - Long explanations are cut to a line each.
    - The slogans and the small all-caps labels are removed.

    Mac app (SetupWindow.cs)

  • The welcome window asks "How will you use this Mac?", with two choices: "Store everyone's files here" or "Connect to your Uncloud". The version appears at the bottom.

  • The setup, connect, keep-awake and update windows replace their paragraphs with one line each, plus "Needs your Mac password" where it applies.

  • Windows are wider (520) and the base type is 15.
  • Server, docs and tests: I shortened the power-check messages in HostPower.cs and updated the Trash and Computers wording in Core and Desktop.Core. The README and docs/technical.md use the new labels. I updated the C# and web tests to match the new wording.

    Kept on purpose


  • The folder-count strip above My files (from #140).

  • The "Coming soon" source cards in Add files.
  • Testing


  • Web: tsc is clean and 139/139 vitest tests pass. npm run build bundles the fonts and stamps the version.

  • .NET: 442/442 tests pass, and the Desktop project builds.

  • I checked the web screens in a browser against a local sandbox server, in light, dark and at phone width:

  • - the shell and My files
    - Settings
    - People and Add person (created a test member)
    - the full first-run flow on a fresh sandbox, from create account through choosing a folder to My files

    For the reviewer


  • The Mac app windows have not been opened. They compile, but I didn't launch the app because it could touch the real Uncloud setup on the dev machine. Please check the welcome, setup and update windows from a packaged build.

  • I haven't run the full scripts/check.sh.

  • The Bonjour discovery test (A_host_announced_on_this_network_is_found_with_where_to_reach_it) failed when run filtered, and it fails the same way on unchanged main, so it looks environmental. It passed in the full run.
  • 🤖 Generated with Claude Code

    Diff: 520 lines (+390 / -130) across 6 files Reviewer: ethanteng Review duration: 33m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 520 lines diff across 6 files
    0.48
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.374
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #141"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 47.8% (MEDIUM) · Higher = larger blast radius
    47.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 18.9% · Safe to merge
    18.9%