misskey icon indicating copy to clipboard operation
misskey copied to clipboard

enhance(backend): ページ、ギャラリー、Playのモデレーション強化

Open zyoshoka opened this issue 1 year ago • 4 comments

What

以下のことを行いました。

  • 不適切な Page、ギャラリー、Play を管理者権限で削除できるように
  • 不適切な Page、ギャラリー、Play を通報できるように
  • Page、ギャラリー、Play ページの UI 修正

Why

Closes #10280 Closes #10565 Closes #13469

Additional info (optional)

Checklist

  • [x] Read the contribution guide
  • [x] Test working in a local environment
  • [ ] (If needed) Add story of storybook
  • [x] (If needed) Update CHANGELOG.md
  • [ ] (If possible) Add tests

zyoshoka avatar Mar 05 '24 08:03 zyoshoka

このPRによるapi.jsonの差分

差分はこちら
--- base
+++ head
@@ -38157,6 +38157,15 @@
                       }
                     }
                   },
+                  "ACCESS_DENIED": {
+                    "value": {
+                      "error": {
+                        "message": "Access denied.",
+                        "code": "ACCESS_DENIED",
+                        "id": "c86e09de-1c48-43ac-a435-1c7e42ed4496"
+                      }
+                    }
+                  },
                   "INVALID_PARAM": {
                     "value": {
                       "error": {

Get diff files from Workflow Page

github-actions[bot] avatar Mar 05 '24 08:03 github-actions[bot]

Codecov Report

Attention: Patch coverage is 13.80597% with 231 lines in your changes missing coverage. Please review.

Project coverage is 41.71%. Comparing base (b68b2ee) to head (687f42b). Report is 24 commits behind head on develop.

Files Patch % Lines
packages/frontend/src/pages/page.vue 0.00% 68 Missing :warning:
packages/frontend/src/pages/gallery/post.vue 0.00% 49 Missing :warning:
packages/frontend/src/pages/flash/flash.vue 0.00% 48 Missing :warning:
...d/src/server/api/endpoints/gallery/posts/delete.ts 30.00% 21 Missing :warning:
...s/backend/src/server/api/endpoints/flash/delete.ts 13.63% 19 Missing :warning:
...s/backend/src/server/api/endpoints/pages/delete.ts 13.63% 19 Missing :warning:
...ackages/frontend/src/pages/admin/modlog.ModLog.vue 0.00% 6 Missing :warning:
...es/frontend/src/components/MkAbuseReportWindow.vue 0.00% 1 Missing :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #13523      +/-   ##
===========================================
+ Coverage    38.88%   41.71%   +2.82%     
===========================================
  Files         1545     1551       +6     
  Lines       190505   196888    +6383     
  Branches      3262     2721     -541     
===========================================
+ Hits         74087    82129    +8042     
+ Misses      115857   114197    -1660     
- Partials       561      562       +1     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Mar 05 '24 08:03 codecov[bot]

ページとPlayのデザインだいぶ変えちゃったので修正必要かも🙏

kakkokari-gtyih avatar Apr 27 '24 11:04 kakkokari-gtyih

:eyes:

kakkokari-gtyih avatar Jun 23 '24 07:06 kakkokari-gtyih

👍🏻

syuilo avatar Aug 17 '24 06:08 syuilo