Skip to content

PR_26171_033 idea board inline accordion cell#8

Merged
ToolboxAid merged 1 commit into
mainfrom
codex/pr-26171-033-idea-board-inline-accordion-cell
Jun 20, 2026
Merged

PR_26171_033 idea board inline accordion cell#8
ToolboxAid merged 1 commit into
mainfrom
codex/pr-26171-033-idea-board-inline-accordion-cell

Conversation

@ToolboxAid

Copy link
Copy Markdown
Owner

Summary

  • Moves the Idea Board accordion chevron into the Idea cell.
  • Removes the separate notes chevron button and keeps the Notes count informational only.
  • Updates targeted Idea Board Playwright coverage for Idea-cell expansion, chevron switching, and Notes-count non-toggle behavior.

Validation

  • PASS: node --check toolbox/idea-board/index.js
  • PASS: node --check tests/playwright/tools/IdeaBoardTableNotes.spec.mjs
  • PASS: node --check tests/playwright/tools/ToolboxRoutePages.spec.mjs
  • PASS: npx playwright test tests/playwright/tools/IdeaBoardTableNotes.spec.mjs --project=playwright --workers=1 --reporter=line
  • PASS: npx playwright test tests/playwright/tools/ToolboxRoutePages.spec.mjs --project=playwright --workers=1 --reporter=line -g "Idea Board launches"

Artifact

  • tmp/PR_26171_033-idea-board-inline-accordion-cell_delta.zip

@ToolboxAid ToolboxAid merged commit 7036188 into main Jun 20, 2026
1 check passed

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e4ceb22261

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

const chevron = document.createElement("img");
chevron.alt = "";
chevron.dataset.ideaBoardChevron = record.ideaId;
chevron.src = expanded ? "assets/theme-v2/images/gfs-chevron-up.svg" : "assets/theme-v2/images/gfs-chevron-down.svg";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Constrain the chevron image size

On the Idea Board page this new chevron is rendered inside .tool-center-panel, whose existing theme rule assets/theme-v2/css/panels.css:245 applies to every descendant img with a large centered block layout (width: min(var(--tool-center-image-max), 75%), margins, etc.). As a result each idea row gets a large block image instead of an inline 16px chevron whenever the table renders; give this icon explicit sizing/class styling or avoid matching the generic panel image rule.

Useful? React with 👍 / 👎.

idea.dataset.ideaBoardToggleNotes = record.ideaId;
idea.dataset.ideaBoardIdeaCell = record.ideaId;
idea.setAttribute("aria-expanded", String(expanded));
idea.setAttribute("role", "button");

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve the row header role

For screen-reader users navigating this table, assigning role="button" to the <th scope="row"> overrides its native row-header semantics, so the Pitch/Status/Notes cells are no longer associated with the idea name as their row label. The cell can still own the toggle by keeping the <th> semantics and placing/styling a full-cell button or equivalent control inside it.

Useful? React with 👍 / 👎.

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" aria-hidden="true">
<path fill="currentColor" d="M3.2 5.4 8 10.2l4.8-4.8 1.1 1.1L8 12.4 2.1 6.5z"/>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Avoid currentColor in external chevrons

When these SVGs are loaded through an <img> tag, currentColor is resolved inside the standalone image document rather than inheriting the .data-table th gold text color, so the new chevrons render with the browser default color instead of the table/theme color. On this dark themed Idea Board surface that makes the expand affordance low-contrast; use an explicit themed fill or inline/mask styling that can inherit color.

Useful? React with 👍 / 👎.

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