Commit graph

114 commits

Author SHA1 Message Date
COxDE
04588874c7
fix: enable/disable boosts button logic 2024-06-27 13:38:55 +01:00
Lim Chee Aun
1f8a8f8928 Use URL.parse with polyfill 2024-06-14 08:34:50 +08:00
Lim Chee Aun
ef1abbc25c Wait I need a slash here? 2024-06-08 21:34:50 +08:00
Lim Chee Aun
cd17ca0b42 Experiment: allow minimize composer 2024-05-24 12:30:20 +08:00
Lim Chee Aun
b0a53b7fa1 Handle hideCollections 2024-05-16 21:11:51 +08:00
Lim Chee Aun
e2f39596f0 Might as well add more supports 2024-04-15 19:58:59 +08:00
Lim Chee Aun
e782cc0dde Refactor set/get current account ID
And add fallback for standalone mode where session storage is not enough
2024-04-13 00:11:00 +08:00
Lim Chee Aun
5c9f6bae3c Fix followers list failing if familiar followers fail 2024-04-10 14:19:35 +08:00
Lim Chee Aun
015ed5e7eb Further expand usage of SubMenu2 2024-04-04 17:03:30 +08:00
Lim Chee Aun
e6ba72f4c8 'Remove follower' menu item 2024-04-03 11:54:46 +08:00
Lim Chee Aun
e3c25d25ee Add menus to view profile image and header 2024-04-03 09:29:23 +08:00
Lim Chee Aun
aa664e15f6 Convert all the punycodes
Surprising that this is still not built into browsers
2024-04-02 09:03:13 +08:00
Lim Chee Aun
bb5d34c94c Still need to request relationship for moved accounts
Instead hide specific elements if moved.
2024-03-29 21:27:46 +08:00
Lim Chee Aun
32fb406629 Better shift, but not dynamic 2024-03-28 12:18:25 +08:00
Lim Chee Aun
fd9d8059bc Handle info with menu dropdown for profile page 2024-03-28 00:25:10 +08:00
Lim Chee Aun
27a7bc7627 Edit profile now includes extra fields 2024-03-24 23:39:45 +08:00
Lim Chee Aun
1a2914362f Very, very simple Edit Profile sheet. 2024-03-24 20:49:02 +08:00
Lim Chee Aun
f6a9f7807e Allow Lists to be in Shortcuts (except columns)
…and all various Lists-related improvements
2024-03-23 23:52:05 +08:00
Lim Chee Aun
8eb67f469c Add Enable/Disable notifications/boosts for accounts 2024-03-23 12:26:01 +08:00
Lim Chee Aun
d63e6c87c4 Potential perf improvements for canvas 2024-03-10 23:25:07 +08:00
Lim Chee Aun
0b81b5bfd2 Add menu item to copy handle 2024-03-06 16:51:13 +08:00
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