Commit graph

5882 commits

Author SHA1 Message Date
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
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
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