Files
clide/lib/widgets/widgets.dart
T
jpmschweitzerandClaude Opus 4.8 e54d5263e0 feat(vim): ex command-line overlay (:w :q :wq :x :e :N, ZZ) (T-407)
Under the Vim preset, `:` opens a transient one-line ex overlay running a
fixed v1 table; ZZ runs :wq directly. Completes the last built child of the
T-403 cross-pane vim layer (T-405 part 2 gt/gT still open).

- ExLineController + parseExCommand grammar + editor-targeted executors
  (lib/kernel/src/ex_line.dart); the overlay (lib/widgets/src/ex_line_overlay
  .dart) reuses the quick-open chrome, mounts in the root_shell Stack, and
  publishes the exline.open scope flag. Unknown commands flash + stay open;
  with no active buffer every command no-ops (2026-06-13 decision).
- :q closes the active tab via editor.close on its id — the registry promotes
  the next buffer and the split self-collapses on the last (2026-06-12
  decision); :w/:wq/:x/ZZ save (+close) the active buffer.
- :e <path> seeds quick-open (new QuickOpenController.open(seed:)); :N adds the
  editor.goto-line IPC/CLI verb (reuses _offsetForLine). Goto needs caret sync:
  EditorController now handles editor.selection-changed and the editor view
  moves the caret on a selection-only change.
- `:` and ZZ are typed intents; the editor matcher and PaneKeyNav now bubble
  unhandled typed intents to the app-root Actions, so they fire from any focus.
  vim.yaml binds `:`, ZZ (shift+z shift+z), and Esc-dismiss.

Tests: parser/controller/executors, editor.goto-line daemon tests,
selection-changed (controller + view), full overlay widget test. make test
green; analyze + format clean.

Also files T-441 (drop bold from the ticket-id card label) and T-442
(sub-agent renders as 3 cards instead of one bundle) under the T-276 UI epic.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 11:44:48 +02:00

60 lines
1.9 KiB
Dart

/// clide widget primitives.
///
/// Hand-rolled, theme-token-consuming building blocks. No Material or
/// Cupertino. Feature code composes these; it never reaches down into
/// Flutter chrome widgets directly.
library;
export 'src/chrome_metrics.dart';
export 'src/clide_accordion.dart';
export 'src/clide_anchored.dart';
export 'src/clide_button.dart';
export 'src/clide_card_metrics.dart';
export 'src/clide_collapser_card.dart';
export 'src/clide_code_block.dart';
export 'src/clide_divider.dart';
export 'src/clide_file_image.dart';
export 'src/ex_line_overlay.dart';
export 'src/clide_filter_box.dart';
export 'src/clide_lightbox.dart';
export 'src/clide_markdown.dart';
export 'src/clide_marquee.dart';
export 'src/clide_menu.dart';
export 'src/clide_spinner.dart';
export 'src/clide_status_indicator.dart';
export 'src/clide_svg_view.dart';
export 'src/clide_toast.dart';
export 'src/clide_icon.dart';
export 'src/clide_icon_rail.dart';
export 'src/clide_palette.dart';
export 'src/clide_pane.dart';
export 'src/clide_pane_chrome.dart';
export 'src/clide_resize_border.dart';
export 'src/clide_pty_view.dart';
export 'src/clide_scrollbar.dart';
export 'src/clide_selection_area.dart';
export 'src/clide_spine.dart';
export 'src/clide_surface.dart';
export 'src/clide_tab_bar.dart';
export 'src/multitab_controller.dart';
export 'src/multitab_pane.dart';
export 'src/quick_open_overlay.dart';
export 'src/clide_tappable.dart';
export 'src/clide_text.dart';
export 'src/clide_typeahead.dart';
export 'src/clide_tooltip.dart';
export 'src/spacing.dart';
export 'src/typography.dart';
export 'src/icons/check.dart';
export 'src/icons/chevron.dart';
export 'src/icons/dot.dart';
export 'src/icons/folder.dart';
export 'src/icons/gear.dart';
export 'src/icons/plug.dart';
export 'src/icons/git_branch.dart';
export 'src/icons/search.dart';
export 'src/icons/terminal_icon.dart';
export 'src/icons/warning.dart';
export 'src/icons/x.dart';
export 'src/icons/phosphor.dart';