GRI-2168: take shared styles and components from @grimoirix/design 0.2.0 #299

Merged
vivy merged 1 commit from feature/GRI-2168-design-0.2.0 into dev 2026-11-17 07:32:10 +00:00
Owner

Signage had added its own gx-btn--neutral (PR #235, the red-button fix) and several other generic styles and components that the shared template did not have. They are now in @grimoirix/design 0.2.0 (template PR #1), and this takes them from there.

  • @grimoirix/design ^0.1.1 → ^0.2.0.
  • index.css: 227 lines of shared gx- classes removed; only main and the device card stay.
  • DismissibleError, notifications (context, toast, provider) and SectionNav are re-exports of @grimoirix/design/components; SectionNav plugs in the panel's own Link. Imports unchanged, so the existing tests now test the shared code.
  • Red buttons: gx-btn--secondary → gx-btn--danger (same colour). designSystemButtons.test.ts also refuses the old name.

Local: frontend gates green (195 tests), vite build ok. No Rust changed.

Signage had added its own `gx-btn--neutral` (PR #235, the red-button fix) and several other generic styles and components that the shared template did not have. They are now in `@grimoirix/design` 0.2.0 ([template PR #1](https://git.grimoirix.org/Grimoirix/grimoirix-frontend-template/pulls/1)), and this takes them from there. - `@grimoirix/design` ^0.1.1 → ^0.2.0. - `index.css`: 227 lines of shared `gx-` classes removed; only `main` and the device card stay. - `DismissibleError`, notifications (context, toast, provider) and `SectionNav` are re-exports of `@grimoirix/design/components`; `SectionNav` plugs in the panel's own `Link`. Imports unchanged, so the existing tests now test the shared code. - Red buttons: `gx-btn--secondary` → `gx-btn--danger` (same colour). `designSystemButtons.test.ts` also refuses the old name. Local: frontend gates green (195 tests), `vite build` ok. No Rust changed.
GRI-2168: take shared styles and components from @grimoirix/design 0.2.0
All checks were successful
CI / the pre-push hook (pull_request) Successful in 3s
CI / cargo fmt (pull_request) Successful in 3s
CI / install.sh client upgrade (pull_request) Successful in 12s
CI / cargo deny (pull_request) Successful in 12s
CI / cargo deny advisories (pull_request) Successful in 18s
CI / repository boundary (pull_request) Successful in 4s
CI / cargo clippy (pull_request) Successful in 1m5s
CI / frontend-web (pull_request) Successful in 59s
CI / cargo test (pull_request) Successful in 3m23s
CI / Notify gate failed (pull_request) Has been skipped
CI / CI (pull_request) Successful in 1s
716cdd5bed
The neutral button, layout, section menu and notification styles and the
DismissibleError, notification and SectionNav components now live in the
shared package. Local copies are removed; the local modules re-export the
package so imports stay the same and the existing tests run against it.
Red buttons use gx-btn--danger; a test refuses the old gx-btn--secondary.
vivy merged commit d1a9bcb269 into dev 2026-11-17 07:32:10 +00:00
vivy deleted branch feature/GRI-2168-design-0.2.0 2026-11-17 07:32:10 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Grimoirix/grimoire-of-digital-signage!299
No description provided.