Skip to content

ci: run wp-env on WordPress 7.0 - #4

Merged
dknauss merged 1 commit into
mainfrom
ci/test-on-wp-7.0
Jun 13, 2026
Merged

ci: run wp-env on WordPress 7.0#4
dknauss merged 1 commit into
mainfrom
ci/test-on-wp-7.0

Conversation

@dknauss

@dknauss dknauss commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Bumps wp-env core to WordPress 7.0 to match the readme Tested up to: 7.0 claim. Full suite re-verified on 7.0: unit 44 / integration 15 / e2e 6 green; editor renders correctly in the 7.0 admin.

Align the local/CI test environment with the readme "Tested up to: 7.0" claim.
Full suite re-verified on 7.0: unit 44, integration 15, e2e 6 — all green, and
the editor renders correctly (selection panel + icon picker) in the 7.0 admin.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dknauss
dknauss merged commit 4132296 into main Jun 13, 2026
@dknauss
dknauss deleted the ci/test-on-wp-7.0 branch June 13, 2026 20:55
dknauss added a commit that referenced this pull request Aug 10, 2026
…142)

DECISION: keep forcing unfold, stop lying about it, de-hardcode the width.

Forced unfold is KEPT and the reasoning is recorded rather than assumed. A folded
menu is a 36px icon rail with hover flyouts; Maestro's model is click-a-row and
edit its label, so you cannot rename what you cannot read, and submenu editing
would happen inside a flyout that vanishes when the pointer leaves.
docs/archive/FIXES.md #4 records that the editing UI BROKE in folded mode
historically — forcing unfold was the fix, not an oversight. The rejected
alternative (adapt the editor to a 36px rail) is recorded too: much larger work
whose payoff is editing in a mode where the labels being edited are invisible.

What changes is the honesty. #collapse-menu currently renders, takes focus and
does nothing, via a capture-phase preventDefault + stopImmediatePropagation. It
becomes visibly and programmatically disabled with a reason, matching the
treatment Phase 25 gave the derived-locked checkbox: a dead control that LOOKS
dead is not a bug, a live-looking one is.

I ALSO MIS-FRAMED THE CONFLICT ON 2026-08-09 AND HAVE WITHDRAWN IT. There is no
fold-versus-width design conflict. `160px` is hardcoded in three places
(maestro.css :22 width, :28 margin-left, :523 the toolbar's left edge), one of
which is the exact constant the width feature makes configurable. That is a
constant needing to become a variable. Outside edit mode width applies to the
expanded menu and folding works normally; inside edit mode folding is off, so
width simply applies. The decision UNBLOCKS the width work rather than
constraining it, and both todos now say so in both directions.

Phase 28 folds the two together, in dependency order:

28-01 is independently shippable and fixes today's defect: one source of truth
for the width, and an honest collapse control. It deliberately changes no
rendering at the default, because a refactor that also shifts layout by a pixel
is two changes wearing one commit.

28-02 crosses the line this feature actually turns on — applying width while
merely BROWSING wp-admin. Every asset today is edit-mode-gated except the
admin-bar CSS, so "costs nothing unless you are editing" is true now and stops
being, for every admin user on every page load. Task 1 is a checkpoint on
delivery mechanism and, more importantly, on the OPTION READ — the cost is the
non-autoloaded get_option, not the CSS. Measured numbers required, not adjectives.

28-03 adds the control. Flagged there: this is the first GLOBAL setting in a
plugin built entirely from per-item overrides, so it must not read as a property
of the selected row, and Reset Item versus Reset All semantics need deciding
with it rather than discovering later.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
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