Tusooa Zhu
24ff4559c3
Prevent hiding media viewer if swiped over SwipeClick
2022-03-03 12:47:30 -05:00
Tusooa Zhu
8b17677410
Fix webkit image blurs
2022-03-03 12:47:30 -05:00
Tusooa Zhu
89e4b17ed7
Fix video in media modal not displaying properly
2022-03-03 12:47:30 -05:00
Tusooa Zhu
21bcdacb10
Add changelog for https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1403
2022-03-03 12:47:30 -05:00
Tusooa Zhu
6780f48b8b
Remove image box-shadow in media modal
...
The box-shadow causes an image to be very blurry on Webkit browsers
(experienced: Konqueror, Safari; heard of: Chrome) when scaled up
if the initial size of the image is much smaller than the actual size
(e.g. when viewing a very long picture).
The shadow is not really obvious anyway.
2022-03-03 12:47:30 -05:00
Tusooa Zhu
c42bd48db2
Clean up debug code for image pinch zoom
2022-03-03 12:47:30 -05:00
Tusooa Zhu
6827dabfb2
Bump @kazvmoe-infra/pinch-zoom-element to 1.2.0 on npm
...
https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1403
2022-03-03 12:47:30 -05:00
Tusooa Zhu
1141ac22b2
Bump pinch-zoom-element version
2022-03-03 12:47:30 -05:00
Tusooa Zhu
358c7a5909
Clean up
2022-03-03 12:47:30 -05:00
Tusooa Zhu
884f183c3f
Check whether we swiped only for mouse pointer
2022-03-03 12:47:30 -05:00
Tusooa Zhu
e04779ae83
Scale swipe threshold with viewport width
2022-03-03 12:47:29 -05:00
Tusooa Zhu
e5c73fa4c7
Update pinch-zoom-element
2022-03-03 12:47:29 -05:00
Tusooa Zhu
99c96fc414
Allow pinch-zoom to fill the whole screen
2022-03-03 12:47:29 -05:00
Tusooa Zhu
288bb5355b
Use native click for hiding overlay
...
The pointerup strategy is unsuccessful, as some other overlays
(Firefox's Inspect Element) will pass down pointerup events.
2022-03-03 12:47:29 -05:00
Tusooa Zhu
6f1c8a4296
Reset position on swipe end even if we cannot navigate
2022-03-03 12:47:29 -05:00
Tusooa Zhu
cdd1437a48
Make lint happy
2022-03-03 12:47:29 -05:00
Tusooa Zhu
2b657ef91e
Prevent the click event from firing on content below modal
2022-03-03 12:47:29 -05:00
Tusooa Zhu
6b16b0ee56
Add missing swipe click component
2022-03-03 12:47:29 -05:00
Tusooa Zhu
94aa3f4675
Clean up
2022-03-03 12:47:29 -05:00
Tusooa Zhu
3931f867e8
Add swipe-click handler to media modal
...
Now swiping will correctly change the current media, and with a good
preview. Clicking without swiping closes the overlay.
2022-03-03 12:47:28 -05:00
Tusooa Zhu
e6a4464001
Use pinch-zoom-element for pinch zoom functionality
2022-03-03 12:47:28 -05:00
Tusooa Zhu
996cdf6470
Add pan threshold
2022-03-03 12:47:28 -05:00
Tusooa Zhu
2c243a5d62
Handle pinch action
2022-03-03 12:47:28 -05:00
Tusooa Zhu
4970a3c4a6
Preview swipe action
2022-03-03 12:47:28 -05:00
Tusooa Zhu
b95dc3b03e
Make media modal be aware of multi-touch actions
...
Originally the media viewer would think every touch is a swipe (one-finger
touch event), so we would encounter the case where a two-finger scale event
would incorrectly change the current media. This is now fixed.
2022-03-03 12:47:28 -05:00
HJ
514d7d3f88
Merge branch 'fix-hidden-attachments' into 'develop'
...
fix placeholder attachments opening new tab
Closes #1139
See merge request pleroma/pleroma-fe!1439
2022-02-28 17:46:58 +00:00
Henry Jameson
77b55a559b
fix placeholder attachments opening new tab
2022-02-28 19:42:02 +02:00
HJ
0300db6c63
Merge branch 'from/develop/tusooa/media-modal-counter-i18n' into 'develop'
...
Make media modal counter go through i18n
See merge request pleroma/pleroma-fe!1436
2022-02-21 16:15:16 +00:00
Tusooa Zhu
c7690aecd0
Add English translation for media modal counter
2022-02-21 10:34:20 -05:00
Tusooa Zhu
1b32bb9c51
Make media modal counter go through i18n
2022-02-21 10:33:47 -05:00
HJ
9bc7d99e16
Merge branch 'hj-develop-patch-74637' into 'develop'
...
Update changelog
See merge request pleroma/pleroma-fe!1435
2022-02-21 14:23:11 +00:00
HJ
965bc5573f
Update CHANGELOG.md
2022-02-21 14:17:28 +00:00
HJ
2559d03d7e
Update CHANGELOG.md
2022-02-21 14:16:45 +00:00
HJ
58d0f9678b
Merge branch 'fix-mentions-new-bugs' into 'develop'
...
Fix newfound bugs with rich mentions + user suggestions
See merge request pleroma/pleroma-fe!1430
2022-02-20 15:11:52 +00:00
HJ
ddee8bb686
Merge branch 'proper-attachments' into 'develop'
...
Attachment improvements
See merge request pleroma/pleroma-fe!1399
2022-02-20 15:11:33 +00:00
HJ
56616787ec
Merge branch 'fix-pinned-statuses' into 'develop'
...
Fix pinned statuses appearing at the bottom of user timeline
Closes #1112
See merge request pleroma/pleroma-fe!1433
2022-02-20 15:11:08 +00:00
HJ
d3659b5597
Merge branch 'fix-1133' into 'develop'
...
fix #1133
Closes #1133
See merge request pleroma/pleroma-fe!1434
2022-02-20 14:12:20 +00:00
Henry Jameson
373c30be69
fix #1133
2022-02-20 16:06:26 +02:00
Henry Jameson
7b60adb480
only for user TL
2022-02-20 00:57:31 +02:00
Henry Jameson
5864dc52f7
removed file because that logic has been removed
2022-02-20 00:43:38 +02:00
Henry Jameson
a31ff20f50
lol, lmao, that was some shit, this is much easier and works all the time
2022-02-20 00:36:21 +02:00
Henry Jameson
2a97bdb39d
fix pinned statuses appearing at the bottom of user timeline (and
...
possibly fetching new ones there)
2022-02-20 00:04:47 +02:00
Henry Jameson
86e3aefdab
new unit tests
2022-02-19 23:04:51 +02:00
Henry Jameson
a8d1987686
fix unit tests
2022-02-19 22:40:19 +02:00
Henry Jameson
0d073d607c
enable link handling in user bios to fix links not having _blank
2022-02-19 22:34:08 +02:00
Henry Jameson
769a9a14fe
add emoji to chat titles
2022-02-19 22:30:13 +02:00
Henry Jameson
a61f6e1590
use rich content in interaction lists
2022-02-19 22:12:37 +02:00
Henry Jameson
ee86f56469
more spacing fixes
2022-02-11 15:10:52 +02:00
Henry Jameson
17d6f1b53b
more spacing fixes
2022-02-11 15:06:12 +02:00
Henry Jameson
befd4d5fc7
improve unknown attachment handling
2022-02-10 15:42:28 +02:00