Skip to content

feat: add "View on site" link to the Record edit page - #62

Merged
jaballer merged 1 commit into
mainfrom
feature/record-edit-view-on-site
Jul 11, 2026
Merged

feat: add "View on site" link to the Record edit page#62
jaballer merged 1 commit into
mainfrom
feature/record-edit-view-on-site

Conversation

@jaballer

Copy link
Copy Markdown
Owner

Summary

Adds a View on site header action to the Filament Record edit page that opens the public record detail page (/records/{record}) in a new tab.

Mirrors the identical shortcut already on the Track edit page (#59), and the panel's existing "View site" navigation link (same external-link icon + openUrlInNewTab), so the admin session and any unsaved edits stay put.

Test plan

  • RecordResourceTest::test_edit_page_links_to_the_public_record_page — asserts the viewOnSite action exists and the edit page renders a link to route('records.show', $record)
  • Full suite — 112 passed (317 assertions)
  • composer lint:test (Pint) — pass · composer analyse (PHPStan level 6) — no errors

Add a header action on the Filament Record edit page that opens the public
record detail page (/records/{record}) in a new tab — mirrors the same
shortcut already on the Track edit page (#59) and the panel's "View site" link.
@jaballer
jaballer merged commit a74c411 into main Jul 11, 2026
1 check passed
@jaballer
jaballer deleted the feature/record-edit-view-on-site branch July 11, 2026 17:10
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