Skip to content

feat(ui): shared public site header, FAQs, and unified search UX#1417

Merged
NishaSharma14 merged 9 commits into
developmentfrom
feat/public-site-header-navigation
Jun 4, 2026
Merged

feat(ui): shared public site header, FAQs, and unified search UX#1417
NishaSharma14 merged 9 commits into
developmentfrom
feat/public-site-header-navigation

Conversation

@vcnainala
Copy link
Copy Markdown
Member

Summary

  • Add shared PublicSiteHeader, public navigation utilities, and deposit/empty-state helpers.
  • Introduce FAQs Inertia page and adopt the header across public-facing pages.
  • Refine unified structure search UX and authenticated layout header polish.
  • Update frontend lockfiles and Vite OpenChemLib configuration.

Test plan

  • Visit welcome, about, FAQs, and public project pages — header/nav consistent.
  • Exercise structure search from compounds/browse flows.
  • Run php artisan test tests/Feature/WelcomePageTest.php tests/Feature/FaqsPageTest.php tests/Feature/PublicProjectsPageTest.php

Merge order

Merge this PR before feat/public-text-search and refactor/public-browse-pages.

vcnainala added 7 commits June 3, 2026 23:25
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.
vcnainala added 2 commits June 3, 2026 23:45
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
Copy link
Copy Markdown

codecov Bot commented Jun 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.43%. Comparing base (f12c701) to head (91ab7f5).

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           
Flag Coverage Δ
unittests 75.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@NishaSharma14 NishaSharma14 merged commit 2ad8901 into development Jun 4, 2026
7 checks passed
@NishaSharma14 NishaSharma14 deleted the feat/public-site-header-navigation branch June 4, 2026 07:57
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