Repository navigation
feat(planning): one-column question screen with a Claude section and aligned options - #8370
Conversation
…aligned options
Layout A from the approved question-screen spec, client only. The
Answers | Claude split and its tabs are gone at every width: the question,
references, options, composer and Pass line, then the Answers (Answer first
unchanged), then a full-width "Claude on this question" section.
The Claude section folds to a head with "N new" and answer, running and
waiting counts, opens by itself once when this person has a new result on
the question (their request's "is done" notice unread, or someone else's
result since their last visit), and opens with the Ask form. Opening pushes
the page and scrolls the section's head into view. Ask Claude sits in the
head; the thread list and Ask form are unchanged.
Claude cards use the soft rule: "<Name> asked", the ask, a 1px line, then
"Claude" and the answer, both at 14px. A waiting or running request shows
its status under "Claude", with a progress bar while it runs. Every control
on the cards stays; a result new to the viewer carries a New chip.
Option cards are a flex column with the Choose row pinned to the bottom and
the foot always taking its row ("No picks yet" at zero), so Choose buttons
line up across a grid row; the Choose row no longer wraps Undo above 720px,
and "Something else..." keeps the room of the Lock row. Phones unchanged.
core.js built view.research on the shared DEFAULTS object, so a question
whose last result was taken down kept it on every page until reload. The
old Claude tab hid that; the new ui_connect check caught it.
Tests: ui_question_layout.js (new) checks no split or tabs at 1440, 1024
and 390, the folded default and the open-on-unread, the soft-rule labels,
1px rule and equal font sizes, the running progress line, and Choose tops
equal within 1px at 1440 and 1024 before and after picking. ui_acceptance,
ui_connect, ui_proto and align.js now open the section instead of a tab.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he phone placeholder The question scroll area's bottom padding is the chat button's 52px plus its 20px offset plus 16px (44 + 8 + 16 at short heights), so the last control in the Claude section scrolls out from under it. Phones, where the button sits in the tab bar, keep their padding. On a phone the disabled composer's placeholder is one 44px line and was cut mid-word; there it reads only "Pick an option first" (or "Save your ranking first", "Pick first"). Wider screens keep the full sentence. Tests: ui_question_layout.js checks, at 1440x900 and 390x844 scrolled to the bottom, that the chat button intersects no control in the Claude section, and that the 390 placeholder fits its line. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d items clear The view started from the shared DEFAULTS objects, so answers, locks and suggestions kept keys the next snapshot no longer had: a lock stayed shown after the owner unlocked. Each snapshot now clones DEFAULTS. A browser check unlocks on one page and expects the other to lose the lock block without a reload. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security issues found in PR #8370 at head 423ce42. The PR changes the planning web UI (app.js, core.js, app.css), its test and harness files, and a changelog fragment. I searched the added lines for injection and trust-boundary sinks:
Results:
Limitation: I could not filter the full diff in the shell, so the review of app.js and core.js rests on sink searches rather than a line-by-line read. |
|
claude-review reviewed Code review: PR #8370 (one-column question screen)I found no blocking issues and posted no inline comments. I read the whole diff ( Checked
Minor, not blocking
Not applicable
|
No related issue: owner-approved design from the live shared-interview session (spec PR 2; follow-up item 12)
Summary
The shared interview page's question screen becomes one column. Claude's answers were cramped in a half-width pane or a tab, and the "Choose this" buttons sat at uneven heights. The owner approved this layout from a mockup.
Fix
Verification
ui.test.sh: 26 suites, 0 failed; newui_question_layout.js25 passed (split gone, Claude folded then opening on an unread result, aligned Choose buttons at 1440 and 1024, equal ask/answer font size, nothing under the chat button, phone placeholder fits).python3 -m unittest discover -s plugins/planning/shared/tests: Ran 883 tests, OK.Related
N/A
🤖 Generated with Claude Code