docs: editor CHANGELOG.md, covering 0.16.0 → 0.21.0

Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
flemming-it 2026-06-09 09:25:03 +02:00
parent 303e318ba8
commit 7d220caaf3

107
CHANGELOG.md Normal file
View file

@ -0,0 +1,107 @@
# Changelog
All notable changes to `fai_studio_flow_editor` recorded here.
Studio bumps its `pubspec.yaml` git ref to a specific release
of this package on every editor change.
## 0.21.0 — 2026-06-09
### Added
- **Diagnostic-strip "Beheben" button** opens a focused modal
enumerating every issue with its quick-fix actions plus an
"apply every quick fix" master button. Replaces the
cramped expand-strip workflow for operators who want a
deliberate dialog instead of scrolling in a 200-px footer.
- **Inline Approve / Reject in the Run tab**. When the hub
pauses a flow on `system.approval@^0`, the Run tab now
renders a complete approve / reject form directly under the
awaiting step. The operator no longer needs to switch to the
Approvals page mid-run.
- **`FlowRunDriver` extended** with three new methods (default
implementations throw with a clear message so legacy hosts
keep compiling): `pendingApprovalIdForStep`,
`approveApproval`, `rejectApproval`.
## 0.20.1 — 2026-06-09
### Changed
- **Flow list rows** in the sidebar get a leading 28×28 icon
tile (`account_tree_outlined`), active-row accent + weight,
and compact byte formatting (B / KB / MB). Long names no
longer overflow into a multi-line ellipsis; size strings
read as `4.3 KB` instead of `4321 B`.
## 0.20.0 — 2026-06-09
### Added
- **Localised analyzer + strip + run messages**. Every analyzer
message and every quick-fix label flows through the new
`AnalyzerStrings` adapter, populated from the editor's locale.
Strip + hover card + run-block tooltip + inline message
+ step row + CopyableErrorBox tooltips all moved to the
string table.
### Fixed
- **Real monospace font everywhere**. The editor previously
used `fontFamily: 'JetBrains Mono'` as a bare string with no
fallback. The package never bundled the font; only Studio
pre-loaded it via `google_fonts`. Hosts without Studio's
setup saw the YAML editor render in the system proportional
default. New `_monoTextStyle()` helper pins
`fontFamilyFallback` to a cross-platform monospace chain.
## 0.19.0 — 2026-06-08
### Added
- **Persistent diagnostic strip** below the TabBarView. Same
issue list visible on Graph + Text + Run tabs.
- **Run button blocked** when the analyzer reports errors.
Both the action-strip Run and the RunTab Start button gate
on `analyzerErrorCount`.
- **Run failures copyable** via a new `_CopyableErrorBox`.
## 0.18.0 — 2026-06-08
### Added
- **Graph nodes pulse on error**. Steps + pseudo-nodes
(inputs / outputs) carrying analyzer issues render a
breathing halo in the matching severity colour.
- **Store-aware install / add-source**. Analyzer takes a
`storeCapabilities` closure; unknown-capability fixes
switch between "Install" (in store) and "Add source for…"
(not in store).
- **Did-you-mean suggestion** within Levenshtein distance 2.
## 0.17.0 — 2026-06-08
### Added
- **Copyable diagnostics + hover tooltip + quick fixes**. Strip
rows use SelectableText with per-row Copy. Wavy underlines
publish hover-tooltip requests via a ValueNotifier; an
OverlayEntry card renders the message + fix buttons near
the cursor.
- **`InstallCapabilityFix`** delegates to a host callback
(`onInstallCapability`).
## 0.16.0 — 2026-06-08
### Fixed
- **Editor gutter glitches**. The `flutter_code_editor` gutter
hard-positioned an `Icons.cancel` pin in a 16-px slot with a
popup that painted over the code area. Hidden via
`showErrors: false`; replaced with a bottom diagnostic strip
the editor owns.
## 0.15.x — 0.14.x
Earlier development. See git log.