Commit graph

1181 commits

Author SHA1 Message Date
Lim Chee Aun
ab2328f364 Handle use-case when Following is not in Home, in multi-column mode 2023-02-18 21:37:34 +08:00
Lim Chee Aun
02eb2ff470 Extract columns out & don't use dynamic imports
Vite have difficulties importing them dynamically. Sad face.

Also this makes Home look cleaner.
2023-02-18 21:14:24 +08:00
Lim Chee Aun
522d55ebb8 New experiment: multi-column mode 2023-02-18 20:48:24 +08:00
Lim Chee Aun
45a1fc057e Limit number of shortcuts
9 because there's only 9 keyboard shortcuts. There's '0' but… nah.
2023-02-18 19:39:17 +08:00
Lim Chee Aun
3f73f7d174 Fix weird bug when closing media modal + status page
Somehow useMatch re-renders the media modal and mess up some event handlers on it
Possibly due to react-router-match vs preact issues.

So, remove it totally, replace with CSS :has() solution
2023-02-18 17:38:42 +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
5707da703f Revert "Skeleton avatar should follow size"
This reverts commit f579a8bfb9.
2023-02-18 01:45:44 +08:00
Lim Chee Aun
29d4cddbf4 Add experimental instance switcher for public timelines 2023-02-18 01:40:37 +08:00
Lim Chee Aun
046fde0f70 Restyle the footer 2023-02-18 01:28:10 +08:00
Lim Chee Aun
07d1734720 Sometimes autofocus ain't working 2023-02-18 01:27:59 +08:00
Lim Chee Aun
523cb09912 Still need some gradient 2023-02-17 22:40:40 +08:00
Lim Chee Aun
e35f4e2644 Vite complain this is too complex 2023-02-17 20:48:52 +08:00
Lim Chee Aun
3915b3818c One more 40em 2023-02-17 20:48:38 +08:00
Lim Chee Aun
5b0f275f57 Temporary placeholder for custom-media 2023-02-17 20:48:15 +08:00
Lim Chee Aun
e81dc97c6b Make sure index.css is at top 2023-02-17 20:48:00 +08:00
Lim Chee Aun
5ef67fab91 Variable-ise the 40em 2023-02-17 20:47:09 +08:00
Lim Chee Aun
9fbfc993fd Smoother animation for menu 2023-02-17 19:39:33 +08:00
Lim Chee Aun
5af2a060a6 Update styles 2023-02-17 19:31:28 +08:00
Lim Chee Aun
f579a8bfb9 Skeleton avatar should follow size 2023-02-17 19:08:19 +08:00
Lim Chee Aun
9e1f62e47b Use instance check instead of authenticated check 2023-02-17 17:40: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
dc1a045de9 Fix play icon too faded out 2023-02-17 13:07:43 +08:00
Lim Chee Aun
4337c89ddf Add one more hide modal 2023-02-17 11:29:53 +08:00
Lim Chee Aun
e53352592b Fix scroll position got reseted by CSS 2023-02-17 11:29:39 +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
d8e6d349a0 Fix undefined 'votes' 2023-02-17 11:00:34 +08:00
Lim Chee Aun
0430f4ae89 Reuse BoostCarousel for pinned posts
Now we can show *anything* into a carousel
2023-02-17 10:55:16 +08:00
Lim Chee Aun
a1edc142ae Fix shortcuts button not hiding on large screen 2023-02-17 10:53:04 +08:00
Lim Chee Aun
ca943cbc5a A bit late to fix this but better be consistent 2023-02-17 10:17:41 +08:00
Lim Chee Aun
62ce0250c6 Don't need this 2023-02-17 10:14:44 +08:00
Lim Chee Aun
c37df11a25 Show pinned posts 2023-02-17 10:12:59 +08:00
Lim Chee Aun
82c8247ac8 Fix infinite loop bug!! 2023-02-17 01:54:19 +08:00
Lim Chee Aun
7aba448f42 Handle multi-paragraph code blocks
This ain't going to be fun if the HTML gets messier in the future
2023-02-16 21:51:22 +08:00
Lim Chee Aun
9011b9da35 Update instances list 2023-02-16 19:12:30 +08:00
Lim Chee Aun
4dae1d1576 Shorter copies 2023-02-16 19:10:26 +08:00
Lim Chee Aun
74a02ee388 lol forgot to link the datalist 2023-02-16 18:37:57 +08:00
Lim Chee Aun
73e8bed5f0 Basic validation 2023-02-16 18:22:19 +08:00
Lim Chee Aun
bec531df05 Testing another thing 2023-02-16 17:52:41 +08:00
Lim Chee Aun
0bef245c83 New feature: Shortcuts 2023-02-16 17:52:16 +08:00
Lim Chee Aun
75b6cddb04 Fix conditions not scoped properly 2023-02-15 21:40:58 +08:00
Lim Chee Aun
11d74b3258 Disable grouping for follow requests 2023-02-15 14:49:15 +08:00
Lim Chee Aun
f9794c1cd5 Fix more bugs from learnings 2023-02-15 11:20:48 +08:00
Lim Chee Aun
bc7ac30e74 Switch to logged-in instance URL 2023-02-15 10:51:09 +08:00
Lim Chee Aun
8da6532cd3 Propagate learnings to Notifications page 2023-02-15 10:50:20 +08:00
Lim Chee Aun
d324d3a672 Move notifications link from Following to Home 2023-02-15 10:49:36 +08:00
Lim Chee Aun
f198571367 Compare exact string before checking variants 2023-02-15 10:46:29 +08:00
Lim Chee Aun
4c17522d42 Fix escape key not working on Safari 2023-02-14 19:38:17 +08:00
Lim Chee Aun
21f9b3c4c6 Upgrade vite-plugin-remove-console
Includes all other console.* methods too
2023-02-14 19:10:21 +08:00
Lim Chee Aun
5f052bb260 Missed this 2023-02-13 10:43:12 +08:00
Lim Chee Aun
9a9e16b35a Remove unused import 2023-02-13 10:42:58 +08:00