mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
bf955891d9
Summary: - Simplify undoManager to just maintain the undo/redo history items - DraftEditingSession manages snapshotting state of draft, hack allows it to also save selection (still hoping to eventually put selection in body HTML as markers) - Switch from `debounce` to `throttle` style behavior so typing for along time followed by undo doesn't undo away your entire block. This resolves two issues: + Changes to participant fields are no longer undoable because they go straight to the session. + Changes to metadata weren't undoable. Test Plan: Tests WIP Reviewers: evan, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D2956 |
||
---|---|---|
.. | ||
decorators | ||
account-contact-field.jsx | ||
action-bar-plugins.jsx | ||
collapsed-participants.jsx | ||
compose-button.jsx | ||
composer-editor.jsx | ||
composer-header-actions.jsx | ||
composer-header.jsx | ||
composer-view.jsx | ||
fields.es6 | ||
file-upload.jsx | ||
image-file-upload.jsx | ||
main.es6 | ||
send-action-button.jsx | ||
subject-text-field.jsx |