Repository navigation
refactor(web): build the ui on the pavo material 3 library - #39
Open
TheMeinerLP wants to merge 1 commit into
Open
TheMeinerLP wants to merge 1 commit into
TheMeinerLP wants to merge 1 commit into
Conversation
Grus carried its own copy of the Material 3 kit (components, tokens, theme composable, icon setup). The shared library @onelitefeathernet/pavo now provides these, so the web UI depends on it instead of maintaining the copy. Fixes and new components arrive by updating one dependency. The local kit, its token generator and the Roboto font packages are removed. Pages use the Pavo components and M3AppFrame for the shell. Grus registers its own icon set with the Pavo icon registry. The Dockerfile reads the GitHub Packages token from a BuildKit secret, which is not written into any image layer. The theme storage key moves to pavo.theme, so a stored theme choice resets once.
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
Grus carried its own copy of the Material 3 kit. The web UI now uses the shared library
@onelitefeathernet/pavo(0.2.0) instead, so fixes and new components arrive by updating one dependency. The local kit, its token generator and the Roboto font packages are removed. Grus keeps its own icon set and registers it with Pavo.What changes for users
pavo.theme.How it was checked
pnpm exec nuxt prepare: passpnpm lint: passpnpm typecheck: passpnpm exec vitest run --maxWorkers=2: 23 files, 199 tests pass, no vitest workaround neededpnpm build: pass (node-server target)docker build --secret id=npm_token,env=NODE_AUTH_TOKEN -f web/Dockerfile .: pass/app/.npmrc, noNODE_AUTH_TOKENin the image config, and the token value does not occur in the saved image archiveBlocker – do not merge yet
The shared docker-publish workflow (
OneLiteFeatherNET/workflowsv2.9.1) has no way to pass a BuildKit secret. After this merge, thegrus-webjob inprototype-images.ymlwould fail, because the image build needs thenpm_tokensecret to install Pavo from GitHub Packages.Options:
docker-publish.ymlwith an optional build secret (for example an inputnpm-token-secretthat maps tosecrets: npm_token=...ofdocker/build-push-action). This needs a PR inOneLiteFeatherNET/workflowsand a new tag.artifact-nameinput. The Dockerfile then only copies.output.web/.