Skip to content

ci(clicks): switch to a cloud model through the presets - #350

Merged
adeelahmad merged 1 commit into
mainfrom
claude/project-thread-wssdga
Oct 11, 2026
Merged

adeelahmad merged 1 commit into
mainfrom
claude/project-thread-wssdga

Conversation

@adeelahmad

Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Follows #334 (cloud model presets) and #325 (the phone survey), both merged.

Description

Before: the survey's "Switch to a cloud model" journey typed the provider's address and model in Settings › LLM provider, so the baselines held 5 clicks + 40 keys on a computer and 7 taps + 39 keys + 2 swipes on a phone.

After: the journey clicks OpenAI under Cloud providers (#334), which fills in the address and model and puts the cursor in the key field, then pastes the key and saves. Both baselines come from fresh runs of ci/clicks/run.sh and ci/clicks/run.sh --device phone on this branch:

Switch to a cloud model Before After
Computer 5 clicks, 40 keys 3 clicks, 2 keys (the paste and Ctrl+S)
Phone 7 taps, 39 keys, 2 swipes 5 taps, 1 key (the paste), 1 swipe

Every other journey's counts are unchanged, except the phone setup wizard needs 1 swipe instead of 2. The page list gains Settings › NFS, SMB and Shares (from #295, #305, #324).

Motivation and Context

Adeel's ask to cut clicks, keys and touches; the brief for #334 asked for both baselines to be updated with the measured numbers. They couldn't be in #334 because the journey and the phone baseline only arrived with #325.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change; ! in the title)

CI only: a survey journey and its baselines.

Checklist:

  • The title is a Conventional Commit.
  • My code follows the code style of this project (make hooks checks it on commit).
  • I added or updated tests. The journey is the test; both runs pass locally with --fail-on-regression.
  • My change requires documentation updates, and I have updated docs/ accordingly. n/a: CI only.
  • Users need more than the title to understand it, so I wrote it under ## Unreleased in CHANGELOG.md. n/a: CI only; feat(settings): cloud model presets in Settings and the setup wizard #334 has the user-facing entry.

Done questions (AGENTS.md)

  • Goal: the survey now measures the preset path; merges on green CI.
  • Agents: n/a, CI only.
  • Zero setup: n/a, CI only.
  • Fewest clicks and keystrokes: this records the cut (5 + 40 to 3 + 2 on a computer, 7 + 39 + 2 to 5 + 1 + 1 on a phone).
  • Configurable: n/a, no settings.
  • Light: n/a, CI only.
  • Private and secure: n/a; the journey saves a stand-in key, as before.
  • Cost: n/a, the stand-in model answers.
  • User decides: n/a, no product change.
  • Upgrades: n/a, no stored data.
  • Honest: the baselines are copied from the runs, not edited.
  • Tests, docs and generated files updated (baselines regenerated from runs).
  • Open standards; no new dependencies.
  • Result reported with evidence. Refine later: on a phone the floating Ask button covers Save on Settings pages.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Bmpwkzx9nwb1vcDxNMagtu


Generated by Claude Code

The cloud-model journey picks OpenAI from Settings › LLM provider's cloud
providers (#334) instead of typing the address and model, and both
baselines come from fresh runs: computer 3 clicks + 2 keys (was 5 + 40),
phone 5 taps + 1 key + 1 swipe (was 7 + 39 + 2).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bmpwkzx9nwb1vcDxNMagtu
adeelahmad pushed a commit that referenced this pull request Oct 11, 2026
The same change as #350: Settings › LLM provider has cloud presets (#334), so
the journey picks OpenAI and pastes the key instead of typing the address and
model, which the form no longer has as plain text boxes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0173hj1h6qEeBT7zMzCgedwo
@adeelahmad
adeelahmad merged commit 78833be into main Oct 11, 2026
10 checks passed
@adeelahmad
adeelahmad deleted the claude/project-thread-wssdga branch October 11, 2026 02:08
adeelahmad pushed a commit that referenced this pull request Oct 11, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0194jTK9wbki29B4LcS7aKHG
adeelahmad pushed a commit that referenced this pull request Oct 11, 2026
…agent-connect baselines on main

The cloud-model journey from #350 (the Settings presets from #334 broke the old
one on main), with #350's baselines and the agent-connect entry from a run of
this branch on main.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JYGqrDpgP3Gcw1Jwf5mwT8
adeelahmad added a commit that referenced this pull request Oct 11, 2026
* ci: count clicks and keystrokes per feature, with a baseline

A Playwright survey (ci/clicks) drives a fresh Lens from the web installer
through setup and 19 features, counting clicks, keys and passkey prompts per
feature, module and page. The Clicks workflow fails when a journey takes more
than baseline.json.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018XZkebEbpvyi9y3qmDVD8V

* ci(clicks): read --compare from the caller's folder; scroll past a covering button

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018XZkebEbpvyi9y3qmDVD8V

* ci(clicks): summary step without A && B || C

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018XZkebEbpvyi9y3qmDVD8V

* ci(clicks): survey every module, and on a phone with taps and swipes

The survey now runs twice, on a computer and on a phone (Pixel 7, touch),
where clicks are taps, swipes to reach an off-screen control count, and
journeys use buttons instead of keyboard shortcuts. Twelve journeys cover
the modules the first survey left out: connecting an AI assistant over
MCP, uploading a file, watching a folder, entities, the graph, podcasts,
reports, workflows, templates, namespaces, speakers and switching to a
cloud model. baseline-phone.json records the phone run; journeys that
can't be done on a phone yet are kept as failed and don't turn CI red.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0145yfQfD4eNkWHgPkk3Q82r

* ci(clicks): steady phone swipes and journey waits

Measure where a control settles before counting a swipe, scope the webhook
token check to its dialog, and wait for the entity list to filter. The phone
baseline is the run with these fixes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0145yfQfD4eNkWHgPkk3Q82r

* ci(clicks): tap New conversation where Chat opens on the list

On a phone Chat opens on the conversation list, so the journey taps New
conversation when the question box isn't there. The computer baseline is a
run on main with the setup, Chat, Search and Notes cuts.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0145yfQfD4eNkWHgPkk3Q82r

* feat(ui): copy the MCP address from the account menu after setup

After setup Lens showed its MCP address nowhere but the setup wizard, so
connecting an assistant meant typing it. The account menu now has Copy MCP
address (one click, with a toast saying what to do with it), and API tokens
shows the address with Copy above Apps with access, saying to use an API
token while apps can't sign in.

Connecting an assistant over MCP drops from 3 clicks + 25 keys to 5 clicks
+ 1 paste on a computer and on a phone; the agent-connect journey now
copies from the menu and checks the clipboard, and both baselines carry it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JYGqrDpgP3Gcw1Jwf5mwT8

* ci(clicks): phone baseline on main with the setup and Notes cuts

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0145yfQfD4eNkWHgPkk3Q82r

* ci(clicks): wait for the imports' analysis before finding an entity

In CI the entity search opened before the imported transcripts were
analysed, so the entity wasn't there yet. The journey now waits (not
counted) until the API has it. The API's log is saved with the results, so
a failure in CI can be read from the artifact.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0145yfQfD4eNkWHgPkk3Q82r

* ci(clicks): wait on the Entities page, not the API

The API wants the session's bearer token, which the browser's requests
don't carry, so the wait reloads the Entities page until the entity shows
(not counted) and then starts the journey from Home.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0145yfQfD4eNkWHgPkk3Q82r

* ci(clicks): baselines on main with one-click install and named pipelines

Computer 93 clicks, 313 keys; phone 115 taps, 315 keys, 10 swipes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0145yfQfD4eNkWHgPkk3Q82r

* ci(clicks): make the podcast journey pick the pasted transcript

Both imports match "Welcome back", and the Library's order between them
varies. The dialog shows the recording's title, so on a phone the Create
button was below the screen for one and not the other (a swipe counted in
some runs only).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0145yfQfD4eNkWHgPkk3Q82r

* ci(clicks): agent-connect baselines from a run on the merged survey branch

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JYGqrDpgP3Gcw1Jwf5mwT8

* ci(clicks): baselines on main with the graph opening on your data

Computer 90 clicks, 313 keys; phone 119 taps, 322 keys, 11 swipes, and
the graph can be found on a phone now.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0145yfQfD4eNkWHgPkk3Q82r

* ci(clicks): port the cloud-model journey through the presets (#350), agent-connect baselines on main

The cloud-model journey from #350 (the Settings presets from #334 broke the old
one on main), with #350's baselines and the agent-connect entry from a run of
this branch on main.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JYGqrDpgP3Gcw1Jwf5mwT8

---------

Co-authored-by: Adeel Ahmad <noreply@anthropic.com>
adeelahmad pushed a commit that referenced this pull request Oct 11, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0173hj1h6qEeBT7zMzCgedwo
@adeelahmad adeelahmad mentioned this pull request Oct 11, 2026
20 of 22 tasks
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.

2 participants