Skip to content

Prompt for access code from the AI analysis button - #16

Merged
zardol merged 1 commit into
mainfrom
codex/ai-button-code-prompt
Oct 7, 2026
Merged

zardol merged 1 commit into
mainfrom
codex/ai-button-code-prompt

Conversation

@zardol

@zardol zardol commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

The AI analysis button now opens the connection form and focuses the access-code field when access has not yet been confirmed. It remains clickable while the server connection is being checked; a paid analysis still starts only after authorization, and duplicate requests remain blocked. Removes the "Запуск вручную · только текущие показатели" caption.

Validation: npm run check passed locally and in GitHub CI, including typecheck, 192 tests, and both production builds. The compiled button disables only for an active analysis or unavailable simulation state; authorization is checked in the click handler before any analysis request. Browser interaction checks were unavailable because the Windows browser-tool runtime could not initialize. The access-control API is unchanged.

@zardol
zardol merged commit 66c5a65 into main Oct 7, 2026
1 check passed
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.

1 participant