-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
enhance(client): 1枚だけのメディアリストの画像のアスペクト比を画像に応じて縦長にする #10452
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
99135b3
:v:
tamaina 2f39c08
fix
tamaina 73d43f4
Merge branch 'develop' into img-max
tamaina 9306ba7
:v:
tamaina ac384b5
Merge branch 'develop' into img-max
tamaina 13c8885
Merge branch 'develop' into img-max
tamaina d5653ba
422px上限
tamaina 238c71c
334
tamaina b75a4cc
min-height: 130px
tamaina ce094c5
64px
tamaina 47b90f0
fix
tamaina 6fe0ce9
wip
tamaina 64d4d3c
Merge branch 'develop' into img-max
tamaina 91e2a4f
:v:
tamaina 4751512
fix
tamaina 4c3aa63
max-height: none
tamaina c9dd511
Merge branch 'develop' into img-max
tamaina 08046ad
MkImgWithBlurHashでratioを計算する
tamaina af7d86f
wip
tamaina 4188cc7
Merge branch 'develop' into img-max
tamaina 15be36b
fix
tamaina e39d832
fix?
tamaina 9cb4fbf
Revert "fix?"
tamaina c1d94a4
Revert "fix"
tamaina bb0036a
Revert "wip"
tamaina b01c22c
fix
tamaina 22abfb2
Revert "Revert "wip""
tamaina 0560487
Revert "Revert "fix""
tamaina 3d5c068
Revert "Revert "fix?""
tamaina 92201e7
fix
tamaina 4af1f6b
use clamp
tamaina 2cc7f5c
Merge branch 'develop' into img-max
tamaina e90da7d
readable
tamaina 3a1b67c
Merge branch 'develop' into img-max
tamaina 8dced67
Merge branch 'develop' into img-max
tamaina 5e5f46f
add 1:1, 3:4
tamaina f45be59
moveComment
tamaina 6c8da24
3:4 → 2:3
tamaina fc8ab48
fix
tamaina 697808c
default
tamaina 741717d
fallback
tamaina 8e0fcd1
Revert "fallback"
tamaina 4bbd7db
Merge branch 'develop' into img-max
tamaina 1b08d51
Fix?(server): Content-Dispositionのパースでエラーが発生した場合にもダウンロードが完了するように
tamaina cc68f19
Merge branch 'develop' into img-max
tamaina File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
canvasがwidth, height付きで挿入されているため問題ない
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.
あ、aspectRatioの代入はイメージのロード関係ない
(img.propertiesは画像投稿時にデータベースに保存されている値であるため)
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.
ほんまか?
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.
出先でコード読めてないけどfileIdsしかもらわないんだっけ
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.
devtools inspectorでimgのsrc消してみたらシミュレートできます
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.
あっ、でもロードする前にはblurhashを見せるようになっているので結局問題ないかも
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.