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>
This commit is contained in:
flemming-it 2026-06-16 17:47:59 +02:00
parent 5baf99384f
commit fb41a518c9
11 changed files with 19 additions and 19 deletions

View file

@ -1,6 +1,6 @@
# Changelog # Changelog
All notable changes to `fai_studio_flow_editor` recorded here. All notable changes to `chain_studio_flow_editor` recorded here.
Studio bumps its `pubspec.yaml` git ref to a specific release Studio bumps its `pubspec.yaml` git ref to a specific release
of this package on every editor change. of this package on every editor change.

View file

@ -1,4 +1,4 @@
# fai_studio_flow_editor # chain_studio_flow_editor
Swappable in-Studio flow editor for the Ch∆In. Hosts a Swappable in-Studio flow editor for the Ch∆In. Hosts a
three-tab editing surface on top of one in-memory flow YAML: three-tab editing surface on top of one in-memory flow YAML:
@ -19,7 +19,7 @@ editor is one pubspec change and a rebuild.
## Public surface ## Public surface
```dart ```dart
import 'package:fai_studio_flow_editor/fai_studio_flow_editor.dart'; import 'package:chain_studio_flow_editor/chain_studio_flow_editor.dart';
FlowEditorPage( FlowEditorPage(
initialFlowName: String?, // preload this flow initialFlowName: String?, // preload this flow
@ -85,7 +85,7 @@ spurious diffs in version control.
``` ```
lib/ lib/
├── fai_studio_flow_editor.dart exports public API ├── chain_studio_flow_editor.dart exports public API
└── src/ └── src/
├── editor_controller.dart shared state + reparse loop ├── editor_controller.dart shared state + reparse loop
├── flow_editor_page.dart host scaffolding, tabs ├── flow_editor_page.dart host scaffolding, tabs
@ -113,7 +113,7 @@ reference:
```yaml ```yaml
dependencies: dependencies:
fai_studio_flow_editor: chain_studio_flow_editor:
git: git:
url: https://git.flemming.ai/fai/studio-flow-editor url: https://git.flemming.ai/fai/studio-flow-editor
ref: main ref: main

View file

@ -1,4 +1,4 @@
name: fai_studio_flow_editor name: chain_studio_flow_editor
description: Swappable inline YAML editor for F∆I Studio flows. description: Swappable inline YAML editor for F∆I Studio flows.
version: 0.21.0 version: 0.21.0
publish_to: 'none' publish_to: 'none'

View file

@ -5,8 +5,8 @@
// graph -> YAML emission, selection bookkeeping, and // graph -> YAML emission, selection bookkeeping, and
// dirty/saved transitions correctly. // dirty/saved transitions correctly.
import 'package:fai_studio_flow_editor/src/editor_controller.dart'; import 'package:chain_studio_flow_editor/src/editor_controller.dart';
import 'package:fai_studio_flow_editor/src/model/flow_graph.dart'; import 'package:chain_studio_flow_editor/src/model/flow_graph.dart';
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
void main() { void main() {

View file

@ -4,9 +4,9 @@
// fixesFor, analyzerErrorCount, AnalyzerStrings) so a future // fixesFor, analyzerErrorCount, AnalyzerStrings) so a future
// regression on the data flow surfaces in CI. // regression on the data flow surfaces in CI.
import 'package:fai_studio_flow_editor/src/flow_yaml_controller.dart'; import 'package:chain_studio_flow_editor/src/flow_yaml_controller.dart';
import 'package:fai_studio_flow_editor/src/l10n.dart'; import 'package:chain_studio_flow_editor/src/l10n.dart';
import 'package:fai_studio_flow_editor/src/quick_fix.dart'; import 'package:chain_studio_flow_editor/src/quick_fix.dart';
import 'package:flutter_code_editor/flutter_code_editor.dart'; import 'package:flutter_code_editor/flutter_code_editor.dart';
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';

View file

@ -2,8 +2,8 @@
// AbstractAnalyzer that feeds the flow editor's gutter + the // AbstractAnalyzer that feeds the flow editor's gutter + the
// custom CodeController's wavy-underline overrides. // custom CodeController's wavy-underline overrides.
import 'package:fai_studio_flow_editor/src/flow_analyzer.dart'; import 'package:chain_studio_flow_editor/src/flow_analyzer.dart';
import 'package:fai_studio_flow_editor/src/quick_fix.dart'; import 'package:chain_studio_flow_editor/src/quick_fix.dart';
import 'package:flutter_code_editor/flutter_code_editor.dart'; import 'package:flutter_code_editor/flutter_code_editor.dart';
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
import 'package:highlight/languages/yaml.dart'; import 'package:highlight/languages/yaml.dart';

View file

@ -3,7 +3,7 @@
// here corrupts every flow the operator opens, so the parser // here corrupts every flow the operator opens, so the parser
// gets full coverage of the shipped example shapes. // gets full coverage of the shipped example shapes.
import 'package:fai_studio_flow_editor/src/model/flow_graph.dart'; import 'package:chain_studio_flow_editor/src/model/flow_graph.dart';
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
void main() { void main() {

View file

@ -5,8 +5,8 @@
// attached when supplied, height accounts for max(inputs, // attached when supplied, height accounts for max(inputs,
// outputs). // outputs).
import 'package:fai_studio_flow_editor/src/model/flow_graph.dart'; import 'package:chain_studio_flow_editor/src/model/flow_graph.dart';
import 'package:fai_studio_flow_editor/src/widgets/flow_node.dart'; import 'package:chain_studio_flow_editor/src/widgets/flow_node.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';

View file

@ -9,8 +9,8 @@
// CodeField inside a TestWidget tree and walk the produced // CodeField inside a TestWidget tree and walk the produced
// span tree. // span tree.
import 'package:fai_studio_flow_editor/src/flow_yaml_controller.dart'; import 'package:chain_studio_flow_editor/src/flow_yaml_controller.dart';
import 'package:fai_studio_flow_editor/src/wire_colors.dart'; import 'package:chain_studio_flow_editor/src/wire_colors.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';

View file

@ -7,7 +7,7 @@
import 'dart:async'; import 'dart:async';
import 'dart:typed_data'; import 'dart:typed_data';
import 'package:fai_studio_flow_editor/src/run_driver.dart'; import 'package:chain_studio_flow_editor/src/run_driver.dart';
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
void main() { void main() {