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

chore: hide thumbnail if website is sensitive #12581

Merged

Conversation

anatawa12
Copy link
Member

What

#12419 の対応準備。あとはsummarly側でsensitiveの判断を正しく行うようにするとtwitterについても動くようになると思います。

twitterについては詳しくないので私はしませんが、dlsiteなどはmixi:content-ratingというmetaタグがあったのでこれの対応をsummarly側に投げようと考えてます

Why

個別対応はモデレーション的に負荷がかかる。

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 5, 2023
@acid-chicken
Copy link
Member

#12276 (comment)

@anatawa12
Copy link
Member Author

adminが選択したサイトを表示させない需要があるかもしれませんが私はすべてのsensitiveなサイトのthumbnailを非表示する必要はないと思っています。

Copy link

codecov bot commented Dec 5, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8866c53) 78.76% compared to head (c7cf813) 78.90%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #12581      +/-   ##
===========================================
+ Coverage    78.76%   78.90%   +0.14%     
===========================================
  Files          955      957       +2     
  Lines       103873   104065     +192     
  Branches      8337     8358      +21     
===========================================
+ Hits         81814    82114     +300     
+ Misses       22059    21951     -108     

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

@acid-chicken
Copy link
Member

(filter 処理をかけてでも)ブラーして表示する意味があるのかが知りたいという話

@anatawa12
Copy link
Member Author

ブラーかかっててもある程度サムネイルが見れるの有用だと思うのですが

@acid-chicken
Copy link
Member

サムネイルレベルの領域にブラーかけたらもう平均色プラスアルファ程度の情報量しかなさそう
その場合それを知ることができたとて何か直接有用な判断材料に繋がるようには思えない

@anatawa12
Copy link
Member Author

情報量多そう少なそうくらいはあるとは思うんですがうーん...表示させるのに固執する理由もないので非表示にしますか......

@anatawa12 anatawa12 force-pushed the blur-sensitive-site-thumbnail branch from b4c14d3 to c7cf813 Compare December 5, 2023 01:48
@anatawa12 anatawa12 changed the title chore: blur thumbnail if website is sensitive chore: hide thumbnail if website is sensitive Dec 5, 2023
@syuilo
Copy link
Member

syuilo commented Dec 6, 2023

せっかくリンク先がセンシティブであるという情報が取れているなら、サムネイル非表示にするだけではもったいないかも?(サムネイルが非表示になることは非センシティブな場合でも普通にあるから、それだけでリンク先がセンシティブであると判断はできない)

まあそれは後々対応すれば良いかしら

@anatawa12
Copy link
Member Author

anatawa12 commented Dec 6, 2023

うちのモデレータからの要望もありとりあえずblurも何もなくサムネイルが表示されるのが困るって話だったので、とりあえず先に実装した感じです。

何かしら追加の表記を行う(思いつくのはチャンネルと同様のセンシティブオーバーレイを追加する?)のもいいと思います。

@anatawa12
Copy link
Member Author

なんかセンシティブを表示するのは後で対応にしたいです

@syuilo syuilo merged commit 00b11b1 into misskey-dev:develop Dec 6, 2023
15 checks passed
@syuilo
Copy link
Member

syuilo commented Dec 6, 2023

🙏🙏

@anatawa12 anatawa12 deleted the blur-sensitive-site-thumbnail branch December 6, 2023 04:56
camilla-ett pushed a commit to kaseiski/misskey that referenced this pull request Jan 2, 2024
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.

None yet

3 participants