Commit graph

240 commits

Author SHA1 Message Date
Lim Chee Aun
58208a417c Check if there are shortcuts too before displaying Columns 2023-02-20 00:22:10 +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
7f22ec6a9b Go back to root after log out 2023-02-19 14:49:05 +08:00
Lim Chee Aun
f0eb684412 Got to instance them all 2023-02-19 00:05:46 +08:00
Lim Chee Aun
d4a6aa2d3b Only show alert if user typed something 2023-02-18 23:29:17 +08:00
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
161aff64ac This footer is kinda abrupt, so try "delay" it a little 2023-02-18 10:51:39 +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
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
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
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
4dae1d1576 Shorter copies 2023-02-16 19:10:26 +08:00
Lim Chee Aun
0bef245c83 New feature: Shortcuts 2023-02-16 17:52:16 +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
6f242aad27 Followed hashtags are paginated
Gotta fetch 'em all!
I don't know the limit, but let's fetch ALL for now instead of lazy loaded.
2023-02-12 22:58:36 +08:00
Lim Chee Aun
a37a1ca21b Instance-specific search?
I don't know if this is even useful??
2023-02-12 19:36:55 +08:00
Lim Chee Aun
08be313757 Additional styling for search page again
This is such a weird page
2023-02-12 19:29:27 +08:00
Lim Chee Aun
ac30963ddf New AccountBlock component 2023-02-12 19:29:03 +08:00
Lim Chee Aun
0b6dd07eee Rewrote notifications, again 2023-02-12 17:38:50 +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
b29e7ad1cb Clear q URL when clear search field 2023-02-11 20:39:37 +08:00
Lim Chee Aun
d9564bff72 Still need these fallbacks for now 2023-02-11 18:55:21 +08:00
Lim Chee Aun
b8a938b6d8 Don't need Home button in public timeline 2023-02-11 18:21:39 +08:00
Lim Chee Aun
26f8b618a5 At this point, better write my own matchPath right? 2023-02-11 18:19:23 +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
27c7a2dee9 Shorter placeholder for Search field 2023-02-11 17:58:23 +08:00
Lim Chee Aun
c1eade0fd8 Stupid mobile safari doesn't apply radius to outlines 2023-02-11 17:58:12 +08:00
Lim Chee Aun
afa8a0c057 Maybe better copy for search page 2023-02-11 17:57:44 +08:00
Lim Chee Aun
863ac2663c Fix titles 2023-02-11 17:57:26 +08:00
Lim Chee Aun
62eb6d6b30 Reuse style for search page, time to surface it 2023-02-11 17:01:43 +08:00
Lim Chee Aun
068a49abce Add Followed Hashtags 2023-02-11 16:48:47 +08:00
Lim Chee Aun
ffc8d88f82 Add update checking to these pages 2023-02-11 16:28:03 +08:00
Lim Chee Aun
ee5ab3f22c Add loader to search page 2023-02-11 16:27:52 +08:00
Lim Chee Aun
0a7189d35a Fix wrong paths again 2023-02-11 16:27:40 +08:00
Lim Chee Aun
722852f5c2 Expose more pages now
Except one
2023-02-11 00:05:18 +08:00
Lim Chee Aun
3490b0e714 Revert "Sort first"
This reverts commit 96f61e6e3f.
2023-02-10 22:23:19 +08:00
Lim Chee Aun
e0e236bd26 Experimental hidden search page
And refactored out some reusable components
2023-02-10 22:10:13 +08:00
Lim Chee Aun
541d318fdc One more logic for comment collapsing 2023-02-10 17:35:38 +08:00