Commit graph

6728 commits

Author SHA1 Message Date
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
Alexander Tumin
fe0ed7e8f0 Mute bot posts 2022-02-28 23:14:45 +03:00
Henry Jameson
374df875ee Merge branch 'from/develop/tusooa/tree-threading' into shigusegubu
* from/develop/tusooa/tree-threading: (45 commits)
  Fix showingLongSubject not correctly propagated
  Fix timeline jump when scrolling
  Make replying and mediaPlaying controlled
  Fix virtual scrolling for tree threading
  Clean up debug code 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
  Add English translation for position of other replies button pref
  Make position of other replies button a pref
  Add English translation for show all conversation button improvement
  Improve "show full conversation" interaction
  Make other replies button stretch along the row
  Optimise thread ancestor borders
  Optimise thread ancestor display style
  Reset thread open state when collapsed
  Clean up
  Highlight ancestor of the current status when diving back to top
  Add English translation for Misskey-style tree view
  ...
2022-02-28 20:17:00 +02:00
Tusooa Zhu
8bcf38d5b3
Fix showingLongSubject not correctly propagated 2022-02-28 13:11:02 -05:00
Tusooa Zhu
f0cf2c79f6
Fix timeline jump when scrolling
Ref: tree-threading
2022-02-28 13:11:02 -05:00
Tusooa Zhu
71f3162f5d
Make replying and mediaPlaying controlled
$refs is not a reliable way to deal with child components under
tree threading as it is not reactive, but the children may change at
any time. The only good way seems to be making these states aggregated on
the conversation component.

Ref: tree-threading
2022-02-28 13:11:02 -05:00
Tusooa Zhu
470c96f49e
Clean up debug code for tree threading 2022-02-28 13:11:02 -05:00
Tusooa Zhu
9eb6d48f69
Fix virtual scrolling for tree threading
Ref: tree-threading
2022-02-28 13:11:02 -05:00
Tusooa Zhu
fe57afd183
Fix controlled status display toggles 2022-02-28 13:11:02 -05:00
Tusooa Zhu
64d20d1b0f
Add English translations for other replies count 2022-02-28 13:11:02 -05:00
Tusooa Zhu
1931595a6e
Add other replies count for reply list link 2022-02-28 13:10:41 -05:00
Tusooa Zhu
7b4043b91b
Do not display replies inside status as link if there are no other replies 2022-02-28 13:10:10 -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
Henry Jameson
0c8a018376 local merge conflict resolution 2022-02-28 18:32:57 +02:00
Henry Jameson
e6cf9efe69 Merge branch 'expert-settings-and-serverside' into shigusegubu
* expert-settings-and-serverside:
  lint
  pre-emptively wipe serverside settings on logout
  fix errors in choicesetting
  fix typos in profile page
  hidden away more settings when logged out
  fix settings behaving erratically and not updating properly
  fix stripping rich content not working
  revert changes related to streaming/firehose setting, reword it so it's not confused with websocket streaming
  fix firefox rendering (??????????)
  revert to using local setting for default nsfw since backend is broken
  better phrasing
  new defaults
  expert settings toggle + server-side settings
2022-02-28 18:26:37 +02:00
Henry Jameson
af34c25512 Merge remote-tracking branch 'tusooa/from/develop/tusooa/tree-threading' into shigusegubu
* tusooa/from/develop/tusooa/tree-threading: (48 commits)
  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
  Add English translation for position of other replies button pref
  Make position of other replies button a pref
  Add English translation for show all conversation button improvement
  Improve "show full conversation" interaction
  Make other replies button stretch along the row
  Optimise thread ancestor borders
  Optimise thread ancestor display style
  Reset thread open state when collapsed
  Clean up
  Highlight ancestor of the current status when diving back to top
  Add English translation for Misskey-style tree view
  Implement Misskey-style tree view
  ...
2022-02-28 18:25:12 +02:00
Henry Jameson
77bb0b5530 lint 2022-02-28 18:23:32 +02:00
Henry Jameson
39909c8a85 pre-emptively wipe serverside settings on logout 2022-02-28 18:17:13 +02:00
Henry Jameson
f4b36a9ebf fix errors in choicesetting 2022-02-28 18:15:21 +02:00
Henry Jameson
67319d0e5b fix typos in profile page 2022-02-28 18:15:07 +02:00
Henry Jameson
cf58df17f6 hidden away more settings when logged out 2022-02-28 18:04:13 +02:00
Henry Jameson
8bb97fbfeb fix settings behaving erratically and not updating properly 2022-02-28 18:01:41 +02:00
Henry Jameson
3a5ad18aca fix stripping rich content not working 2022-02-28 18:00:38 +02:00
Henry Jameson
e3d602fdcc revert changes related to streaming/firehose setting, reword it so it's
not confused with websocket streaming
2022-02-28 17:45:07 +02:00
Henry Jameson
c07c0b2260 fix firefox rendering (??????????) 2022-02-28 17:43:08 +02:00
Tusooa Zhu
075342a4ea
Fix showingLongSubject not correctly propagated 2022-02-27 14:15:45 -05:00
Tusooa Zhu
4a4844a372
Fix timeline jump when scrolling
Ref: tree-threading
2022-02-27 14:15:26 -05:00
Tusooa Zhu
fa9fcb1751
Make replying and mediaPlaying controlled
$refs is not a reliable way to deal with child components under
tree threading as it is not reactive, but the children may change at
any time. The only good way seems to be making these states aggregated on
the conversation component.

Ref: tree-threading
2022-02-27 14:15:09 -05:00
Tusooa Zhu
e1bcb09379
Clean up debug code for tree threading 2022-02-27 14:14:38 -05:00
Tusooa Zhu
27dbfecf47
Fix virtual scrolling for tree threading
Ref: tree-threading
2022-02-27 14:14:35 -05:00
Tusooa Zhu
79dc1295c8
Fix controlled status display toggles 2022-02-27 14:12:36 -05:00
Tusooa Zhu
b7253279a0
Add English translations for other replies count 2022-02-27 14:12:04 -05:00
Tusooa Zhu
236abccff3
Add other replies count for reply list link 2022-02-27 14:11:40 -05:00
Tusooa Zhu
6d8ae1a432
Add English translation for position of other replies button pref 2022-02-27 14:11:22 -05:00