The Hub answers a sectioned search at /api/versions/published/grouped rather than
through a flag on the flat read. That endpoint takes the filters and a sort key
only - it sizes its own answer - so the popup asks through its own API method and
its own query string, and sends no page, page size or sort order.
MpItemVersionGroupedView mirrors what comes back: the view plus typeTotal, always
set, rather than the flat view with a nullable field and a comment about when it
is null. MpItemVersionQueryOptions loses grouped with it.
Two surfaces, one defect between them: a query answered by several content types
could not show all of them.
**The hero popup** asked /api/versions/published for one flat page of ten rows by
install count and grouped that page on the client. Ten rows cannot hold four of
each of six item types, so whichever types filled the page took it and the rest
had no section at all — and an absent section was indistinguishable from "no
matches of this type". Measured against the catalogue, `temperature` returns 71
matches across five types; a flat top-16 by install count shows no calculated
field and no alarm rule, and by relevance it shows none of the 22 devices. On
`gateway` neither ordering surfaces one of the 12 matching widgets.
It asks for a grouped answer now. The server caps each type and puts `typeTotal`
on every row, so the client renders what it was given: one section per type, the
header a link to that type page carrying the current query and, when more of that
type exists, a "+N more ›" chip. Count and chevron appear together or not at all —
on a section already showing everything a chevron points at nothing. The footer
names where it goes rather than an ordering.
**The search page** keeps its flat paginated grid — the site's equivalent is a
browsable catalogue with indexed page URLs, so neither product groups there — and
gains what it was missing beside the type pages:
* A filter panel: item type, category, use case. Type is new, this being the one
page that mixes them. There is no catalogue-wide filterInfo endpoint, so the six
per-type answers are merged client-side. Counts are deliberately not rendered:
filterInfo takes no text query, so beside a searched result they would be the
whole catalogue's numbers describing a different answer.
* A page size that follows the column count, read from a hidden probe carrying the
grid's own classes rather than restated from its media queries: max(12,
columns × 3). Fifteen at every width ended a page mid-row at four and six
columns.
* One card layout. Calculated fields, alarm rules and rule chains render as a
compact horizontal row that needs a wide cell; the type pages narrow the grid
for them, a mixed grid cannot, and those rows truncated their own titles.
**Relevance** is a sort option on all four surfaces that carry a search field, and
the default on each. With text it ranks the answer; without it the backend
substitutes the install count, so browsing keeps the order it had. Nothing
switches on the field state — a control that relabels itself unasked was tried and
rejected.
Also here: the search page moves onto the type pages' frame — one even padding on
the card, the component full bleed — which removes four breakpoints' worth of
negative margins, each written to cancel that padding for one element.
license:format prepends the header it expects without recognising the
block comment the files were created with, so both new files carried the
license twice. They now have only the two SPDX lines, the same as every
other file that this repository shares with CE.
license:format prepends the header it expects without recognising the
block comment the files were created with, so both new files carried the
license twice. They now have only the two SPDX lines, the same as every
other file that this repository shares with CE.
The base switched every header to the SPDX form yesterday, so the files
this branch adds were the only ones left with the old block comment and
license:check failed on them once the base was merged in.
The base switched every header to the SPDX form yesterday, so the files
this branch adds were the only ones left with the old block comment and
license:check failed on them once the base was merged in.
The base branch switched every header to the SPDX form while this branch
was open, so the one file this branch adds was the only one left with the
old block comment.
The base branch switched every header to the SPDX form while this branch
was open, so the one file this branch adds was the only one left with the
old block comment.
validateSolution borrowed SolutionInstallResponse and used null to say
that nothing conflicts, so the call site had to test two different ways
of saying "go ahead". It returns a SolutionValidationResult now, built
through passed() or conflictsFound(report) - the private constructor
keeps the two states honest - and the install response is assembled
where the install actually answers.
validateSolution borrowed SolutionInstallResponse and used null to say
that nothing conflicts, so the call site had to test two different ways
of saying "go ahead". It returns a SolutionValidationResult now, built
through passed() or conflictsFound(report) - the private constructor
keeps the two states honest - and the install response is assembled
where the install actually answers.