Commit graph

6314 commits

Author SHA1 Message Date
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
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
Tusooa Zhu
b948f05123
Make position of other replies button a pref 2022-02-27 14:11:21 -05:00
Tusooa Zhu
75d06bf2d7
Add English translation for show all conversation button improvement 2022-02-27 14:10:56 -05:00
Tusooa Zhu
bd6beb9245
Improve "show full conversation" interaction
Now we only show that button when there are other statuses out of sight
(other toplevel statuses exist outside of the current thread tree).
2022-02-27 14:10:43 -05:00
Tusooa Zhu
68cb443e90
Make other replies button stretch along the row 2022-02-27 14:10:25 -05:00
Tusooa Zhu
4a9d043300
Optimise thread ancestor borders 2022-02-27 14:10:01 -05:00
Tusooa Zhu
bc6053a8b8
Optimise thread ancestor display style 2022-02-27 14:10:01 -05:00
Tusooa Zhu
210325570c
Reset thread open state when collapsed 2022-02-27 14:10:01 -05:00
Tusooa Zhu
d48c45f59d
Clean up 2022-02-27 14:10:01 -05:00
Tusooa Zhu
cad008e351
Highlight ancestor of the current status when diving back to top 2022-02-27 14:09:47 -05:00
Tusooa Zhu
6ab84a0952
Add English translation for Misskey-style tree view 2022-02-27 14:09:30 -05:00
Tusooa Zhu
afb7c749b1
Implement Misskey-style tree view
Now the tree will be always rooted at the highlighted status, and
all its ancestors shown linearly on the top.

Enhancement: If an ancestor has more
than one reply (i.e. it has a child that is not on current status's
ancestor chain), we are given a link to root the thread at that status.
2022-02-27 14:09:30 -05:00
Tusooa Zhu
644aced2dd
Remove horizontal border and thicken vertical border in a thread tree 2022-02-27 14:09:29 -05:00
Tusooa Zhu
9d26dc9a2c
Make dive/undive button clickable along the whole row 2022-02-27 14:09:29 -05:00
Tusooa Zhu
6c6f824591
Optimize thread border radius 2022-02-27 14:09:29 -05:00
Tusooa Zhu
5b77177931
Optimize thread display 2022-02-27 14:09:29 -05:00
Tusooa Zhu
690e979ff2
Fix the bug where toggleShowingTall does not work 2022-02-27 14:09:28 -05:00
Tusooa Zhu
c5301b4831
Fix status undefined in parentOf 2022-02-27 14:08:47 -05:00
Tusooa Zhu
34569e01da
Add English translations for max depth in thread 2022-02-27 14:08:33 -05:00
Tusooa Zhu
ad5bbec28c
Add settings for max depth in thread 2022-02-27 14:08:33 -05:00
Tusooa Zhu
268d3533f9
Use mergedConfig properly 2022-02-27 14:08:33 -05:00
Tusooa Zhu
3d0ebaf54b
Fallback to simpleTree style 2022-02-27 14:08:14 -05:00
Tusooa Zhu
6c20c5dd52
Undive when collapsed 2022-02-27 14:08:04 -05:00
Tusooa Zhu
3535ca49b5
Clean up 2022-02-27 14:07:47 -05:00
Tusooa Zhu
f9d67d8c8a
Lint 2022-02-27 14:07:39 -05:00
Tusooa Zhu
f6e9461f16
Add English translation for simple tree 2022-02-27 14:07:32 -05:00
Tusooa Zhu
ae883c759a
Add simple tree style navigation 2022-02-27 14:07:14 -05:00
Tusooa Zhu
14134cc281
Add English translation for diving 2022-02-27 14:06:59 -05:00
Tusooa Zhu
612c12ef53
Add dive functionality 2022-02-27 14:06:58 -05:00
Tusooa Zhu
3228326a44
Add English translations for diving 2022-02-27 14:06:30 -05:00
Tusooa Zhu
13172dea89
Support diving into one status in a conversation 2022-02-27 14:06:30 -05:00
Tusooa Zhu
d45d0e05a5
Make status display controlled 2022-02-27 14:06:15 -05:00
Tusooa Zhu
0ebb012d5e
Add English translations for message threading 2022-02-27 14:06:00 -05:00
Tusooa Zhu
242e2891c5
Make show full thread message account for numbers 2022-02-27 14:06:00 -05:00
Tusooa Zhu
d10acfd993
Implement thread folding/expanding 2022-02-27 14:05:59 -05:00
Tusooa Zhu
576327d215
Add tree-style thread display 2022-02-27 14:05:25 -05: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
Henry Jameson
5db8112cd5 Merge remote-tracking branch 'tusooa/from/develop/tusooa/media-touch-actions' into shigusegubu
* tusooa/from/develop/tusooa/media-touch-actions: (26 commits)
  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
  Add missing swipe click component
  Clean up
  ...
2022-02-21 16:59:08 +02: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