Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misskey Playのノート投稿画面で「内容を隠す」を設定できるようにする #12576

Merged
merged 3 commits into from
Dec 9, 2023

Conversation

yuriha-chan
Copy link
Contributor

What

postFormButtonおよびpostFormのパラメーターに { form: { cw: "CWの文章" } }を渡すことで、「内容を隠す」を設定できるようにする

Why

Misskey Playの投稿がタイムラインの表示場所をとってしまうので、デフォルトでCWを設定したいというPlay作者がいるため。

Additional info (optional)

Checklist

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

@github-actions github-actions bot added the packages/frontend Client side specific issue/PR label Dec 4, 2023
@yuriha-chan yuriha-chan changed the title Misskey Playのノート画面で「内容を隠す」を設定できるようにする Misskey Playのノート投稿画面で「内容を隠す」を設定できるようにする Dec 4, 2023
Copy link

codecov bot commented Dec 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (319267e) 81.71% compared to head (f72ca5c) 78.75%.
Report is 1 commits behind head on develop.

❗ Current head f72ca5c differs from pull request most recent head 361d940. Consider uploading reports for the commit 361d940 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #12576      +/-   ##
===========================================
- Coverage    81.71%   78.75%   -2.96%     
===========================================
  Files          184      955     +771     
  Lines        28049   103875   +75826     
  Branches       497     8330    +7833     
===========================================
+ Hits         22920    81808   +58888     
- Misses        5129    22067   +16938     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yuriha-chan
Copy link
Contributor Author

Closes #12580

@syuilo syuilo merged commit dd332b3 into misskey-dev:develop Dec 9, 2023
9 checks passed
@syuilo
Copy link
Member

syuilo commented Dec 9, 2023

👍🏻

camilla-ett pushed a commit to kaseiski/misskey that referenced this pull request Jan 2, 2024
* Add the content warning option in AiScript UI postFormButton

* Fix initial CW in postFormButton

---------

Co-authored-by: syuilo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages/frontend Client side specific issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Misskey Playによるノート投稿画面で「内容を隠す」を設定できるようにする
3 participants