Commit Graph

101 Commits

Author SHA1 Message Date
Andreas Nedbal aa66ac4500 Fix haml-lint nits 2024-02-27 22:55:54 +01:00
Andreas Nedbal 50126cc4c4 Implement report filtering interface 2024-02-27 22:55:54 +01:00
Andreas Nedbal 0ef69eac69 Add empty hints for moderation views 2023-12-10 22:39:58 +01:00
Andreas Nedbal 21ac519120 Fix moderation inbox view 2023-12-10 22:39:58 +01:00
Andreas Nedbal fda397777e Fix layout of "Show all questions from this user" page 2023-12-09 22:58:30 +01:00
Andreas Nedbal c09cc85c4f Adjust class references to question CSS classes 2023-10-22 21:04:30 +02:00
Andreas Nedbal a58e902a01 Replace plain avatar usage with `AvatarComponent` 2023-10-20 11:45:53 +02:00
Karina Kwiatek 655b822e54 Add Stimulus controller for handling hotkeys 2023-04-29 09:34:28 +02:00
Karina Kwiatek 0eb9a4d089 Add hotkey for loading more entries 2023-04-29 09:34:28 +02:00
Karina Kwiatek 615c60d420 Highlight direct questions in own question lists 2023-02-12 18:21:14 +01:00
Georg Gadinger 77529c2217 moderation/reports: only provide #index as GET 2023-01-22 00:04:33 +01:00
Georg Gadinger 144db471d6 moderation/inbox: only provide #index as GET 2023-01-22 00:04:33 +01:00
Andreas Nedbal cea1190ab9 Remove and replace usage of media classes 2023-01-05 10:35:52 +01:00
Andreas Nedbal 23c01a97be Fix text alignment classes 2023-01-05 10:35:52 +01:00
Andreas Nedbal 695ce57762 Use moderation layout on specific views 2022-11-21 20:26:01 +01:00
Karina Kwiatek 16ac195ab9 Center-align load more buttons on single column pages 2022-10-25 22:12:51 +02:00
Georg Gadinger caf73558d6 views: rename .haml to .html.haml 2022-10-25 20:10:31 +02:00
Andreas Nedbal fedfbb1333 Use appropriate image sizes and lazy loading in moderationbox 2022-10-10 23:14:45 +02:00
Andreas Nedbal 57b638faaa Remove turbo-frame tag in moderation inbox view 2022-09-08 01:00:06 +02:00
Andreas Nedbal 073343f56f Remove turbo-frame tag in moderation report view 2022-09-08 01:00:06 +02:00
Andreas Nedbal 427c6b5d64 Remove obsolete view 2022-09-08 01:00:06 +02:00
Andreas Nedbal 1375293f31 Refactor moderation to use a Turbo Stream-backed pagination 2022-09-08 01:00:06 +02:00
Andreas Nedbal 8c14fb5423 Refactor mod inbox to use a Turbo Stream-backed pagination 2022-09-07 22:31:28 +02:00
Andreas Nedbal ffc0ba05e1 Add missing newline 2022-08-21 13:17:45 +02:00
Andreas Nedbal b46fae5ebd Rename index action to show action 2022-08-21 13:17:45 +02:00
Andreas Nedbal f521b5f160 Implement moderation question view layout 2022-08-21 13:17:45 +02:00
Andreas Nedbal 6f19d806f7 Prevent layout markup duplication 2022-08-21 01:13:10 +02:00
Andreas Nedbal 883d669d13 Move views to new location 2022-08-21 01:13:10 +02:00
Karina Kwiatek 136eac8bdd Add page for managing site-wide anonymous-blocks 2022-08-20 19:05:55 +02:00
Andreas Nedbal 19e95d066c Remove superfluous report existence checks 2022-07-30 05:12:22 +02:00
Andreas Nedbal 08033361f7 Fix HAML codestyle of moderation views 2022-07-30 05:11:29 +02:00
Andreas Nedbal a4c090d594 Add new translations for moderationbox 2022-07-30 04:58:20 +02:00
Georg Gadinger 66efa5d4f4 clean up routes
- replace `match` with `get`/`post`/`patch`/`delete`
- format routes.rb
- rename the `show_user_{profile,question,answer}` routes to
  `profile`, `question`, `answer` so `url_for` (used by Rails Admin)
  works fine for these things
- also add `to_param` to the `User` model so that `url_for(some_user)`
  uses the user name
2022-07-23 12:14:06 +02:00
Andreas Nedbal 7623213f96 Remove priority action views and links 2022-07-19 22:53:50 +02:00
Andreas Nedbal 67b6847311 Remove links to ip action from views 2022-07-19 22:53:50 +02:00
Andreas Nedbal 4df4e41a47 Remove moderation comments from report view 2022-07-19 11:17:45 +02:00
Andreas Nedbal 4ab391a09e Remove moderation vote from report view 2022-07-18 23:10:07 +02:00
Karina Kwiatek 10ead35209 Add translations for inbox moderation 2022-06-23 22:17:14 +02:00
Karina Kwiatek be8ba63b95 Add a way for moderators to view user inboxes 2022-06-23 22:17:14 +02:00
Andreas Nedbal 01bedd1143 Port report comment toggle feature to TypeScript 2022-01-08 20:28:52 +01:00
Karina Kwiatek c19b2df93c Implement pagination in Moderation Panel view 2022-01-03 23:23:12 +01:00
Karina Kwiatek 2cab96b9af Implement cursored pagination in Moderation Panel 2022-01-03 22:43:37 +01:00
Karina Kwiatek 842f51d745 Replace remaining usages of `user.display_name` 2021-12-23 22:01:56 +01:00
Robin B 19b754984e Add bottom padding to userbox col in moderation view
As suggested by @pixeldesu
2020-05-31 03:50:50 +02:00
Georg Gadinger 49bc29b31a fix some mistakes in some views 2020-05-17 18:15:18 +02:00
Andreas Nedbal 66b2afc976 Turn single-word strings into symbols 2020-05-11 19:40:45 +02:00
Andreas Nedbal 13878070fd Remove superfluous .html from moderation views 2020-05-11 19:40:43 +02:00
Andreas Nedbal 3c1d007c5e Fix lints in app/views/moderation 2020-05-11 19:40:43 +02:00
Andreas Nedbal ba2e82d7ec Fix moderation userbox layout 2020-05-09 02:45:47 +02:00
Andreas Nedbal b443aff964 Fix moderation comment layout 2020-05-06 22:54:36 +02:00