]> cat aescling's git repositories - mastodon.git/commit
Add edit history to web UI (#17390)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 9 Feb 2022 00:17:07 +0000 (01:17 +0100)
committerGitHub <noreply@github.com>
Wed, 9 Feb 2022 00:17:07 +0000 (01:17 +0100)
commitfd3a45e3482e86dad3c1dfc069144864c4ff0b0b
tree41d497599cf1ecb35f9f2e278b67c90e3a850a46
parent2adcad04ff96fc8e7cb9aeefef1b22ea38e65457
Add edit history to web UI (#17390)

* Add edit history to web UI

* Change history reducer to store items per status

* Fix missing loading prop
18 files changed:
app/controllers/api/v1/statuses/histories_controller.rb
app/javascript/mastodon/actions/history.js [new file with mode: 0644]
app/javascript/mastodon/components/dropdown_menu.js
app/javascript/mastodon/components/edited_timestamp/containers/dropdown_menu_container.js [new file with mode: 0644]
app/javascript/mastodon/components/edited_timestamp/index.js [new file with mode: 0644]
app/javascript/mastodon/components/inline_account.js [new file with mode: 0644]
app/javascript/mastodon/components/loading_indicator.js
app/javascript/mastodon/components/relative_timestamp.js
app/javascript/mastodon/features/status/components/detailed_status.js
app/javascript/mastodon/features/ui/components/compare_history_modal.js [new file with mode: 0644]
app/javascript/mastodon/features/ui/components/modal_root.js
app/javascript/mastodon/features/ui/util/async-components.js
app/javascript/mastodon/reducers/history.js [new file with mode: 0644]
app/javascript/mastodon/reducers/index.js
app/javascript/styles/mastodon/components.scss
app/lib/formatter.rb
app/models/status_edit.rb
app/serializers/rest/status_edit_serializer.rb