Commit graph

115 commits

Author SHA1 Message Date
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
Lim Chee Aun
696a46311d Try willReadFrequently 2023-09-09 14:26:08 +08:00
Lim Chee Aun
1257ce8636 Handle memorial accounts 2023-09-02 15:06:15 +08:00
Lim Chee Aun
271601dc2c Update the loading placeholder 2023-08-17 13:36:03 +08:00
Lim Chee Aun
635f4c1b0d s/setUiState/setUIState 2023-08-14 11:22:42 +08:00
Lim Chee Aun
ff41cd3563 Replace (most) alert/confirms with alternative UI
Everything might break lol
2023-07-17 21:01:00 +08:00
Lim Chee Aun
3192c319ee Experiment more minimalistic account sheet 2023-07-14 14:36:13 +08:00
Lim Chee Aun
fd1fc9c5fc Let's flip things around 2023-07-11 19:20:01 +08:00
Lim Chee Aun
4dbc26dbb6 lol name is not unique 2023-07-11 15:06:30 +08:00
Lim Chee Aun
c61e9bb61c Update account info if there's name or avatar change 2023-06-28 17:38:01 +08:00
Lim Chee Aun
33720d9694 Show muted/blocked tags on account info 2023-06-27 22:02:10 +08:00
Lim Chee Aun
28acd9720e Fade in the header banner too
Prevent the abruptness
2023-06-14 21:42:28 +08:00
Lim Chee Aun
3b3e0e6fde EmojiText component replacing dangerouslySetInnerHTML 2023-06-14 17:37:41 +08:00
Lim Chee Aun
50f0b38f42 Add 'group' tag to accounts 2023-06-14 06:00:06 +08:00
Lim Chee Aun
a1ee5be54b Upgrade react-menu and bug fixes 2023-06-13 17:46:37 +08:00
Lim Chee Aun
104665cafe Don't need "Also" 2023-05-18 21:43:58 +08:00
Lim Chee Aun
ef12916bab New "shazam" CSS effect utility lolol
I might rename this in the future
2023-05-09 18:03:26 +08:00
Lim Chee Aun
6532b97a44 Update copy: s/status/post 2023-04-29 22:22:07 +08:00
Lim Chee Aun
1dc533b62a Add loading indicator for slow relationships 2023-04-29 21:48:18 +08:00
Lim Chee Aun
0498ce8615 lol why is there an x here 2023-04-24 12:27:24 +08:00
Lim Chee Aun
7f54c7ae93 Change copy to "Also followed by" 2023-04-23 21:57:01 +08:00
Lim Chee Aun
236f5bc413 Make common followers appear elegantly 2023-04-20 19:54:01 +08:00
Lim Chee Aun
5dc3603795 Close button for modal sheets 2023-04-20 16:10:57 +08:00
Lim Chee Aun
043c68f9ff Smaller 'last status' 2023-04-19 09:40:46 +08:00
Lim Chee Aun
13b2273022 Bot avatars will be squircles 2023-04-11 00:26:43 +08:00
Lim Chee Aun
ff1a9fa444 Full CRUD for Lists 2023-04-05 23:30:26 +08:00
Lim Chee Aun
a41871ae4b Experimental feature: translate bio 2023-03-29 01:12:59 +08:00
Lim Chee Aun
c461ce677f Fix mute clock icon got ellipsis-ified 2023-03-24 15:05:16 +08:00
Lim Chee Aun
d86023facd Fix submenu not opening 2023-03-22 14:11:38 +08:00
Lim Chee Aun
458fb7bbbe Turns out lastStatusAt is a date, no time 2023-03-19 15:24:15 +08:00
Lim Chee Aun
9d2cc6942c Possibly fix menu not close-able 2023-03-18 22:59:19 +08:00
Lim Chee Aun
4f3d503a35 Don't allow self to mention self lolol 2023-03-18 20:40:16 +08:00
Lim Chee Aun
94b96bd534 Fix wrong "info", when viewing remote accounts 2023-03-18 17:04:47 +08:00
Lim Chee Aun
24fdaf78d1 New account context menu!
Add Mention, Mute and Block
2023-03-18 16:24:04 +08:00
Lim Chee Aun
51bc920ada Show last status timestamp if not being followed 2023-03-17 18:58:10 +08:00
Lim Chee Aun
b47c904729 Prettify banner-less profiles too 2023-03-14 11:50:27 +08:00
Lim Chee Aun
348ceedced More fixes and adjustments for the avatars 2023-03-13 14:24:53 +08:00
Lim Chee Aun
aeb75fdea7 Somebody stop me 2023-03-13 10:42:34 +08:00
Lim Chee Aun
cd6c14c1d9 Embrace non-circle avatars 2023-03-13 10:10:21 +08:00
Lim Chee Aun
c6957f6967 Disable Posts link on Account statuses page 2023-03-12 10:34:58 +08:00
Lim Chee Aun
95d919bd5a More caching, but still not enough 2023-03-11 22:07:20 +08:00
Lim Chee Aun
669b1b7833 Fix skeleton showing old design lolol 2023-03-11 15:17:42 +08:00
Lim Chee Aun
54e2f2a589 Fix clicking on another account in account sheet not working 2023-03-11 15:14:59 +08:00
Lim Chee Aun
6fd9c106c6 Add account info into Account statuses page 2023-03-11 14:05:56 +08:00
Renamed from src/components/account.jsx (Browse further)