Repository navigation
v0.5.2
Requires rdforms-specs 1.7.0 or later: the application profile page now renders
into an element it hands the renderer rather than into the page's own <main>.
Nothing here changes a DOM shape or an esb* class, and no block or parameter is
renamed or removed.
Added
- A new block,
apView: the whole application profile page as one mount
point,<div data-entryscape="apView">— therdforms-specsroot, the header,
the diagram, and the two elements the renderer fills. Parameters:hl(heading
level of the title, default1),standAlone(show the back-to-specification
link, defaultfalse),tocIdandcontentId(ids of the elements the
renderer fills, defaulting tordforms-specs-tocandrdforms-specs-content).
Changed
apViewis the application profile page's entrypoint. The page was
assembled in the host's own markup —loadApalongsideapTitle,apStatus,
apDate,apHeaderMetadata,apToSpecButtonanddiagramImage, with the page
supplying a<nav>and a<main>. Those blocks still render, but they are
internal now, and the family stops atapView: there is noapMain,
apInfoboxorapVanity.- The renderer is told which elements to fill, rather than taking the first
<nav>and the first<main>in the document — which on a page carrying its
own site navigation took that over instead. A page mounted the 0.5.1 way is
unaffected: with nothing matching the ids, the renderer still falls back to
searching by tag.
Fixed
- The application profile page follows the page language. It read
document.targetLanguage, a global the page had to set for itself; it now uses
the language the runtime resolved frompage_language, like every other block. - Its click-through links use the merged
clicks. They resolved against the
first configuration object that declared aclicksmap, ignoring every later
contribution and the!clicksreplacement convention; they now use the same
merged mapnamedclickresolves against. - Its "usage note" label is translatable. It was a fixed English/Swedish pair
inside the bundle; it isap.usageNoteinconfig.nlsnow.