-
- Téléchargements
Feature: Improve reports ui (#7032)
* Further improvements to Reports UI - Clean up notes display - Clean up add new note form - Simplify controller - Allow reopening a report with a note - Show created at date for reports - Fix report details table formatting * Show history of report using Admin::ActionLog beneath the report * Fix incorrect log message when reopening a report * Implement fetching of all ActionLog items that could be related to the report * Ensure adding a report_note updates the report's updated_at * Limit Report History to actions that happened between the report being created and the report being resolved * Fix linting issues * Improve report history builder Thanks @gargron for the improvements
parent
45c9f16f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- app/controllers/admin/report_notes_controller.rb 12 ajouts, 5 suppressionsapp/controllers/admin/report_notes_controller.rb
- app/controllers/admin/reports_controller.rb 9 ajouts, 11 suppressionsapp/controllers/admin/reports_controller.rb
- app/javascript/styles/mastodon/admin.scss 35 ajouts, 0 suppressionapp/javascript/styles/mastodon/admin.scss
- app/models/report.rb 46 ajouts, 0 suppressionapp/models/report.rb
- app/models/report_note.rb 1 ajout, 1 suppressionapp/models/report_note.rb
- app/views/admin/report_notes/_report_note.html.haml 5 ajouts, 7 suppressionsapp/views/admin/report_notes/_report_note.html.haml
- app/views/admin/reports/show.html.haml 31 ajouts, 16 suppressionsapp/views/admin/reports/show.html.haml
- config/locales/en.yml 8 ajouts, 3 suppressionsconfig/locales/en.yml
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter