Skip to content

Port the UI onto the craft framework - #7101

Merged
benandez merged 403 commits into
mainfrom
port/craft-ui
Nov 20, 2026
Merged

benandez merged 403 commits into
mainfrom
port/craft-ui

Conversation

@benandez

@benandez benandez commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Summary

This moves WordCraft's egui UI onto the craft framework. The ribbon, title bar, status bar, File pages, dialogs, panes, canvas, keytips and command search are now framework components. The engine, file formats and layout are unchanged.

The framework is pinned by git rev to craft-libs next at 362eb2820, which is the head of the framework PR. This draft stays a draft until that PR lands.

What a user will notice:

Testing

  • Full app suite on the Spark: 4,632 passed, 0 failed, across 35 test binaries.
  • The canvas tests compile again. About 110 of them had silently dropped out when an earlier port step removed mod tests;.
  • Not run: wasm and workspace-wide clippy, which the build tool refuses. They are left to CI.

Summary by CodeRabbit

  • New Features
    • Added command search, refreshed Start and Backstage pages, and expanded dialogs for document, formatting, and reference tasks.
    • Added accessibility findings with navigation and available actions, plus print-preview navigation and controls.
    • Added more detailed status-bar information and support for opening dropped files.
  • Improvements
    • Preferences now use shared settings, including import of legacy settings.
    • Citation tools appear under Citations, with Zotero available as the provider.
    • Updated ribbon, dialog, and canvas interactions, including table resizing and object manipulation.
  • Documentation
    • Updated control-channel guidance to describe one-time token authentication per connection.

benandez and others added 30 commits November 19, 2026 00:11
- canvas-w21: written from its sheet
- canvas-w21: repair 1
- canvas-w21: review fixes (review-1)
- chrome-w8: repair 1
- chrome-w8: review fixes (review-1)
…callers; Label and Value import from their framework homes; balloons read command_enabled; wordart test runs fired commands through WordApp::run_fired; delete rtl.rs, which has no reader
…rdApp, WindowUi and the destructurings no longer carry it
…el, TypeRole, DisclosureGlyph and kittest Node come from their own modules, not the ribbon.rs re-exports ribbon-w8 dropped
…yle previews, owned colour key, non-exhaustive DialogResult, struct EditEvent variants, IconButton::command, Props::command on bound toggles
… with its builders; symbol tile paints centred by the run's alignment; paint_style gets the content painter cx
…om the thumbnail request, with thumb_aspect for the tile or button (S-L393)
…st (ScriptedFiles held/queue/answer_to, Host::builder, page_rects()/canvas_rect(), drain_inbox, DefaultAppError, pixel-sized auto_scale_limit_over, ClipItem::Image, DropTarget::Elsewhere, dialogs::close_all)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…MenuItem::new; colour preview matches cover non_exhaustive Preview; mini toolbar toggle icon is static
… S-L411, S-L414, S-L419, S-L372, S-L368, S-L364)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant