Commit graph

6939 commits

Author SHA1 Message Date
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
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
Henry Jameson
f626da838a revert to using local setting for default nsfw since backend is broken 2022-02-24 15:00:08 +02:00
Henry Jameson
9623b0e140 better phrasing 2022-02-24 14:41:55 +02:00
Henry Jameson
b1b9260a1d new defaults 2022-02-22 23:32:12 +02:00
Henry Jameson
9c1814d122 expert settings toggle + server-side settings 2022-02-22 23:31:40 +02:00