Repository navigation
v0.4.6 ~ "Skeleton loading components and a report widget that runs live"
Highlights
- Skeleton loading components.
Skeletondraws text, title, circle, avatar, rect, button, badge and input shapes, andSkeleton::Text,Skeleton::Table,Skeleton::Card,Skeleton::CardsGrid,Skeleton::Panel,Skeleton::Form,Skeleton::StatTiles,Skeleton::PageHeaderandSkeleton::Tabsbuild on it.Skeleton::Pageis the composite for routeloading.hbstemplates: its@viewis table, cards, form, dashboard or panel, or a block replaces the body. Boxes arearia-hidden, the page announces once throughrole="status" aria-busy="true"with@label(falls back tocommon.loading), and the shimmer honoursprefers-reduced-motion. (#189)- Skeletons follow the page they stand in for. The table card takes
@tabs,@toolbar,@checkbox,@footerand@identityColumn; the header takes@borderlessHeader; cards take@mediaFirst,@avatar,@subtitle,@status,@lines,@footerActions,@footerBadgeand@footerLines; the cards grid uses theLayout::Resource::CardsGridbreakpoints so it never shows fewer columns than the page. Every argument is optional and the defaults draw what they drew before. - Loading substates in an engine only render when the console's application route lets the
loadingevent bubble. fleetbase/fleetbase v0.7.69 does.
- Skeletons follow the page they stand in for. The table card takes
- Dark resource card tier.
Layout::Resource::Cardgets hook classes (resource-card,-header,-body,-footer) and an opaque surface with hairline inner borders and a raised footer, replacing the half-transparent fill. Buttons and inputs are unchanged from 0.4.5. - The report widget runs the report. The dashboard
Widget::Reportshowed the results stored on the report record, so the tile went stale. It now runs the report throughPOST reports/{id}/executeafter loading it, shows "Running report…" then "Last run", and has a Refresh button. Results are capped at 100 rows with a note. A failed run shows an inline error and keeps the last good result. Polling is off by default;options.refreshInterval(minutes, minimum 5) turns it on and stops when the widget is destroyed. (#188) - Fix: notes on contacts save. The comment thread sends
subject_uuidfor a subject keyed by uuid; the console's comment serializer dropssubject_id, so those notes were inserted without a subject. - Fix: the date picker always shows the value in its date format. A consumer that stored the picked
Datesaw its fulltoString()in the field. - Fix:
CoordinatesInputtreats a null value as empty instead of throwing while the component is created. - Badges and buttons. A
deliverybadge status uses the violet tone, and the dark-mode success button hover is green-600, so it reads as a hover.
Need help?
What's Changed
- feat(widget): run the report widget live instead of showing stored results by @roncodes in #188
- docs(release): v0.4.6 notes by @roncodes in #190
- release/v0.4.6: skeleton loading components and dark palette tiers by @roncodes in #189
Full Changelog: v0.4.5...v0.4.6