Skip to content

[codex] update web version metadata and title sync#42

Open
phenix3443 wants to merge 23 commits intoperfect-panel:mainfrom
phenix3443:fix/version
Open

[codex] update web version metadata and title sync#42
phenix3443 wants to merge 23 commits intoperfect-panel:mainfrom
phenix3443:fix/version

Conversation

@phenix3443
Copy link
Copy Markdown
Contributor

What changed

  • switched the admin and user root routes away from react-helmet-async for runtime title/meta updates and now sync document.title and basic head tags directly
  • updated the admin and user build pipelines to emit structured version.json metadata and expose __APP_GIT_VERSION__ to the frontend
  • refreshed the system version card to read structured web version metadata and present clearer update actions
  • allowed .home.arpa dev hosts by default in Vite so local admin domains like admin-ppanel-dev.home.arpa load without extra env configuration
  • added the repository memory context file currently present on this branch

Why

The browser tab title was stuck on Loading... because the app relied on react-helmet-async, while this repo is already on React 19 and the library only declares peer support through React 18. In practice, the root route state updated but document.title did not. At the same time, the branch also contains the version metadata changes and local host allowance changes the user asked to publish together.

Impact

  • browser tab titles now update correctly once site config loads
  • frontend deployments now ship machine-readable web version metadata
  • the dashboard version card can show the deployed web version from version.json
  • local .home.arpa dev domains work without manual VITE_ALLOWED_HOSTS setup

Validation

  • git diff --cached --check
  • node node_modules/typescript/bin/tsc -p apps/admin/tsconfig.json --noEmit
  • node node_modules/typescript/bin/tsc -p apps/user/tsconfig.json --noEmit

# Conflicts:
#	apps/admin/src/sections/auth/index.tsx
chore: adopt dev branch strategy
docs: deduplicate agent instructions
* fix(ci): address PR 38 review feedback

* chore(ci): use actions checkout v6
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 17, 2026

Deploy Preview for ppane-docs ready!

Name Link
🔨 Latest commit 7428c9a
🔍 Latest deploy log https://app.netlify.com/projects/ppane-docs/deploys/69e1ffe5b8899000084d0c6f
😎 Deploy Preview https://deploy-preview-42--ppane-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@phenix3443 phenix3443 marked this pull request as ready for review April 17, 2026 09:42
@web-ppanel
Copy link
Copy Markdown
Contributor

Triage review (automated): CI checks pass. This PR addresses a real bug (browser tab stuck on 'Loading...' due to react-helmet-async incompatibility with React 19) and bundles version metadata improvements and local dev host allowance. Fixes are frontend-scoped and well-documented. Ready for maintainer merge review.

@web-ppanel
Copy link
Copy Markdown
Contributor

Thanks for this PR! The fixes for browser tab title sync (replacing react-helmet-async with direct document.title updates) and the structured version metadata are well-motivated — especially given the React 19 peer dependency issue with react-helmet-async. The PR is ready for maintainer review and merge when the team is ready.

@web-ppanel
Copy link
Copy Markdown
Contributor

Good fixes here. The React 19 compatibility issue with react-helmet-async is a real problem — syncing document.title directly is the right approach for React 19. The version metadata pipeline and .home.arpa dev host allowance are also useful improvements.

Keeping open for maintainer review and merge.

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