From 60751b33397f43fab3395e79c0a600915ec9a45a Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Mon, 3 Dec 2018 23:23:29 -0800 Subject: [PATCH] feat(statuses): implement "Delete and redraft" (#719) Fixes #469 --- .../_components/compose/ComposeMediaItem.html | 23 ++++- .../components/StatusOptionsDialog.html | 30 +++++- tests/serverActions.js | 5 + tests/spec/019-mention.js | 4 +- tests/spec/108-compose-dialog.js | 23 +++-- tests/spec/121-delete-and-redraft.js | 93 +++++++++++++++++++ tests/utils.js | 19 ++++ 7 files changed, 182 insertions(+), 15 deletions(-) create mode 100644 tests/spec/121-delete-and-redraft.js diff --git a/routes/_components/compose/ComposeMediaItem.html b/routes/_components/compose/ComposeMediaItem.html index f06862bb..3fc3394e 100644 --- a/routes/_components/compose/ComposeMediaItem.html +++ b/routes/_components/compose/ComposeMediaItem.html @@ -1,8 +1,8 @@
- {mediaItem.file.name}/ +
- +