Commit graph

93 commits

Author SHA1 Message Date
Lim Chee Aun
d348c458b3 Blurred menu will be opt-in 2024-03-04 21:13:57 +08:00
Lim Chee Aun
6292557bc9 Default modal to light, add solid class instead 2024-03-03 17:31:06 +08:00
Lim Chee Aun
35e34c0bc6 Remove space 2024-02-27 21:23:46 +08:00
Lim Chee Aun
a8b5c8cd64 Experimental "cloud" shortcuts settings import/export 2024-02-26 14:00:53 +08:00
Lim Chee Aun
a3236ea0f0 Report post/profile 2024-02-26 13:59:26 +08:00
Lim Chee Aun
46415b87a6 Show lists containing the account in the menu 2024-02-05 10:17:49 +08:00
Lim Chee Aun
66a519f4dc s/Following/Follows 2023-12-27 10:33:29 +08:00
Lim Chee Aun
22b9a33d64 Only exclude relationship attrs for self 2023-12-21 09:59:08 +08:00
Lim Chee Aun
8ce720f305 Add all the relationships 2023-12-20 13:55:56 +08:00
Lim Chee Aun
c16532d4c2 Fix wrong mute durations
This bug exists for 9 months. It's seconds, not ms.
2023-12-19 11:50:01 +08:00
Lim Chee Aun
85bdaace58 Replace all Menu to Menu2
Need the default unmountOnClose so don't need the :has() hack
2023-11-18 21:11:07 +08:00
Lim Chee Aun
f73a942b61 Auto-update self account info
And fix isSelf not working in some cases
2023-11-06 00:49:45 +08:00
Lim Chee Aun
f8674963b3 Prevent the extra call if posts = 0 2023-11-04 18:02:03 +08:00
Lim Chee Aun
77312f3fb2 Use current instance for links on account info 2023-10-29 21:43:03 +08:00
Lim Chee Aun
576dcf7701 Realign some code and UI for account info/sheet
I know, the code is still messy
2023-10-24 23:19:14 +08:00
Lim Chee Aun
3a1341fb17 Always sort list of Lists 2023-10-22 23:25:25 +08:00
Lim Chee Aun
691aea3389 Update loading state of account info 2023-10-20 13:07:31 +08:00
Lim Chee Aun
73e995f494 s/for/about 2023-10-19 20:04:07 +08:00
Lim Chee Aun
965f948899 Recode some nested modal closing logic
Seems more robust
2023-10-19 16:06:55 +08:00
Lim Chee Aun
3eda1e2267 Fix familiarFollowers call not working 2023-10-19 01:13:12 +08:00
Lim Chee Aun
8ae9131543 Private notes 2023-10-17 20:20:26 +08:00
Lim Chee Aun
1b0a77dfae Pluralization for post(s)
Srsly need a i18n lib soon
2023-10-17 14:56:57 +08:00
Lim Chee Aun
c80c8b3294 Need id as dependency too
- inner functions are not reading the updated id
- probably need to rewrite this as this code looks prone to errors
2023-10-15 10:50:33 +08:00
Lim Chee Aun
f56a44ac97 Complete transition from mem to moize 2023-10-14 20:33:40 +08:00
Lim Chee Aun
7264f543bd Change p to div here too 2023-10-13 23:39:59 +08:00
Lim Chee Aun
f6864f96bd Change p to div 2023-10-13 15:46:43 +08:00
Lim Chee Aun
f67d4fd916 Fix id may not be available yet 2023-10-13 15:46:31 +08:00
Lim Chee Aun
cd403fe605 Fix error with zero posts 2023-10-13 15:31:04 +08:00
Lim Chee Aun
5481aa12be Cache account info fetches for 10mins 2023-10-13 15:27:24 +08:00
Lim Chee Aun
d1b8d737cc Enable on-demand posting stats
- Slight refactor
- Make sure stats also work when switching instances
- Make sure zero stats fallback
2023-10-12 23:11:20 +08:00
Lim Chee Aun
a095a30500 Breaking news: upgrade to masto v6
Expecting bugs!

Also include some fixes for states init.
2023-10-12 12:48:09 +08:00
Lim Chee Aun
39f7d4e00d Fix familiar followers leaked to other profiles
Mistake for using global state when it should be per-profile
2023-10-07 17:13:55 +08:00
Lim Chee Aun
fcbf99f121 Got to dir=auto all the things 2023-10-03 10:29:28 +08:00
Lim Chee Aun
f05267b216 MVP implementation of listing muted/blocked users 2023-10-02 17:51:36 +08:00
Lim Chee Aun
634e81e9d0 Show roles in account info 2023-10-02 16:55:13 +08:00
Lim Chee Aun
eeb89212d2 noopener noreferrer all the links 2023-09-26 10:55:36 +08:00
Lim Chee Aun
7ba5ee5fe2 Don't call familiar_followers if not same instance as logged-in instance 2023-09-23 22:38:29 +08:00
Lim Chee Aun
c955427d8f Handle moved account cases 2023-09-20 17:28:08 +08:00
Lim Chee Aun
f7ffce1b46 Add tooltip to show percentage values of posting stats 2023-09-18 19:23:49 +08:00
Lim Chee Aun
941d2efeb1 Convert posting stats box into a link to account page 2023-09-16 14:48:31 +08:00
Lim Chee Aun
908efb17ff Use onClose 2023-09-16 14:47:55 +08:00
Lim Chee Aun
679fba4f66 Make relationship ui state update faster 2023-09-16 09:43:26 +08:00
Lim Chee Aun
ad831fae35 Fix disabled follow button 2023-09-16 08:52:24 +08:00
Lim Chee Aun
e102a9f925 Combine familiar followers into followers section 2023-09-15 23:59:27 +08:00
Lim Chee Aun
9571271d83 Experimental posting stats for non-following accounts
Also recode+redesign the multiple metadata boxes in account info
2023-09-15 22:15:41 +08:00
Lim Chee Aun
5ac255f808 If self, don't need to get familiar followers 2023-09-13 18:43:46 +08:00
Lim Chee Aun
2145f761b5 Fix wrong API call when switch to account's instance 2023-09-12 23:56:01 +08:00
Lim Chee Aun
aa3033b4ff Fix bugs with fetching followers/followings 2023-09-12 19:20:22 +08:00
Lim Chee Aun
3fc3641437 Prevent infinite overlapping of Account & Accounts sheets 2023-09-12 18:00:19 +08:00
Lim Chee Aun
b57d8adf18 Add Generic Accounts modal
Also refactored whole bunch of stuff
2023-09-12 11:27:54 +08:00