Minor Changes
-
0a00d19:
formatBytes(bytes, locale?, units?)writes sizes in the locale: the number throughIntl(1,4 Mo,1.4 MB, no trailing.0) and the units of the language, o / ko / Mo / Go / To in French, B / KB / MB / GB / TB otherwise (byteUnits(locale)). A value that rounds up to 1024 moves to the next unit.formatBytes(n)still works, with the browser locale; English output changes from1.0 MBto1 MB.useFormatBytes()formats in the app's language with the catalogue's units (core.units.bytes.*); PayloadViewer and EmailPreview use it. ShowDisplay has abytestype, and the show field resolver maps the schema typesbytesandfilesizeto it. -
6f71636: The task dialog's log takes its patterns from the layers:
logPatterns: { errorPattern, timestampPattern }inconfigureTasks,registerTaskKindor arun(), the kind's over the app's.nullturns a pattern off (no error flagging, no "N errors" button). The default error pattern now takes whole words only,\b(error|fatal|failed)\b: a line namingshipping_error.phporfailed_jobsis no longer flagged as an error.TASK_LOG_DEFAULTSand theTaskLogPatternstype are exported. -
91a52cb: The YAML editors move to
@quazardous/vanilla-yamleditor0.3, then 0.4 (see below; this release needs^0.4.0).VanillaYamlEditorhas three views:text, a technicaltree(nestedkey: valuelines) andform(the schema form, previously calledtree). The default stays the form when there is a schema, the tree otherwise. Code that passesmode="tree"to get the form now passesmode="form".Valid YAML that is likely a typo (
port :: 8080, a quoted key with spaces around it) is flagged as a warning, which never blocks a save; the newlintprop (defaulttrue) turns it off.YamlConfigEditorgains themodeandlintprops, passed to its editor. New labels incore.yamlEditor:form,warnings,colonKey,spacedKey;treeis now "Tree" / "Arbre". -
327dd91: The YAML editors move to
@quazardous/vanilla-yamleditor0.4 (peer^0.4.0, install the v0.4.0 release tarball). The form now shows value labels (oneOf: [{ const, title }]orenum+x-enumLabels, titles through the catalogue), schema variants (allOf,if/then/else,oneOf/anyOfwith adiscriminator), and the per-fieldreadOnly,deprecated(a warning that never blocks a save) andexamples. No change in qdadm's own API.