-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: 画像縮小・非可逆圧縮の設定を分離 #179
feat: 画像縮小・非可逆圧縮の設定を分離 #179
Conversation
ありがとうございます! to anatawa12
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます。デフォルト値に関する小さな修正をお願いします
「オリジナル画像を保持しない場合に、Web公開用画像の圧縮形式を選択できます。」の話がなくなるので、何の場合に作用する設定なのか若干分かりづらくなる可能性が少しありそうですかね…? どうやって対応しようかな |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
実装的にはOK
そうなんですよね...「オリジナル画像を保持する」にチェックを入れた時は、圧縮形式の設定2つを見えなくしてしまうか、トグルを disabled の状態にするかしたら、分かりやすいかなとは思いました。 |
そうすると投稿画面でアップロード時にオリジナル画像を保持するをオフにした際の設定ができなくなるのでその実装では困ると思います |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
コードはよし。あとは翻訳さやまめさんお願いします
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
これは原文からそうみたいなのですが、2560x2560"より小さくなるように"ではないような気がふとしました。
処理うろ覚えですが、2560x2560は大丈夫だった気がしていて…2560x2560"以下になるように"なのかな、と…
(そうだとして、本家側で表記修正してもらったタイミングで直すで良いかなぁという感じもあります)
Co-authored-by: Sayamame-beans <[email protected]>
159359d
to
c627a21
Compare
Co-authored-by: Sayamame-beans <[email protected]>
c627a21
to
432abd1
Compare
@Sayamame-beans ありがとうございます!修正取り込みました🙏
本家というのは misskey-dev/misskey ですかね?本家の方では 2560x2560 より小さくする説明自体無いような気がするのですが... |
確かにありませんでした(ごちゃまぜになってました、すみません) |
修正しました!ご確認お願いします🙏 ※2560x2560 "以下" になるのはここらへんがエビデンスになりそう...? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
見た感じ良さそうです!ありがとうございます!
What
cherry-picked from i544c-me#3
この PR では、4択となっていた画像圧縮の設定を2つのトグルに分け、ユーザーがより直感的に設定できるよう修正を行いました。
Before

After

Why
縮小の有無と非可逆圧縮の有無は分けて考えられますが、これを4択で提示してしまうとユーザーが混乱するのではないかと考えました。
2つのトグルならそれぞれ別に考えられますし、説明文も明確で分かりやすくなるかと思います。
Additional info (optional)
Checklist