]> cat aescling's git repositories - mastodon.git/commit
Change report modal to include category selection in web UI (#17565)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 23 Feb 2022 19:03:46 +0000 (20:03 +0100)
committerGitHub <noreply@github.com>
Wed, 23 Feb 2022 19:03:46 +0000 (20:03 +0100)
commita9a43de6d1502a6cbb388a5dbcd0e8532c236e64
treec740e607088ce81b7da6441bd799b08b2fa39f25
parent1c3e5e44e2cb7eaeb3a930ec1821096827df930e
Change report modal to include category selection in web UI (#17565)

* Change report modal to include category selection in web UI

* Various fixes and improvements

- Change thank you text to be different based on category
- Change starting headline to be different for account and status reports
- Change toggle components to have a checkmark when checked
- Fix report dialog being cut off on small screens
- Fix thank you screen offering mute or block if already muted or blocked
- Refactor toggle components in report dialog into one component

* Change wording on final screen

* Change checkboxes to be square when multiple options are possible
15 files changed:
app/javascript/mastodon/actions/reports.js
app/javascript/mastodon/actions/rules.js [new file with mode: 0644]
app/javascript/mastodon/components/check.js [new file with mode: 0644]
app/javascript/mastodon/features/report/category.js [new file with mode: 0644]
app/javascript/mastodon/features/report/comment.js [new file with mode: 0644]
app/javascript/mastodon/features/report/components/option.js [new file with mode: 0644]
app/javascript/mastodon/features/report/components/status_check_box.js
app/javascript/mastodon/features/report/containers/status_check_box_container.js
app/javascript/mastodon/features/report/rules.js [new file with mode: 0644]
app/javascript/mastodon/features/report/statuses.js [new file with mode: 0644]
app/javascript/mastodon/features/report/thanks.js [new file with mode: 0644]
app/javascript/mastodon/features/ui/components/report_modal.js
app/javascript/mastodon/reducers/index.js
app/javascript/mastodon/reducers/rules.js [new file with mode: 0644]
app/javascript/styles/mastodon/components.scss