Lim Chee Aun
61699b322d
Clear media when switching view modes
2023-04-19 00:27:10 +08:00
Lim Chee Aun
60c635b610
Fix status not shown if ancestors count > 40
...
Plus a few perf fixes
2023-04-18 19:47:21 +08:00
Lim Chee Aun
4fce94e8e7
Fix some threads suddenly lost inReplyToAccountId half-way
2023-04-17 21:43:26 +08:00
Lim Chee Aun
b63269e42a
Handle urls from root
2023-04-17 18:56:09 +08:00
Lim Chee Aun
9a04cb6ba3
Add 'Full' view for status pages
2023-04-17 00:14:09 +08:00
Lim Chee Aun
a505f7c5e4
Fix media not loading if status is not cached
2023-04-15 12:26:11 +08:00
Lim Chee Aun
19858dc889
It's time for a new loading indicator
2023-04-14 15:46:11 +08:00
Lim Chee Aun
f303c6d36c
Rewrite status page + media modal
...
Media modals now have their own URLs
2023-04-14 15:30:04 +08:00
Lim Chee Aun
13b2273022
Bot avatars will be squircles
2023-04-11 00:26:43 +08:00
Lim Chee Aun
eebb55ba38
Only show replies count if ancestors is a thread
2023-04-08 19:47:54 +08:00
Lim Chee Aun
b227d816bc
Show replies count for ancestors
2023-04-08 16:52:34 +08:00
Lim Chee Aun
04b4101e55
Handle /notes/ url too
2023-04-03 10:05:57 +08:00
Lim Chee Aun
c8d582184f
Revert "Sometimes, a bracket makes a huge difference"
...
This reverts commit 45c872df28
.
2023-03-31 19:46:54 +08:00
Lim Chee Aun
45c872df28
Sometimes, a bracket makes a huge difference
2023-03-31 19:21:27 +08:00
Lim Chee Aun
347d288c83
It's time to level up ALL replies
...
When reach level 4, horizontal scrolling will kick in!
2023-03-30 20:07:07 +08:00
Lim Chee Aun
64b59e42a5
Remember replies toggle state during the "session"
2023-03-28 20:33:00 +08:00
Lim Chee Aun
2c8112baa5
Add ability to switch post to its own instance
2023-03-24 15:05:57 +08:00
Lim Chee Aun
422813be9c
New experimental Filtered Posts UI
2023-03-22 00:09:36 +08:00
Lim Chee Aun
47b51bdef8
Add Refresh menu item to Status page
2023-03-19 20:12:45 +08:00
Lim Chee Aun
f4310ad8e4
Add ability to reload hero status
2023-03-14 00:36:40 +08:00
Lim Chee Aun
355b3be6e9
Alrighty, let's test this post translation out!
2023-03-07 22:38:06 +08:00
Lim Chee Aun
3c7fc30444
Add simple loading state for switching instances
2023-02-28 22:44:10 +08:00
Lim Chee Aun
a86daaac0b
Fix useScroll bug
2023-02-28 21:56:41 +08:00
Lim Chee Aun
aca3cb677b
Sometimes need exact distance instead ratio
2023-02-25 10:50:02 +08:00
Lim Chee Aun
cd9b01095c
Fix post status banner showing wrong thing for non-logged-in users
2023-02-22 00:42:43 +08:00
Lim Chee Aun
8e4ecd242b
Revert flush to cancel, speed up scroll position caching
...
Somehow the flush cache the scroll position for a different status ID
2023-02-20 20:59:46 +08:00
Lim Chee Aun
be35f3a415
Remove console.log
2023-02-19 21:15:40 +08:00
Lim Chee Aun
d5bceb1d81
Handle logged-out cases
2023-02-19 14:49:53 +08:00
Lim Chee Aun
161aff64ac
This footer is kinda abrupt, so try "delay" it a little
2023-02-18 10:51:39 +08:00
Lim Chee Aun
b06cd36b3f
Initial work to allow cross-instance linking
...
- Load current-instance relationship on remote-instance account sheet
- Add button to switch to current-instance status page from remote-instance status page
2023-02-17 17:37:31 +08:00
Lim Chee Aun
e57b362ee0
Fix undefined turned into a "undefined" string due to string concat
2023-02-17 11:28:25 +08:00
Lim Chee Aun
bc7ac30e74
Switch to logged-in instance URL
2023-02-15 10:51:09 +08:00
Lim Chee Aun
6c43ced27c
Desperate attempt to make the text and buttons flows nicely in the header
...
This code will probably haunt me in the future
2023-02-11 23:35:03 +08:00
Lim Chee Aun
4a01d3d404
Try save some space here
2023-02-11 20:56:33 +08:00
Lim Chee Aun
d9564bff72
Still need these fallbacks for now
2023-02-11 18:55:21 +08:00
Lim Chee Aun
9401fc38e1
Need location.search too because Search page is using it
2023-02-11 17:58:49 +08:00
Lim Chee Aun
541d318fdc
One more logic for comment collapsing
2023-02-10 17:35:38 +08:00
Lim Chee Aun
83e6a2b599
Remove console.log
2023-02-09 23:05:40 +08:00
Lim Chee Aun
109cae9c19
More path fixes
2023-02-09 23:01:33 +08:00
Lim Chee Aun
f511b0a5ab
More code porting
2023-02-08 19:11:33 +08:00
Lim Chee Aun
f6897ef4d8
Don't open sub comments is parent is a thread
2023-02-07 12:01:36 +08:00
Lim Chee Aun
719a407414
Use /:instance?/xxx instead
2023-02-06 19:54:18 +08:00
Lim Chee Aun
3aea09fd42
Experimental feature to see post in currently logged-in instance
2023-02-06 19:09:25 +08:00
Lim Chee Aun
1357c1b2bd
Fix more edge cases after breaking changes
2023-02-06 16:35:03 +08:00
Lim Chee Aun
a130743d4c
Breaking: refactor all masto API calls
...
Everything need to be instance-aware!
2023-02-06 00:17:19 +08:00
Lim Chee Aun
ed8fce3cbf
Don't need --invisible hack
...
Protip: use `:not(details:not([open]) > summary ~ *, details:not([open]) > summary ~ * *)`
2023-02-01 01:21:58 +08:00
Lim Chee Aun
6647b6cc28
Fix j/k shortcuts to work with collapsed comments
...
Use x key to expand/collapse comments
2023-02-01 00:10:38 +08:00
Lim Chee Aun
18b48c8d19
Smarter collapsing, show total comments count, show 3 avatars
2023-01-31 16:13:16 +08:00
Lim Chee Aun
969fddc581
Time for use-debounce
...
Try a leading debounce here
2023-01-30 20:51:06 +08:00
Lim Chee Aun
88ffb3a44c
Reduce distance from start to show the scroll to top button
2023-01-30 19:59:41 +08:00