about summary refs log tree commit diff
path: root/app/javascript/mastodon/reducers/index.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-02-23 20:03:46 +0100
committerGitHub <noreply@github.com>2022-02-23 20:03:46 +0100
commita9a43de6d1502a6cbb388a5dbcd0e8532c236e64 (patch)
treec740e607088ce81b7da6441bd799b08b2fa39f25 /app/javascript/mastodon/reducers/index.js
parent1c3e5e44e2cb7eaeb3a930ec1821096827df930e (diff)
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
Diffstat (limited to 'app/javascript/mastodon/reducers/index.js')
-rw-r--r--app/javascript/mastodon/reducers/index.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/javascript/mastodon/reducers/index.js b/app/javascript/mastodon/reducers/index.js
index af2ef595e..ce4ef991d 100644
--- a/app/javascript/mastodon/reducers/index.js
+++ b/app/javascript/mastodon/reducers/index.js
@@ -17,7 +17,8 @@ import status_lists from './status_lists';
 import mutes from './mutes';
 import blocks from './blocks';
 import boosts from './boosts';
-import reports from './reports';
+// import reports from './reports';
+import rules from './rules';
 import contexts from './contexts';
 import compose from './compose';
 import search from './search';
@@ -61,7 +62,8 @@ const reducers = {
   mutes,
   blocks,
   boosts,
-  reports,
+  // reports,
+  rules,
   contexts,
   compose,
   search,