diff --git a/lib/src/flow_editor_page.dart b/lib/src/flow_editor_page.dart index 191b93b..e34eec2 100644 --- a/lib/src/flow_editor_page.dart +++ b/lib/src/flow_editor_page.dart @@ -192,6 +192,25 @@ class _FlowEditorPageState extends State _controller.markSaved(); _files = _listFiles(); setState(() {}); + // Brief positive feedback. Confirmation matters more + // here than on most save buttons because the operator + // can also save via Cmd+S without watching the dirty + // dot — a tiny green snackbar tells them the + // keystroke landed. + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + duration: const Duration(milliseconds: 1500), + behavior: SnackBarBehavior.floating, + content: Row( + mainAxisSize: MainAxisSize.min, + children: [ + const Icon(Icons.check_circle_outline, size: 16), + const SizedBox(width: FaiSpace.sm), + Text('$name.yaml ${_l.save.toLowerCase()}'), + ], + ), + ), + ); } catch (e) { if (!mounted) return; ScaffoldMessenger.of(