matrix-react-sdk
Improve image view
#5521
Merged

Improve image view #5521

SimonBrandner
SimonBrandner Reorganized elements
8aabe1f3
SimonBrandner Implement zooming
2040815f
SimonBrandner Added icons
3c306bc5
SimonBrandner Remove flex property
b9f480a8
SimonBrandner Fixed Chromium issues - made listner non-passive
2c5f3f31
SimonBrandner Center image
633221f0
SimonBrandner Switched to scale
ae25ff82
SimonBrandner Added a comment
ec5fcaf5
SimonBrandner Use height and width properties for scaling again
be9b68a4
SimonBrandner Added some padding
8de019c0
SimonBrandner Implement translation
f9884b1c
SimonBrandner Remove imageBox
7dd7aeff
SimonBrandner Remove panel element
67587345
SimonBrandner Fixed translation issue while the image is rotated
18de342f
SimonBrandner Change comment styling
776b0e81
SimonBrandner Remove the need to press ctrl while zooming
f0abd521
SimonBrandner Fix some sizing issues
cbfa6c5f
SimonBrandner Reorder label items
61c5e7e8
SimonBrandner Fix some more sizing issues
0dff150b
SimonBrandner Always allow moving
096fb333
SimonBrandner Set max zoom
3d62138c
SimonBrandner Added zoom button
f771b7ac
SimonBrandner Fix formatting
6315c8ec
SimonBrandner i18n
00bc97b6
SimonBrandner Reorganize buttons
997e08f2
SimonBrandner Merge branch 'develop' into improve-image-view
743b91d7
SimonBrandner Fix i18n
ad5844fc
turt2live turt2live requested a review 5 years ago
turt2live turt2live requested a review 5 years ago
SimonBrandner Merge branch 'develop' into improve-image-view
e2abbf9a
nadonomy
niquewoodhouse
SimonBrandner
turt2live turt2live removed review request 5 years ago
turt2live
SimonBrandner Merge branch 'develop' into improve-image-view
87d5d730
SimonBrandner Remove zoom icon
e5d68142
SimonBrandner Reorder the icons according to the design
35663c35
SimonBrandner Update icons according to the design
6cf19e88
SimonBrandner Reorganize elements
d85ab382
SimonBrandner Remove name
05e9019b
SimonBrandner Remove size info
49713187
SimonBrandner Fix css
768d2681
SimonBrandner Update the looks a bit more
ab79deb8
SimonBrandner Partially fix overflow issues
899ce1f6
SimonBrandner Change padding a bit
6aac8f17
SimonBrandner Remove redact button
13d76621
SimonBrandner Remove padding on lightboxes
8454a2d4
SimonBrandner Remove unused code
3e408b3f
SimonBrandner Quit on empty panel click
7cd8f113
SimonBrandner Fix padding according to the design
fafb8d43
SimonBrandner Redo icons
a6bb203a
SimonBrandner Make download into a button
b068a4c0
SimonBrandner Add more icon
0a00ffa9
SimonBrandner Add more button
83e1a7a7
SimonBrandner Don't show info if no event
fa9ae89b
SimonBrandner Pass permallinkCreator to ImageView
bd5efc7c
SimonBrandner SimonBrandner marked this pull request as draft 5 years ago
SimonBrandner Add context menu
9312bece
SimonBrandner Fix pointer-events
81698a27
SimonBrandner Remove ugly workaround
2021e4e3
SimonBrandner i18n
72931815
SimonBrandner Update info
98389528
SimonBrandner Use showTwelveHourTimestamps
6008a6f9
SimonBrandner Make permalink clickable
649b87ac
SimonBrandner Remove rounded border
25873c87
SimonBrandner Show grabbing cursor
d58c17ff
SimonBrandner Change comment styling
fe8e90f9
SimonBrandner Fix close icon
5a9e1a14
SimonBrandner Close onPermalinkClicked
83de8497
SimonBrandner Show full date
b18622ef
SimonBrandner Fix hex formatting
273753a4
SimonBrandner
SimonBrandner Revert trash icon
a4130cb7
SimonBrandner Add newline
7fc37580
SimonBrandner Remove trash red icon
984b4372
SimonBrandner Add comments
4f3fe3d2
SimonBrandner contextMenuDisplay -> contextMenuDisplayed
d0dea91e
SimonBrandner ZOOM shouldn't be a part of the class
fa239e50
SimonBrandner Remove onRedactClick
80ce4da9
SimonBrandner Consistent evs
4c377ae0
SimonBrandner Remove imports
436a17bc
SimonBrandner Remove wrapper
dc283241
SimonBrandner CSS cleanup
1955fff0
SimonBrandner i18n
fc32cead
SimonBrandner SimonBrandner marked this pull request as ready for review 5 years ago
SimonBrandner
SimonBrandner commented on 2021-02-25
SimonBrandner Merge branch 'develop' into improve-image-view
b27a8e3c
tiller
SimonBrandner
tiller
SimonBrandner Increase defautl size
9c313854
SimonBrandner Export ZOOM_STEP into a variable
67a57ead
SimonBrandner Add a missing space
7b6d3937
SimonBrandner Add ZOOM_COEFFICIENT with value of 10
e4503558
SimonBrandner
tiller
tiller
SimonBrandner
SimonBrandner Remove some unnecessary CSS and set MIN_ZOOM to 95
8f6f9cd6
SimonBrandner Set max-width and MIN_ZOOM
c96d2621
niquewoodhouse
niquewoodhouse
SimonBrandner Merge branch 'develop' into improve-image-view
9606297f
SimonBrandner Close ImageView after forward click
e5a563f8
SimonBrandner
SimonBrandner Make sender bold
535ae086
SimonBrandner Set color-hex-case to null
12b3661d
SimonBrandner Set opacity of lightboxes to 95 in light theme
e79254e7
SimonBrandner Don't show seconds in ImageView
80854ab6
SimonBrandner Use MIN_ZOOM in contructor
eb83ae0a
SimonBrandner Iterate mouse actions and cursor behaviour
33a10064
SimonBrandner Animate zooming
7068996b
SimonBrandner Reset translation with zoom out
2ff34000
SimonBrandner Don't return false
722178e2
SimonBrandner Don't allow translation when zoomed out
429c945b
SimonBrandner This is hopefully not true anymore
12a36d1a
niquewoodhouse
niquewoodhouse approved these changes on 2021-04-02
SimonBrandner
SimonBrandner commented on 2021-04-03
SimonBrandner Why don't I convert this to Typescript while I am here?
fd8e785a
SimonBrandner ZOOM_DISTANCE into a const
88a881ba
SimonBrandner SimonBrandner force pushed from d260e24c to 88a881ba 5 years ago
turt2live turt2live requested a review 5 years ago
turt2live
turt2live requested changes on 2021-04-09
SimonBrandner Add name to copyright
cb02c39d
SimonBrandner Make private
4a40f67e
SimonBrandner Add comment about refs to functional components
90f9d20f
SimonBrandner Add comment: same on all themes
7f496c7b
SimonBrandner Add null check
b723092e
SimonBrandner Close dialog on redact
829bef45
SimonBrandner Fix rotation animation when rotating 360 deg
86dd81cd
SimonBrandner
niquewoodhouse
SimonBrandner SimonBrandner requested a review from turt2live turt2live 5 years ago
turt2live
turt2live requested changes on 2021-04-12
SimonBrandner Call onCloseDialog straigh away
f1c80fce
SimonBrandner
SimonBrandner Make ImageView static
e1446f01
SimonBrandner Don't render context menu button if mxEvent is missing
b1091a22
SimonBrandner Set target to _blank
f9fde367
SimonBrandner SimonBrandner requested a review from turt2live turt2live 5 years ago
niquewoodhouse
SimonBrandner
niquewoodhouse
turt2live
turt2live approved these changes on 2021-04-14
turt2live turt2live merged ac00c80e into develop 5 years ago
SimonBrandner SimonBrandner deleted the improve-image-view branch 5 years ago
jackkinsey
SimonBrandner

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone