vizier 0.2.1
vizier: ^0.2.1 copied to clipboard
Resource-driven server-rendered admin panels for Maat applications.
0.2.1 #
- Add a runnable field example and document the public action and form field APIs.
- Require the Maat and Seshat APIs used by request forms and polymorphic relations.
0.2.0 #
- Add the package banner and icon used by pub.dev and the public repository.
- Add relation managers:
AdminRelationopensbelongsTo,hasOne,hasManyandbelongsToManyrelations, andmorphOne,morphMany,morphTo,morphToManyandmorphedByManypolymorphic ones, from the owner's pages. Every operation is denied until the subclass allows it. - Add the full-page relation selector at
…/relations/{name}/select: searchable, paginated, one attach or associate form per row, and a checkboxsyncform that replaces a many-to-many set. Members outside the current page ride along as hidden inputs, so submitting one page never detaches the rest. - Validate
pivotFormfields on attach and on sync, and re-render the selection with the errors and the selection intact when they fail. - Restrict a
morphTowrite to the relation's ownmorphTargetsallowlist rather than the globalMorphMap, and authorize it throughcanPointAt. - Rename the main landmark and its skip-link target from
vizier-maintomain-contentin the published layout and guest templates. Applications that already published these views keep their own copy and are unaffected. - Document the complete developer path in
docs/vizier.md, and cover the rendered markup contract — landmarks, table headers, described fields, labelled checkboxes, modal dialogs, visible confirmation text and the no-JavaScript fallbacks — in English and Arabic with tests. - Redesign the panel around Maat's own identity: a Nile navigation rail in
both themes with a Solar Gold brand tile and active marker, an inverting
solid action (Nile on light, gold on dark), Faience for success and Oxide
for destructive affordances. Every painted value now resolves through one
layer of
--vizier-*custom properties, so an application restyles the panel without touching a component rule. - Rebuild the published templates around the new shell: a top bar with a breadcrumb and the theme toggle, a navigation rail with a brand lockup and a sign-out footer, index tables inside a titled card with a search field in its header, forms with a bordered action footer, and dashboard widgets laid out as label/value rows.
- Fix row-selection checkboxes rendering as full-width pills: the global
input { width: 100% }no longer applies to checkboxes and radios. - Hide the no-script delete
<details>once Alpine is up, so the record page stops showing the confirmation twice. - Move the table caption to assistive technology only and give the card a visible heading instead.
- Document the palette, the overridable token set, and the responsive and
focus contracts under "Appearance" in
docs/vizier.md.
0.1.0 #
- Initial release of resource-driven, server-rendered admin panels for Maat applications.
- Includes
Panel,AdminResourcewith tables, forms, row and bulk actions, per-request authorization hooks, custom pages, dashboard widgets,VizierExtensionpackaging, English and Arabic catalogs with RTL support, and thevizier:installandmake:admin-resourcecommands.