Commit Graph
20 Commits
Author SHA1 Message Date
Alessandro b080998f09 Remove Connect prefix from welcome channel entries
Display each channel name directly so entries read Telegram, Email,
WhatsApp, or the installed plugin name. Update the discovery contract and
existing regression assertion to match.

Validation: all six welcome composer tests pass, and the live runtime
serves the updated markup. Browser rendering was not rechecked.
2026-11-01 01:24:04 +01:00
Alessandro 6d395ddeba Add channel plugin discovery to the welcome screen
Add a puzzle-icon "Find channels plugins" text button below the channel
buttons, reusing the welcome footer styling. Open Plugin Hub Browse with
the channels tag selected and any previous search cleared. Keep the
Channels filter visible even when no plugins have the tag.

Update the owning docs and regression coverage. Verified with 21 focused
tests and live browser checks for navigation, search reset, mobile layout,
and keyboard focus.
2026-11-01 00:19:17 +01:00
Alessandro 7c7e1bd219 Fix welcome card ordering, sizing, and drag controls
Keep the move menu open when focus passes between its buttons so Move down
works with both mouse and keyboard.

Add a saved half/full-width toggle for System Resources and adapt its meters
and footer to the panel width. Stretch the accounts and channels cards to
match their row height, together or beside taller panels.

Keep card drag handles visible while preserving hover and keyboard-focus
visibility for the greeting/composer and Quick Actions controls.

Add width persistence coverage and update the owning UI contracts. Verified
with focused Node/Python tests and live browser checks for ordering, saved
layout, sizing, drag controls, desktop/mobile layouts, and both themes.
2026-10-31 22:54:41 +01:00
Alessandro 3f30f6479b Refresh CLI onboarding preview and documentation screenshots
Replace the onboarding terminal preview and CLI guide screenshots with optimized full-colour captures of the current vanilla CLI. Use neutral workspace paths, remove image metadata, and keep shared captures identical across the documentation repositories.

Update host-picker wording, automatic connection guidance, chat tabs and model controls, and Browser mode scope. Version the onboarding image URL to refresh browser caches and document capture ownership.

Validation: reviewed onboarding at desktop and mobile sizes, verified documentation links and image integrity, and passed git diff --check.
2026-10-30 19:23:17 +01:00
Alessandro 3d7c2d8593 Keep welcome discovery cards compact beside taller panels
Keep account and channel cards at their natural height when paired with a taller welcome plugin. Adapt account content to the card width and wrap channel buttons without stretching account badges.

Use the neutral text palette for the shared Files and Editor tree clear icon. Update the owning layout contracts.

Validation: 8 welcome Node checks and 8 focused Python tests passed. Live checks covered half/full width, narrow desktop and 390px mobile layouts, both themes, and file-tree filtering.
2026-10-30 14:21:32 +01:00
Alessandro 0ef5d92c71 Make welcome blocks reorderable and extensible
Allow welcome blocks to be reordered with mouse and touch drag handles,
keyboard controls, and a move menu. Persist the order in the browser,
commit DOM order on drop, and provide accessible announcements, reduced
motion, cancellation, and per-mount cleanup.

Discover blocks from their HTML metadata so plugins can join dynamically
without a central ID list. Preserve positions while plugins are absent,
validate unique IDs, and pair adjacent half-width blocks responsively.
Keep discovery cards in their Alpine scope and leave the shared component
and extension loaders unchanged.

Place the single Show all dismissed control below every welcome block and
extension contribution, retaining left alignment and unified restoration.
Document the plugin contract and cover ordering and restoration behavior.

Validation: 80 focused Node and pytest checks passed during implementation.
Verified mouse, emulated touch, keyboard, persistence, dynamic plugin
registration, and restoration in the live WebUI at localhost:32081.
Verified the final restore-button placement and reran both restore tests.
2026-10-30 12:48:29 +01:00
Alessandro 04a061442a Make welcome sections dismissible with unified restoration
Allow the greeting/composer and Quick Actions to be hidden independently, with browser-local persistence and hover, keyboard, and touch-accessible close controls. Preserve the composer draft while hidden.

Match System Resources controls to discovery cards, retain readable light-theme colors, and replace the two restore paths with one flush-left Show all dismissed action for sections, notices, accounts, and channels.

Validation: eight focused tests passed. Verified desktop, touch, keyboard focus, both themes, draft preservation, partial/all-dismissed states, reload persistence, and restoration in the live WebUI at localhost:32081.
2026-10-30 10:24:15 +01:00
linkliti ee970b5f0d refactor(webui): replace hardcoded accent blues with the highlight token
Positive accent controls hardcoded six blue literals across the WebUI and bundled plugins, so custom accent-color switchers had to patch each surface separately. Route them through var(--color-highlight) — mapped in the light block for the first time — and keep each surface mix percentages, deriving hover and active steps with the established black color-mix pattern; the redundant light-mode unread override collapses into the single var-based rule. Login keeps its literals because the login page loads no theme tokens, and status colors like queue orange, stop red, and success or error toasts stay hardcoded as semantic tones.

Validation: pytest welcome/whats-new/agent-editor/model-config/speech/sidebar/self-update suites (82 passed; 2 stop-agent failures pre-exist at HEAD, proven by stash run); rg confirms no accent literals outside login.css.
2026-10-13 18:06:47 +03:00
frdel 93d1131ce1 Unify WebUI icons and fix message collapsing
Introduce the x-icon custom element and migrate first-party WebUI and bundled plugin markup while retaining legacy Material icon compatibility. Defer icon-font readiness until the splash-installed document is parsed so Firefox does not leave icons transparent. Centralize chat message collapse handling, avoid false Show More controls on short user messages, and align grouped-message pagination styling. Update DOX and add regression coverage for the icon and collapse behavior.
2026-07-31 13:32:41 +00:00
Alessandro caf5c2f129 Refine onboarding model setup flow
Remove composer blocking so sends always create or enter a chat and route missing-model messages through the in-thread gate.

Make Utility model selection explicit by removing same-as-main sync and defaulting to each provider's utility model when available.

Compact onboarding success channel cards and update static regressions for the new onboarding/gate behavior.
2026-07-02 17:29:40 +02:00
Alessandro 04ecaac0cd Add deferred first-send model gate
Move missing-model setup out of the welcome screen and into an in-thread gate that preserves the pending prompt, survives refresh, and auto-dispatches after a usable model is configured.

Reuse existing onboarding, OAuth account settings, and advanced model configuration surfaces instead of duplicating provider forms. Connected OAuth accounts can now populate Main and Utility defaults when no chat model is configured.

Update model readiness checks, focused static regressions, and DOX contracts for the new deferred setup flow.
2026-07-02 17:29:40 +02:00
Alessandro 489acfe8c6 Refine welcome screen setup surfaces
Fold the blocking onboarding state into the welcome composer, refresh the account and channel tiles, and keep system resources aligned with the renewed Welcome Screen layout.

Update model-config, OAuth, and welcome static tests to pin the new CTA, dismissal, copy, and layout contracts.
2026-06-23 02:21:44 +02:00
Alessandro 0e262f7b87 Refresh welcome screen and composer
Rework the welcome screen around the shared new-chat composer, renewed quick actions, discovery cards, OAuth accounts, and dedicated system resources panel.

Restore static button colors and neutral surfaces, move microphone state feedback onto the icon, and keep Rubik/code-font composer behavior.

Add focused static regressions for the welcome composer, OAuth discovery panel, and speech button contract.
2026-06-22 15:12:20 +02:00
Alessandro 4018a81249 Add provider-aware OAuth accounts to onboarding
Load OAuth account providers from the status API on the path, cloud, and setup steps instead of relying on a Codex-only strip. Support provider-specific setup fields, device-code and browser callback flows, model loading by provider, the local DeepSeek icon, and the polished account heading copy.
2026-06-02 16:18:59 +02:00
Alessandro 4aa701fcb2 Unify OAuth account management surfaces
Add a shared provider-registry-backed OAuth status summary for the status API and discovery cards. Redesign the OAuth settings modal around provider rows, inline usage, provider details, and account-backed model slots while keeping legacy Codex compatibility fields intact.
2026-06-02 16:18:48 +02:00
Alessandro bb48fad754 Improve Codex OAuth model setup UI
Add Main and Utility Codex model selectors to the OAuth plugin config and persist them through the existing model config API.

Clean up the OAuth config layout by removing the redundant Check Models action, moving the available model list above Advanced, softening borders, and removing repeated account labels.

Show account quota usage bars on the welcome dashboard Codex card and add static coverage for the selector, model list, and quota UI.
2026-05-22 17:22:47 +02:00
Alessandro ef98275c8c Improve final onboarding CLI connector hint
Tighten the final onboarding discovery cards so the setup suggestions take less vertical space.

Add a compact CLI Connector card with macOS/Linux and Windows install commands plus a small A0 terminal preview asset.
2026-05-09 16:47:52 +02:00
Alessandro f6bc52201d Redesign first-run onboarding
Introduce a guided Cloud versus Local first-run modal with provider selection, account connection, model picking, and a ready state.\n\nAdd the reusable discovery auto-modal trigger, chat-created startup checks, onboarding-owned provider presentation metadata and assets, OAuth affordances, local provider guidance, and model-search hardening.\n\nKeep runtime provider data centralized while preserving onboarding-specific copy, logos, and docs links in the onboarding plugin.

Update onboarding.html

Update onboarding.html
2026-05-09 07:46:36 +02:00
Alessandro 332ffdcf4d Add ChatGPT Codex OAuth discovery banner
Add a discovery hero for the OAuth plugin below the Telegram, Email, and WhatsApp integration cards. The banner uses the supplied OpenAI artwork, opens the OAuth plugin settings, and adapts its copy when a ChatGPT/Codex account is already connected.
2026-04-28 16:14:53 +02:00
Alessandro 0061b3a511 feat: add built-in plugin discovery cards to the welcome screen
Add the always-enabled `_discovery` plugin to turn the welcome screen into a discovery surface for the Plugin Hub and A0 integrations.

Includes a hero card plus Telegram, Email, and WhatsApp feature cards, with persistent dismiss/restore state, CTA routing to plugin config screens, and self-contained placeholder artwork. Implemented entirely through the existing WebUI extension mechanism with no core welcome-screen changes.

stores cleanup

layout polish and onboarding integration

Move feature card titles beside thumbnails for better space efficiency
and visibility. Restructure card markup and styles to support a fluid
grid layout and horizontal alignment.

Integrate discovery cards into the final onboarding step via a new
'onboarding-success-end' extension point, ensuring new users see
extension opportunities immediately after setup.

Hide discovery cards on the dashboard while the missing API key
onboarding banner is visible to reduce UI noise and user confusion during initial config.

update discovery card initialization and loading logic

Enhance the discovery store to fetch cards from the API, improving the dynamic loading of discovery cards based on user context. This change optimizes the user experience by ensuring relevant cards are displayed immediately after onboarding and when modals are closed.

And on top of that, there's a proper backend for these new cards.
2026-03-31 19:59:16 +02:00