You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The detail panel only exposed an "X" when a measure was selected, with no way to dismiss the empty "Select a measure" card. This adds a single, reused control that deselects a measure on first click and hides the whole panel on the next, reopening automatically when any measure is clicked. When the panel is hidden, the left view (6 categories) expands to full width.
Changes
App.jsx — New showMeasureCard state (default true) gates rendering of MeasureDetailPanel, and toggles an app__body--full modifier so the left view expands when the panel is hidden. Two handlers wire the behavior:
handleSelect reopens the panel on any measure selection.
handleCloseOrHide implements the two-step X: deselect if a measure is selected, else hide the panel.
MeasureDetailPanel.jsx — The empty state now renders the same detail__close control (floating, top-right) with an accessible name; the existing selected-state X is reused, so no duplicate button.
i18n/strings.js — New hideMeasures key (nl/en/fr), "Hide panel".
styles/index.css — Positions the floating X on the empty card, adds the app__body--full single-column layout, and top-aligns the empty panel so it no longer shifts when a measure is opened.
App.test.jsx — Covers select → X (deselect) → X (hide, body expands to full width) → measure click (reopen).
consthandleCloseOrHide=()=>{if(selected){setSelectedCode(null);// first X: deselect}else{setShowMeasureCard(false);// second X: hide panel}};
CopilotAI
changed the title
[WIP] Add feature to hide and reopen select a measure card
Two-step X to hide the measure detail panel, reopening on measure click
Jun 22, 2026
DevSecNinja
changed the title
Two-step X to hide the measure detail panel, reopening on measure click
feat: two-step X to hide the measure detail panel, reopening on measure click
Jun 22, 2026
@copilot The panel now hides which is great, but it should in that case also expand the view on the left side with the 6 categories.
Done — when the panel is hidden the body now collapses to a single column (app__body--full) so the 6-category view expands to full width. I also top-aligned the empty "Select a measure" panel so it no longer shifts when a measure is opened.
CopilotAI
changed the title
feat: two-step X to hide the measure detail panel, reopening on measure click
Two-step X to hide the measure detail panel, reopening on measure click
Jun 22, 2026
Fixed in fd... — the empty card used position: relative, which overrode the sticky positioning and (with the inherited top: 16px) pushed it 16px below the selected panel, so the panel and X jumped on open/close. Removed that override (sticky already anchors the floating X) and aligned the floating X to 18px. The panel top and close button now stay put across the empty ↔ selected transition.
DevSecNinja
changed the title
Two-step X to hide the measure detail panel, reopening on measure click
feat: two-step X to hide the measure detail panel, reopening on measure click
Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The detail panel only exposed an "X" when a measure was selected, with no way to dismiss the empty "Select a measure" card. This adds a single, reused control that deselects a measure on first click and hides the whole panel on the next, reopening automatically when any measure is clicked. When the panel is hidden, the left view (6 categories) expands to full width.
Changes
App.jsx— NewshowMeasureCardstate (defaulttrue) gates rendering ofMeasureDetailPanel, and toggles anapp__body--fullmodifier so the left view expands when the panel is hidden. Two handlers wire the behavior:handleSelectreopens the panel on any measure selection.handleCloseOrHideimplements the two-step X: deselect if a measure is selected, else hide the panel.MeasureDetailPanel.jsx— The empty state now renders the samedetail__closecontrol (floating, top-right) with an accessible name; the existing selected-state X is reused, so no duplicate button.i18n/strings.js— NewhideMeasureskey (nl/en/fr), "Hide panel".styles/index.css— Positions the floating X on the empty card, adds theapp__body--fullsingle-column layout, and top-aligns the empty panel so it no longer shifts when a measure is opened.App.test.jsx— Covers select → X (deselect) → X (hide, body expands to full width) → measure click (reopen).