Commit graph

173 commits

Author SHA1 Message Date
tusooa 7dc2277453
Use stylelint 2023-01-09 13:02:16 -05:00
tusooa d41e7a4c6d
Make timeline a list of articles 2022-11-07 13:53:56 -05:00
Henry Jameson 5fa533fbb7 Merge remote-tracking branch 'origin/develop' into scrolltotop
* origin/develop: (89 commits)
  Update dependency @vuelidate/validators to v2.0.0
  Remove lolex package
  Remove diff package
  Pin dependencies
  Update dependency sass to v1.55.0
  Make suggestor suggest according to cldr annotations
  Make chunks named
  Use import() for emoji.json
  Add regional indicators
  Support filtering by keywords from cldr
  Display localized unicode emoji names
  Load unicode emoji annotations
  Extract language list to its own file
  using the half-shit approach since proper approach is full-shit
  Make unicode emoji phrases match with _
  Use console.info
  Fix non-square emojis being truncated
  Fix emoji picker lint
  Fix emoji picker lint
  Tweak efficiency when changing filter keywords in emoji picker
  ...
2022-10-09 18:51:42 +03:00
Henry Jameson 0331e42ee8 move definitions for timeline header buttons to Panel.scss, now called
rightside buttons
2022-10-09 18:50:13 +03:00
Sean King 325930eecb
Fix merge conflicts 2022-08-08 07:32:38 -06:00
Henry Jameson 09f3783647 lint 2022-08-04 23:44:56 +03:00
Sean King 081aa0fd05
Fix merge conflicts 2022-08-01 18:17:09 -06:00
Henry Jameson f4276f7241 made quick settings into their own component, added quick view settings,
added both to conversation view
2022-08-01 23:20:27 +03:00
Henry Jameson fddb531ed2 --fix 2022-07-31 12:35:48 +03:00
Sean King 8dac3932fe
Only refetch status on highlight if streaming is not enabled 2022-06-11 20:10:16 -06:00
Sean King 6e42409b8a
Fetch status when highlighting it 2022-06-11 19:30:29 -06:00
Henry Jameson 54a40bfa01 fix inline conversation's shadow showing through outer header 2022-05-09 23:18:39 +03:00
Henry Jameson deece57584 better formatting 2022-04-26 00:10:33 +03:00
Henry Jameson 2a6f42fef3 unified how panel-footer works between regular timelines and user timeline 2022-04-25 23:50:22 +03:00
Henry Jameson bb29218a6c fixate conversation heading 2022-04-19 23:06:57 +03:00
Henry Jameson d9f8091ce6 fix extra padding in thread view 2022-04-10 19:29:06 +03:00
Henry Jameson 684650e14f restore margins for inline convos 2022-04-10 14:47:47 +03:00
Henry Jameson afcfcce2e6 re-fix i18n warnings again 2022-03-29 15:46:21 +03:00
Henry Jameson 01d8fa4e54 fix i18n at places 2022-03-23 16:32:53 +02:00
Tusooa Zhu a511250b63
Make $status-margin fallback only 2022-03-07 19:28:38 -05:00
Tusooa Zhu 415a823af0
Clean up dead code 2022-03-07 19:19:32 -05:00
Tusooa Zhu d157f67381
Make fading ancestors optional 2022-03-07 19:19:32 -05:00
Tusooa Zhu e7f5033c7d
Split conversation display style into two different settings
linear => linear (now default)
simple_tree => tree / conversationTreeAdvanced=false
tree => tree / conversationTreeAdvanced=true
2022-03-07 19:19:32 -05:00
Tusooa Zhu 9432fcec7d
Make 'Show full conversation' button have left border in embbeded mode 2022-03-07 19:19:32 -05:00
Tusooa Zhu f8c5cbcd0d
Fix timeline jump when scrolling
Ref: tree-threading
2022-03-07 19:19:31 -05:00
Tusooa Zhu 20880cdf0b
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-03-07 19:19:31 -05:00
Tusooa Zhu cc5cff2038
Clean up debug code for tree threading 2022-03-07 19:19:31 -05:00
Tusooa Zhu 2a510205c3
Fix virtual scrolling for tree threading
Ref: tree-threading
2022-03-07 19:19:31 -05:00
Tusooa Zhu 863255d52f
Make position of other replies button a pref 2022-03-07 19:19:31 -05:00
Tusooa Zhu 244174a32b
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-03-07 19:19:31 -05:00
Tusooa Zhu 22bdcda9c0
Make other replies button stretch along the row 2022-03-07 19:19:31 -05:00
Tusooa Zhu ba8598858b
Optimise thread ancestor borders 2022-03-07 19:19:31 -05:00
Tusooa Zhu 17863f54fe
Optimise thread ancestor display style 2022-03-07 19:19:31 -05:00
Tusooa Zhu 26670e9003
Reset thread open state when collapsed 2022-03-07 19:19:30 -05:00
Tusooa Zhu 10cd03c718
Clean up 2022-03-07 19:19:30 -05:00
Tusooa Zhu f1db5e8f4b
Highlight ancestor of the current status when diving back to top 2022-03-07 19:19:30 -05:00
Tusooa Zhu e560fbc935
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-03-07 19:19:30 -05:00
Tusooa Zhu 4adffb4835
Remove horizontal border and thicken vertical border in a thread tree 2022-03-07 19:19:30 -05:00
Tusooa Zhu 0e4a7c3d05
Make dive/undive button clickable along the whole row 2022-03-07 19:19:30 -05:00
Tusooa Zhu 8780246ce5
Optimize thread border radius 2022-03-07 19:19:30 -05:00
Tusooa Zhu 61bb69c88f
Optimize thread display 2022-03-07 19:19:30 -05:00
Tusooa Zhu 3addc36c96
Fix status undefined in parentOf 2022-03-07 19:19:30 -05:00
Tusooa Zhu 2e54cf12c7
Add settings for max depth in thread 2022-03-07 19:19:30 -05:00
Tusooa Zhu ff5f69b8fd
Use mergedConfig properly 2022-03-07 19:19:30 -05:00
Tusooa Zhu d7da9f80a7
Fallback to simpleTree style 2022-03-07 19:19:30 -05:00
Tusooa Zhu 6b990ba368
Undive when collapsed 2022-03-07 19:19:29 -05:00
Tusooa Zhu cd3e6d0073
Clean up 2022-03-07 19:19:29 -05:00
Tusooa Zhu 0aaef50ee5
Lint 2022-03-07 19:19:29 -05:00
Tusooa Zhu d9a9f97751
Add simple tree style navigation 2022-03-07 19:19:29 -05:00
Tusooa Zhu d15d24c11c
Add dive functionality 2022-03-07 19:19:29 -05:00