Files
craft-libs/crates/table
aiongg f910b4fe3c IME engine: an editor's own end of composition interrupts the OS composition; resets end only with their own completion
EditorState.composing replaces EditorState.revision (and TextEditorHost::revision): an editor that reported
composing and now does not ended the composition itself (a press in its text, a selection, an app edit over the
marked text), and the engine interrupts the OS composition and drops its late events. TextEditor and the sheet
grid report their marked text; editors that show none report false throughout.

The reset fence ends only with the completion of the engine's latest request (ImeResetId); an earlier request's
completion is stale. A request the integration can no longer answer (a pass with no IME output, an unfocused
window) is retired and asked again when an owner returns.

Trials: preedit and a click during composition for a canvas TextEditor, with one press per pass holding the late
commit for the next pass (craft-text); reset requests and stale completions (craft-ui-contract).
2026-11-13 16:15:16 +00:00
..

craft-table

Spreadsheet widgets for Craft apps, from GridCraft (Excel), with LightCraft's condition builder. A UI-only family: everything is in craft_table::ui behind the ui feature.

  • grid: CellAt, CellRange, CellSelection, LineIndex (sizes with prefix sums), SheetGeometry (zoom, headers, frozen panes, right-to-left) and the CellGrid widget over a GridModel the app implements, with Excel's keys.
  • conditions: ConditionBuilder, rows of field, operator and value with nested groups.
  • outline: OutlineBand, the group brackets and level buttons of grouped rows and columns.
  • fields: FieldListPane, the PivotTable Fields pane.
  • chart: ChartPrimitive and paint_chart, a chart drawn from a primitive list.
  • slicer: Slicer, toggle tiles that filter a table.
  • refpick: ReferencePicker, point mode for a formula field.
  • stats: SelectionStats and the status bar's SelectionStatsReadout.
  • error_tag: ErrorTag, the warning tag beside a cell with its fixes.
  • filter: FilterButton, the filter arrow in a header cell.

Edits go out as events; the app applies them to its workbook.

Stories are #[story] functions in src/ui/*/stories.rs; they register in craft_ui::testing::stories() and the craft-ui-gallery viewer lists them by the type they show.