Repository navigation
v0.4.1
v0.4.1 ~ "Resource identity: pills, one-line identity cells, hover summaries and select options"
Highlights
- Resource descriptor registry —
utils/resource-registrystores one descriptor per kind of record (title, identifier, image, status, badges, facts, how it opens) in the shareduniverse/registry-service, so the host and every engine read one set.resolveResourceKeyaccepts a record, an identity stub, a model name or alias, aprefix:keystring, a PHP class name or a polymorphic type;openResourceunwraps proxies and stubs, swaps a subtype for its canonical record and never throws. Theresource-type,resource-componentandresource-relationhelpers and theresource-registryservice expose it to templates and engines. - Resource::Pill, Resource::Summary, Resource::HoverCard — a descriptor-driven pill that opens its record and shows a compact summary card on hover (photo or icon, name and identifier, status and online state, a handful of facts and one View action). The card is lazy: nothing renders until the pointer has rested on the target, and it hydrates only then.
- Table::Cell::Identity — a one-line identity cell: a small image with the status dot, the name and up to two inline badges, no status badge. It opens the record on click, disables on
column.permission, and never fires the row action as well. - Resource::SelectOption — the option row for record pickers, with a compact variant for the closed trigger.
filter/modelrenders options through it and the newfilter/model-multiplefilter selects several records. - Core resource families — pills, summaries, select options and identity cells for user, company, group, role, file and category, registered by an instance-initializer in the host.
- Fixes —
Attach::Popoverapplies@class, keeps an interactive popover enterable while shown, follows later changes to@isShownand removes its listeners on destroy;Attach::TooltipforwardshideDelay,hideDuration,@class,@style,floatingTarget,floatingContainerandonChange;Pillrenders a static span when it has nothing to do and hands its tooltip component the resource;MultiSelectforwards@selectedItemComponent,@searchFieldand@searchPlaceholder;table/cell/resource-identityno longer renders an empty meta row. - Dummy app —
@fleetbase/ember-coreis declared as a dependency so the components that import it can render in tests.
Need help?
What's Changed
- Fix CSS build performance with linked addons by @roncodes in #176
- Release v0.4.1 by @roncodes in #175
Full Changelog: v0.4.0...v0.4.1