Commit graph

6862 commits

Author SHA1 Message Date
Tusooa Zhu
31c4300456
Add English translations for diving 2022-03-07 19:19:29 -05:00
Tusooa Zhu
84a3cd92a3
Support diving into one status in a conversation 2022-03-07 19:19:29 -05:00
Tusooa Zhu
ace1f5067c
Make status display controlled 2022-03-07 19:19:29 -05:00
Tusooa Zhu
cd0f6a4f78
Add English translations for message threading 2022-03-07 19:19:29 -05:00
Tusooa Zhu
414ee55957
Make show full thread message account for numbers 2022-03-07 19:19:29 -05:00
Tusooa Zhu
0f2fd8a352
Implement thread folding/expanding 2022-03-07 19:19:29 -05:00
Tusooa Zhu
0582f19e7c
Add tree-style thread display 2022-03-07 19:19:29 -05:00
Henry Jameson
877ab153a8 Merge remote-tracking branch 'tusooa/from/develop/tusooa/media-touch-actions' into shigusegubu
* tusooa/from/develop/tusooa/media-touch-actions:
  Make media modal buttons larger
2022-03-07 20:04:54 +02:00
Tusooa Zhu
deb6370007
Make media modal buttons larger 2022-03-06 18:38:57 -05:00
Henry Jameson
b40942557c Merge remote-tracking branch 'tusooa/from/develop/tusooa/tree-threading' into shigusegubu
* tusooa/from/develop/tusooa/tree-threading:
  Add English translations for fading ancestor option
  Make fading ancestors optional
  Update English translation for tree view settings
  Split conversation display style into two different settings
  Make 'Show full conversation' button have left border in embbeded mode
  Fix showingLongSubject not correctly propagated
  Fix timeline jump when scrolling
  Make replying and mediaPlaying controlled
  Clean up debug code for tree threading
  Fix virtual scrolling for tree threading
  Fix controlled status display toggles
  Add English translations for other replies count
  Add other replies count for reply list link
  Do not display replies inside status as link if there are no other replies
2022-03-06 23:42:04 +02:00
Henry Jameson
924a626108 Merge remote-tracking branch 'tusooa/from/develop/tusooa/media-touch-actions' into shigusegubu
* tusooa/from/develop/tusooa/media-touch-actions: (28 commits)
  Add English translation for hide tooltip
  Add hide button to media modal
  Lint
  Prevent hiding media viewer if swiped over SwipeClick
  Fix webkit image blurs
  Fix video in media modal not displaying properly
  Add changelog for https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1403
  Remove image box-shadow in media modal
  Clean up debug code for image pinch zoom
  Bump @kazvmoe-infra/pinch-zoom-element to 1.2.0 on npm
  Bump pinch-zoom-element version
  Clean up
  Check whether we swiped only for mouse pointer
  Scale swipe threshold with viewport width
  Update pinch-zoom-element
  Allow pinch-zoom to fill the whole screen
  Use native click for hiding overlay
  Reset position on swipe end even if we cannot navigate
  Make lint happy
  Prevent the click event from firing on content below modal
  ...
2022-03-06 23:40:21 +02:00
Henry Jameson
2e69cb773a Merge remote-tracking branch 'origin/develop' into shigusegubu
* origin/develop:
  Lint
  Add renovate.json
  fix placeholder attachments opening new tab
2022-03-06 23:38:18 +02:00
HJ
7e1e8ea429 Merge branch 'from/develop/tusooa/fix-lint-2' into 'develop'
Lint

See merge request pleroma/pleroma-fe!1442
2022-03-06 19:35:05 +00:00
Tusooa Zhu
7a8c975f61
Lint 2022-03-06 14:22:59 -05:00
Tusooa Zhu
71de2dc1d5
Add English translations for fading ancestor option 2022-03-06 14:18:52 -05:00
Tusooa Zhu
16686dbb4c
Make fading ancestors optional 2022-03-06 14:18:52 -05:00
Tusooa Zhu
55552ef273
Update English translation for tree view settings 2022-03-06 14:18:52 -05:00
Tusooa Zhu
4027b3f456
Split conversation display style into two different settings
linear => linear (now default)
simple_tree => tree / conversationTreeAdvanced=false
tree => tree / conversationTreeAdvanced=true
2022-03-06 14:18:52 -05:00
Tusooa Zhu
2d519a0822
Make 'Show full conversation' button have left border in embbeded mode 2022-03-06 14:18:44 -05:00
HJ
1e41c2b99e Merge branch 'renovate/configure' into 'develop'
Configure Renovate

See merge request pleroma/pleroma-fe!1441
2022-03-06 18:25:05 +00:00
Pleroma Renovate Bot
f0f1066bc8 Add renovate.json 2022-03-06 17:50:32 +00:00
Tusooa Zhu
dcb2270487
Add English translation for hide tooltip 2022-03-03 12:52:24 -05:00
Tusooa Zhu
2da80c2752
Add hide button to media modal 2022-03-03 12:51:13 -05:00
Tusooa Zhu
43c4635b10
Lint 2022-03-03 12:47:30 -05:00
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
Alexander Tumin
2b7f12613e Add bot indication to user icon on statuses 2022-03-01 01:00:38 +03:00