Skip to content

Settings page redesign mockups (#258) - #259

Draft
fboucher wants to merge 1 commit into
v-nextfrom
feature/258-settings-mockups
Draft

fboucher wants to merge 1 commit into
v-nextfrom
feature/258-settings-mockups

Conversation

@fboucher

Copy link
Copy Markdown
Owner

Requested by Frank · project thread

Part of #258. Mockups only, not for merge as-is. Three layout options for the Settings page so Frank can pick a direction.

What's in it

  • /settings-mockup (index), /settings-mockup/a (tabs), /settings-mockup/b (cards), /settings-mockup/c (accordion), all in SharedUI/Components/Pages/SettingsMockups/. They use static sample data and nothing is saved. They require sign-in like the real page.
  • One shared SettingsMockupFields component renders each group's fields, so every option shows exactly the same settings.
  • SettingsMockupTests checks that every current setting label appears and that each option renders all six groups.
  • Screenshots in docs/mockups/settings-258/.
  • The production /settings page, the Settings model and the save logic are unchanged.

Once an option is chosen, the follow-up PR should delete SettingsMockups/, SettingsMockupTests.cs and docs/mockups/settings-258/. Note for option A: FluentTabs needs a <FluentMenuProvider /> for its overflow menu on narrow screens (the mockup page adds its own).

Grouping

Every option uses the same six groups, and every current setting appears in each one:

Group Settings
Appearance Theme, Accent color, Font size
Reading notes Last bookmark date, Reading notes counter (+1 button)
Content filters Favorite domains, Blocked domains
AI Provider (API key, Base URL, Model name) and Prompts (Summary, Search)
Feeds Background feed refresh, Refresh interval
Bookmarklet Drag button, tip, read-only code

I kept the brief's grouping but merged the AI provider and the two prompts into one AI group with two sub-headings, since the prompts only matter once a provider is set. The domains are called Content filters because they only feed AI search. All fields share one width rule (max 720px, short fields in a responsive grid that stacks at phone width), each field has a one-line hint, and one Save bar sits at the bottom instead of the Save button in the middle of the page. Small extras shown: Refresh interval is disabled when background refresh is off, and Base URL and Model name sit side by side on wide screens.

Option A: Tabs (/settings-mockup/a)

One FluentTab per group, Save applies all tabs. Shortest page, but on a phone only two tabs fit and the rest go into a "+4" overflow menu, so the active tab (AI here) can be hidden.

Desktop Phone
Light a-tabs-desktop-light a-tabs-phone-light
Dark a-tabs-desktop-dark a-tabs-phone-dark

Option B: Cards (/settings-mockup/b)

Every group in a bordered FluentCard on one scrolling page, with jump chips at the top. Short groups sit side by side on desktop; long ones span the full width. Everything is visible at a glance, at the cost of a long page on phones.

Desktop Phone
Light b-cards-desktop-light b-cards-phone-light
Dark b-cards-desktop-dark b-cards-phone-dark

Option C: Accordion (/settings-mockup/c)

FluentAccordion sections whose headers show a one-line summary of the current values (for example "Next #650 · since 2026-11-16" or "Every 1 h"), so you can check settings without opening them. Reading notes starts open as the most-edited group. Compact on phones too.

Desktop Phone
Light &lt;a href="https://raw.githubusercontent.com/fboucher/NoteBookmark/b2d60c35c84dd9a65953a3c90d210d872bf76ea5/docs/mockups/settings-258/c-accordion-desktop-light.png"&gt;&lt;img src="https://raw.githubusercontent.com/fboucher/NoteBookmark/b2d60c35c84dd9a65953a3c90d210d872bf76ea5/docs/mockups/settings-258/c-accordion-desktop-light.png" width="420" alt="c-accordion-desktop-light"> &lt;a href="https://raw.githubusercontent.com/fboucher/NoteBookmark/b2d60c35c84dd9a65953a3c90d210d872bf76ea5/docs/mockups/settings-258/c-accordion-phone-light.png">c-accordion-phone-light
Dark &lt;a href="https://raw.githubusercontent.com/fboucher/NoteBookmark/b2d60c35c84dd9a65953a3c90d210d872bf76ea5/docs/mockups/settings-258/c-accordion-desktop-dark.png">c-accordion-desktop-dark c-accordion-phone-dark

All sections expanded (/settings-mockup/c?open=all):

&lt;a href="https://raw.githubusercontent.com/fboucher/NoteBookmark/b2d60c35c84dd9a65953a3c90d210d872bf76ea5/docs/mockups/settings-258/c-accordion-expanded-desktop-light.png"&gt;&lt;img src="https://raw.githubusercontent.com/fboucher/NoteBookmark/b2d60c35c84dd9a65953a3c90d210d872bf76ea5/docs/mockups/settings-258/c-accordion-expanded-desktop-light.png" width="420" alt="c-accordion-expanded-desktop-light">

Testing

  • dotnet test src/NoteBookmark.BlazorApp.Tests --filter "SettingsMockup|SettingsPageTests": 8 passed.
  • Ran the web app locally and captured the screenshots with Playwright at 1280px and 390px.

Generated by Claude Code

Three temporary layout options for the Settings page, each showing every
current setting with sample data and no storage:
- /settings-mockup/a: tabs, one per group
- /settings-mockup/b: bordered cards on one page
- /settings-mockup/c: accordion with a one-line summary per group

The production /settings page is unchanged. Screenshots (light/dark,
desktop/phone) are in docs/mockups/settings-258.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RmvEuUuRtvhq4cYFrv3szX
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Health
NoteBookmark.AIServices 97% 64% ✔
NoteBookmark.Api 90% 84% ✔
NoteBookmark.BlazorApp 14% 15% ❌
NoteBookmark.Domain 94% 75% ✔
NoteBookmark.ServiceDefaults 96% 75% ✔
NoteBookmark.SharedUI 63% 62% ➖
Summary 76% (3379 / 4435) 72% (1534 / 2129) ➖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

3 participants