Commit graph

6328 commits

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