Skip to content

[6.x] Forms 2: Open page logic from the logic tree - #16142

Merged
jackmcdade merged 2 commits into
6.xfrom
16142-logic-tree-page-buttons
Dec 4, 2026
Merged

jackmcdade merged 2 commits into
6.xfrom
16142-logic-tree-page-buttons

Conversation

@jaygeorge

@jaygeorge jaygeorge commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Description of the Problem

In the logic tree, a page with logic gets a little logic icon next to its name, but there's no way to get to that logic from the tree. Clicking the page name opens the page's settings, which don't have a Logic tab. Page logic lives on the page's buttons, and the tree doesn't show them.

image

What this PR Does

Adds the page buttons to the bottom of each column in the tree, like the builder has. Clicking one opens the page buttons inspector, straight on its Logic tab.

  • The logic icon moves from the page name to beside the button, since that's where the logic lives.
  • The last page doesn't get a button, as its Submit button has no logic.
  • Esc closes the inspector and puts focus back on the button.

Before / After

image

How to Reproduce

  1. Open a form with a few pages and some page logic, and go to the Logic tab.
  2. Switch to the Tree view.
  3. Click a Next Page button under a page.

- Next Page buttons under each page (not the last) open that page's logic
- Logic icon moves from the page name to beside the button
- Esc puts focus back on the button
- Open on Settings for the last page, which has no Logic tab, with a test
- Give the buttons an actions anchor so the inspector heading links to them
@jackmcdade
jackmcdade force-pushed the 16142-logic-tree-page-buttons branch from 4eb949e to ece396c Compare December 4, 2026 19:47
@jackmcdade
jackmcdade merged commit cb1c188 into 6.x Dec 4, 2026
64 checks passed
@jackmcdade
jackmcdade deleted the 16142-logic-tree-page-buttons branch December 4, 2026 19:49
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