Commit graph

2 commits

Author SHA1 Message Date
fb41a518c9 refactor: rename package fai_studio_flow_editor -> chain_studio_flow_editor
The flow editor is a Ch∆In Studio sub-component (chain product), not a
F∆I-vendor package. Rename the package, entry library file, and all
package: imports. flutter analyze: clean.

Signed-off-by: flemming-it <sf@flemming.it>
2026-06-16 17:47:59 +02:00
5c5ec4f990 test(editor): cover quick-fix exposure + driver approval contract
Two new test files:

  - fix_dialog_test.dart — surface tests for the controller API
    the new Fix dialog reads: fixesFor() returns the analyzer-
    attached list, analyzerErrorCount tracks errors, and the
    English AnalyzerStrings produce the labels the dialog
    renders ('Install <cap>', 'Add source for <cap>…', etc).
  - inline_approval_test.dart — covers the FlowRunDriver
    approval hooks added in 0.21.0. Validates the default
    stubs throw UnsupportedError (so legacy hosts surface in
    CI rather than at runtime) and that a fake driver
    implementation can drive the happy + reject paths.

44 editor tests green.

Signed-off-by: flemming-it <sf@flemming.it>
2026-06-09 09:32:13 +02:00