Skip to content

Header polish: labeled create panel + self-closing add dropdown (Brett's annotations) - #88

Merged
brettheap merged 1 commit into
mainfrom
change/opendox-header-polish
Aug 6, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/opendox-header-polish

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Processes Brett's two follow-up vibe-annotate comments on the live header:

  1. "which is this? i do not know how to use this widget" → the create form becomes a labeled panel: "New Project" heading, a what-this-does note (records a project-register commission — pending until a session fulfils it), captioned name field + scrollable member list, commission project / cancel.
  2. "this should be all one dropdown that closes like the project selector" → the add-repository flow is now one self-closing native select: the placeholder line is the affordance, choosing a candidate commissions the addition, the select closes itself.

Bonus real defect found by the live check: explicit display:flex on the popover/panel defeated the hidden attribute — the filter popover could never actually close. Fixed with restated [hidden] { display:none }; full open/close cycles verified, zero page errors. Guards 108 green; strict validation green.

🤖 Generated with Claude Code

…osing add dropdown

Two vibe-annotate comments on the live header, processed:

"which is this? i do not know how to use this widget" — the create form
was a bare unlabeled strip. It becomes a LABELED PANEL anchored under
the header controls: a "New Project" heading, a what-this-does note
(records a commission; pending until fulfilled), captioned name field
and member-repository list (scrollable), and "commission project" /
"cancel" buttons.

"this should be all one dropdown that closes like the project selector"
— the add-repository flow collapses into ONE native select whose
placeholder line IS the affordance: choosing a candidate commissions
the single addition and the select closes itself, the placeholder
restoring.

The live check exposed a real pre-existing defect while verifying: the
explicit display:flex on the popover/panel silently defeated the
`hidden` attribute, so the filter popover could never actually close.
Restated `[hidden] { display:none }` for both surfaces; full open/close
cycles verified with zero page errors. Guards 108 green.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 6, 2026 18:09
@brettheap
brettheap merged commit 1b6dfe0 into main Aug 6, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the ideation dashboard UI to make project creation and repository membership edits clearer and more self-contained, aligning behavior with the “self-closing” selector pattern.

Changes:

  • Restyled the “Create project” UI into a labeled panel with headings, captions, and a dedicated member list + button row.
  • Reworked “add repository” from a toggleable pane into a single self-closing dropdown that commissions immediately.
  • Adjusted CSS to ensure [hidden] reliably overrides explicit display on popovers/panels.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
scripts/ideation_dashboard/web/views/repo-selector.js Refactors create-project form markup and replaces add-repo flow with a single select-based commission action.
scripts/ideation_dashboard/web/styles.css Adds panel/popover styling and fixes [hidden] behavior with explicit display overrides.
openspec/changes/add-opendox-project-header/tasks.md Documents completion notes for the UI behavior refinements and the [hidden] display fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +323 to +328
select.disabled = !candidates.length;
select.addEventListener("change", () => {
const chosen = select.value;
select.value = ""; // the placeholder line returns
if (chosen) commissionEdit({ add: [chosen] }, select, null);
});
Comment on lines +174 to +175
form.appendChild(el("span", "panellabel", "member repositories"));
const memberList = el("span", "panelmembers");
Comment on lines +154 to +157
// A LABELED PANEL, not a bare strip (Brett's 2026-08-06 annotation: "which
// is this? i do not know how to use this widget") — a heading names the
// act, the field and the member list carry captions, and the buttons say
// what happens (a recorded commission, not a direct write).
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