# Preserve text drafts and commit edits safely across UI lifecycles · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/b0b3900e4205c731c2184c453fa245e9dc806740)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: b0b3900e4205c731c2184c453fa245e9dc806740

Requested commit: b0b3900e4205c731c2184c453fa245e9dc806740

Commit: b0b3900e4205c731c2184c453fa245e9dc806740

Tree: 2ab12b476b9434e985f6b37d08deb0d9200504e9

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Preserve text drafts and commit edits safely across UI lifecycles

- Add `textDraftProvider` to track in-progress text edits and flush drafts on save/drag/dispose
- Route committed text changes through `commitText` with text undo/redo history and edit actions
- Refactor `TextWidget` editable/feedback paths for controller sync and rebuild resilience
- Add provider/widget tests covering draft persistence, drag/start commit, save flushing, and undo/redo

```

## Parents

- [7bd5c3b7f875ee450367044db20423475d901700](https://git.cafe/dara/icarus/commit/7bd5c3b7f875ee450367044db20423475d901700?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/b0b3900e4205c731c2184c453fa245e9dc806740?format=markdown)
