Skip to content

Feat/parent page method#26

Merged
estevao90 merged 26 commits into
mainfrom
feat/parent-page-method
Feb 10, 2026
Merged

Feat/parent page method#26
estevao90 merged 26 commits into
mainfrom
feat/parent-page-method

Conversation

@dpanta94
Copy link
Copy Markdown
Member

@dpanta94 dpanta94 commented Feb 9, 2026

Summary

This PR introduces a way for users of the library to be able to specify the parent page of a migration singular screen. That way, a menu element can be selected and open.

Also it can accept the URL of the migrations list page. When provided, it will render it in a migration singular page.

See the artifact below for the back to migrations link and the fact that the Settings of Event Tickets is currently acting as the selected page, while in a migration singular screen.

CleanShot 2026-02-09 at 23 13 50

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update
  • ⚡ Performance improvement
  • ♻️ Code refactoring
  • 🧪 Test improvements
  • 🔧 Chore (build process, dependencies, etc.)

Related Issues

Closes #

Pre-Submission Checklist

Code Quality

  • PHPStan analysis passes: composer test:analysis
  • PHP compatibility check passes: composer compatibility
  • Coding standards pass: vendor/bin/phpcs
  • All tests pass
  • No debug code (var_dump, error_log, etc.) left in production code
  • No commented-out code unless specifically needed for reference
  • Documentation updated for any new features or changed behavior
  • New tests have been added for new functionality
  • All existing tests continue to pass

📖 Read the full contributing guidelines: CONTRIBUTING.md

@dpanta94 dpanta94 self-assigned this Feb 9, 2026
@dpanta94 dpanta94 added the enhancement New feature or request label Feb 9, 2026
@dpanta94 dpanta94 marked this pull request as ready for review February 9, 2026 21:22
Copy link
Copy Markdown
Contributor

@estevao90 estevao90 left a comment

Choose a reason for hiding this comment

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

Nice! I was implementing it for Learndash.

Comment thread src/views/single.php
@dpanta94 dpanta94 requested a review from d4mation February 9, 2026 23:07
Copy link
Copy Markdown
Contributor

@lucatume lucatume left a comment

Choose a reason for hiding this comment

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

I like this!

@estevao90 estevao90 merged commit b68fc95 into main Feb 10, 2026
12 checks passed
@estevao90 estevao90 deleted the feat/parent-page-method branch February 10, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants