feat(ui): shared public site header, FAQs, and unified search UX#1417
Merged
Conversation
Extract PublicSiteHeader, deposit CTA helpers, and public nav config so public pages share consistent navigation and branding.
Register /faqs as a named Inertia route alongside other public pages.
Redesign welcome, about, legal, and browse pages to use PublicSiteHeader, unified footer, and shared empty-state styling.
Consolidate structure drawing helpers and align search, predict, and upload flows with the updated public search interface.
Improve notification badge placement and tighten header action spacing.
Assert welcome, about, FAQs, legal, and projects routes render expected components.
Dedupe and pre-bundle openchemlib for reliable structure editor loading.
This was referenced Jun 3, 2026
Routes for welcome, about, FAQs, legal, and public projects pages query the database for stats; migrations must run in CI for valid Inertia responses.
The test suite renders Inertia via the root Blade template (data-page), not X-Inertia JSON. Use assertInertiaPageComponent to match existing tests.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## development #1417 +/- ##
==============================================
Coverage 75.43% 75.43%
Complexity 3328 3328
==============================================
Files 234 234
Lines 12473 12473
==============================================
Hits 9409 9409
Misses 3064 3064
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PublicSiteHeader, public navigation utilities, and deposit/empty-state helpers.Test plan
php artisan test tests/Feature/WelcomePageTest.php tests/Feature/FaqsPageTest.php tests/Feature/PublicProjectsPageTest.phpMerge order
Merge this PR before
feat/public-text-searchandrefactor/public-browse-pages.