Repository navigation
feat: adopt published Magnolia packages across Lovat frontends - #131
jackshim415 wants to merge 6 commits into
Conversation
Replace the legacy tarball with the pinned package and preserve form submission, training callbacks, application resets and explicit font ownership. Remove the obsolete font patch and its Docker install step. Refs: LVT-362, LVT-368
Pin the released native and token packages, add the provider, and keep the existing text and multiline-field entry points. Preserve composite buttons, FRC icons, offline startup and app-owned widgets. Refs: LVT-364
Replace duplicated palettes with the published Starlight adapter while preserving bundled fonts and layout. Keep native search reachable on mobile and the existing logo readable in light mode. Refs: LVT-365
Pin the immutable Flutter adapter source and preserve alliance getter contracts. Assign distinct light and dark themes and keep helper text readable in light mode. Refs: LVT-366
Refs: LVT-364, LVT-365, LVT-366, LVT-368
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
🚅 Deployed to the lovat-pr-131 environment in lovat
2 services not affected by this PR
|
Lovat AI reviewStatus: completed · Model: Reviewed commit: Critical: 0 · High: 1 · Medium: 0 · Low: 0 Overall assessmentThis migration mostly swaps imports to published Magnolia packages and preserves behavior with dedicated tests, and the verification notes are thorough. The one concrete gap is an inconsistency in the Website form migration: submit buttons were explicitly re-typed as FindingsHigh (1)
Review details
Limitations
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6331f3d357
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Add Website-owned aliases and browser coverage for resolved legacy colors under the published Magnolia theme. Refs: LVT-362, LVT-368
There was a problem hiding this comment.
Lovat AI review: 1 new finding(s) at c3c40bc47de8cc1b816709911bba9c4043ed248b.
The persistent Lovat AI review comment contains the latest complete result.
apps/website/src/routes/(with-nav)/get-updates/+page.svelte:3— get-updates submit button missing type="submit" after Button migration (BUG· confidence 0.75)
| <script lang="ts"> | ||
| import { enhance } from '$app/forms'; | ||
| import { Button, TextField } from 'magnolia-ui-svelte'; | ||
| import { Button, TextField } from '@highlanderrobotics/magnolia-svelte'; |
There was a problem hiding this comment.
HIGH · BUG — get-updates submit button missing type="submit" after Button migration
The PR added type="submit" to the Button on the delete-my-account, contact, and pit forms because the rewritten @highlanderrobotics/magnolia-svelte Button no longer submits the enclosing form by default. The get-updates page was migrated to the new package import but its submit Button did not receive type="submit", so its form (which uses enhance/POST) will no longer submit when the button is pressed — the update-signup flow silently stops working.
Suggested fix: Add type="submit" to the Button in apps/website/src/routes/(with-nav)/get-updates/+page.svelte, matching the other migrated forms.
Lovat AI review · confidence 0.75 · z-ai/glm-5.3-flash
What changed
Adopt the published Magnolia rewrite so Lovat's four frontends share maintained theme and control foundations. Website replaces the legacy tarball/font patch while preserving forms and training callbacks. Collection incrementally shares tokens, text and fields through existing entry points, retaining composite buttons, FRC art and scouting widgets. Learn gains correct light/dark palettes and reachable mobile search; Dashboard uses shared Material themes with compatible alliance getters.
Pins: Svelte/native/tokens 0.2.0, Starlight 0.1.0, Flutter adapter at immutable fb6a12d. The additional controls in Magnolia PR #3 are a pending minor release and are not imported here. Migration evidence and rollback records the scope and remaining device gates. The requested v1.0 milestone remains gated on complete library and consumer/device validation.
Areas affected
Contracts and data
Verification
Signed native builds, VoiceOver/TalkBack and representative physical-device scouting/picklist workflows remain review/acceptance gates; bundling and widget tests do not establish that sign-off.
Deployment
Website Docker no longer copies an obsolete postinstall patch; npm ci installs the pinned public package. No Railway/Netlify settings, EAS identifiers/signing/version configuration, environment variables, database migrations or release jobs change. No manual deployment or PR merge performed; existing PR-preview automation is unchanged.
Refs: LVT-364, LVT-365, LVT-366, LVT-368.