Skip to content

Limit the demo box to branches with an approved revision - #446

Open
ECYaz wants to merge 1 commit into
phpbb:3.3.xfrom
ECYaz:fix/377-demo-approved-branches
Open

Limit the demo box to branches with an approved revision#446
ECYaz wants to merge 1 commit into
phpbb:3.3.xfrom
ECYaz:fix/377-demo-approved-branches

Conversation

@ECYaz

@ECYaz ECYaz commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Fixes #377

The manage page built the demo URL box from every branch open for uploads, so a style approved only for 3.3 still offered the 3.2 field and install button. The demo box and the details page demo menu are now built from the branches that actually have an approved revision, the same source the download box uses. Stored URLs for branches that are not shown survive a save, so a pulled revision hides its demo without losing the URL if it is approved again.

The manage page offered a demo URL field and install button for every
branch open for uploads, so a style approved only for 3.3 still showed
the 3.2 install box. Build the demo box and the details page demo menu
from the branches that actually have an approved revision, the same
source the download box uses, and preserve stored URLs for branches
that are not open for editing when the form is saved.
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.

Styles demo install box showing for non-supported versions

1 participant