8000 feat(install): install with the defaults in one click; the API token form opens itself by adeelahmad · Pull Request #331 · adeelahmad/lense · GitHub
[go: up one dir, main page]

Skip to content

feat(install): install with the defaults in one click; the API token form opens itself - #331

Merged
adeelahmad merged 1 commit into
mainfrom
claude/project-thread-th17qg
Oct 10, 2026
Merged

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

Conversation

@adeelahmad
Copy lin 8000 k
Copy Markdown
Owner

Description

Before: on the web installer's computer step you clicked through choosing options, the model server, and a review page before installing (7 clicks). Account › API tokens opened an empty list, so you had to click New token.

After: the computer step has a primary Install with the defaults button that finds the model server and installs in one go (3 clicks in total; Choose options keeps the old path). When you have no tokens yet, the account menu opens API tokens with the new-token form already showing (3 clicks, down from 4).

Measured with ci/clicks (fresh install, Chromium 1400x900):

Feature Before After
Install from the web installer 7 clicks, 2 keys 3 clicks, 2 keys
Create an API token 4 clicks, 6 keys 3 clicks, 6 keys
All 19 features 50 clicks, 215 keys, 1 prompt (266) 45 clicks, 215 keys, 1 prompt (261)

The baseline started at 274 (#298).

Motivation and Context

Adeel asked for fewer clicks and keystrokes across the app ("make it easy as 1 2 3"). This is round 3, after #315.

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)

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 clicks journeys and baseline are updated; the installer and token unit tests pass.)
  • My change requires documentation updates, and I have updated docs/ accordingly. n/a, no behaviour that docs describe changed.
  • Users need more than the title to understand it, so I wrote it under ## Unreleased in CHANGELOG.md. n/a

Done questions (AGENTS.md)

  • Goal: fewer clicks; merges on green CI.
  • Agents: n/a, UI-only shortcuts; the token API is unchanged.
  • Zero setup: nothing new to set up.
  • Fewest clicks and keystrokes: measured above.
  • Configurable: n/a, no new settings. "Choose options" still offers every choice.
  • Light: n/a
  • Private and secure: n/a, nothing new is exposed. The quick install still asks for the password when something needs installing.
  • Cost: n/a
  • User decides: the defaults are unchanged, and the full options path stays.
  • Upgrades: n/a, no stored-data change.
  • Honest: n/a
  • Tests, docs and generated files updated.
  • Open standards; dependencies keep Lens MIT.
  • Result reported with evidence. Next rounds will cover the setup wizard, settings, pipelines and routines.

🤖 Generated with Claude Code

https://claude.ai/code/session_018XZkebEbpvyi9y3qmDVD8V


Generated by Claude Code

…form opens itself

The web installer's computer step offers "Install with the defaults", which finds a model server and installs
in one go (3 clicks from 7). Account > API tokens opens the new-token form straight away when there are none
yet (3 clicks from 4). Baseline 266 -> 261.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018XZkebEbpvyi9y3qmDVD8V
@adeelahmad
adeelahmad merged commit e0d3548 into main Oct 10, 2026
15 checks passed
@adeelahmad
adeelahmad deleted the claude/project-thread-th17qg branch October 10, 2026 22:43
adeelahmad added a commit that referenced this pull request Oct 10, 2026
…PRs (#335)

The README and Get started say the web installer can install with the defaults in one click (#331). "In progress"
adds flagging instruction-like third-party text (#329), asking before the browser acts on what the assistant wrote
(#333) and cloud model presets (#334).


Claude-Session: https://claude.ai/code/session_01HDx7PPUauyjMn1LZs8JAsS

Co-authored-by: Adeel Ahmad <noreply@anthropic.com>
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

0