Lim Chee Aun
f7b398e078
Ugh need to be '+' instead of spaces
2023-02-25 14:58:11 +08:00
Lim Chee Aun
2b25fc67cf
Prevent action buttons from wrapping in Safari
2023-02-25 14:34:08 +08:00
Lim Chee Aun
7b66b832d5
Add more "instance" + saveStatus for new notifications
2023-02-25 14:20:26 +08:00
Lim Chee Aun
2afa84c2fd
Fix input width bug on Safari
2023-02-25 14:19:57 +08:00
Lim Chee Aun
b4a8e60144
Fix wrong authenticated
2023-02-25 12:40:59 +08:00
Lim Chee Aun
15a75e1ed0
Ellipsis-ify menu text
2023-02-25 11:36:07 +08:00
Lim Chee Aun
1c8bba456d
Add menu for Public timeline
...
Add menu item to switch between Local and Federated
2023-02-25 11:25:50 +08:00
Lim Chee Aun
aca3cb677b
Sometimes need exact distance instead ratio
2023-02-25 10:50:02 +08:00
Lim Chee Aun
1f2dbb8e06
Experimental multi-hashtag timeline
2023-02-25 10:04:30 +08:00
Lim Chee Aun
49ef7e9ee4
Fix more icon (3 dots) too subtle
2023-02-25 10:03:52 +08:00
Lim Chee Aun
9e867c7af5
Fix title not working when not logged in
...
Welcome page's useTitle overridden other page's useTitle
2023-02-25 10:03:34 +08:00
Lim Chee Aun
be83ca7358
Neat trick to expand click area
2023-02-25 01:49:40 +08:00
Lim Chee Aun
45950da714
Don't POST if no choices set in poll
2023-02-24 23:38:59 +08:00
Lim Chee Aun
b7f80fb621
Fix masto undefined
2023-02-24 12:25:05 +08:00
Lim Chee Aun
01b5f35f1d
Fix instance is actually object
2023-02-24 12:20:31 +08:00
Lim Chee Aun
52b18240fd
lol i accidentally got rid if the toast rounded corners
...
I really need to use toast more...
2023-02-24 10:01:07 +08:00
Lim Chee Aun
e5ade9404b
Test canceling debounce here if the fetch is faster than 1.5s
2023-02-24 01:28:15 +08:00
Lim Chee Aun
cbb09e1b5d
Bring back intersection observer for 'show more'
...
Sometimes the scroll thing doesn't really work
2023-02-24 01:27:46 +08:00
Lim Chee Aun
2ced21c9dd
Remove this noise
2023-02-24 01:26:37 +08:00
Lim Chee Aun
3c8ba1c34e
Need to pass instance here too
2023-02-24 00:50:06 +08:00
Lim Chee Aun
6fdf204180
Revert "Try this safari-only CSS"
...
This reverts commit 0e05ed6a98
.
2023-02-23 23:25:42 +08:00
Lim Chee Aun
0e05ed6a98
Try this safari-only CSS
...
Bump up font size because rounded is a little small
2023-02-23 23:13:36 +08:00
Lim Chee Aun
f24f98ebab
Fix regression bug with carousel position on desktoip
2023-02-23 23:06:35 +08:00
Lim Chee Aun
7ebd0e7601
Don't refetch failed unfurls
2023-02-23 22:53:28 +08:00
Lim Chee Aun
e2a679e202
memoize status calls
2023-02-23 22:53:12 +08:00
Lim Chee Aun
b1df96689f
Prevent keep calling Lists :id API for the title
...
Memoize all the things!!1!
2023-02-23 21:42:38 +08:00
Lim Chee Aun
3037a5d2a1
Don't do media + context while opening media from composer
2023-02-23 17:01:59 +08:00
Lim Chee Aun
eb896dc5a5
original might be undefined??
2023-02-23 17:01:33 +08:00
Lim Chee Aun
e6d6adb480
First small step to resolving mastodon links
...
And open them inside Phanpy instead of like an external link
2023-02-23 16:45:53 +08:00
Lim Chee Aun
4b88c6ca65
Make sure status link has instance too for toast
2023-02-23 16:44:01 +08:00
Lim Chee Aun
732244b4b3
Shiny pill style
2023-02-23 16:43:17 +08:00
Lim Chee Aun
6af689835d
No glow when hover
2023-02-23 15:56:35 +08:00
Lim Chee Aun
bd728df79b
Fix undefined customEmojis
2023-02-23 11:36:07 +08:00
Lim Chee Aun
63c6637c24
Need a little glow on glass menu
2023-02-23 10:45:28 +08:00
Lim Chee Aun
aaa8f7d94e
Let's yolo try this ui-* fonts
2023-02-22 23:40:16 +08:00
Lim Chee Aun
3232f14247
Fix border radius clipping bug on Safari
2023-02-22 23:39:52 +08:00
Lim Chee Aun
8a41599466
Allow esc to close Account sheet
2023-02-22 13:28:01 +08:00
Lim Chee Aun
2120a1e28e
Still got to make sure instance is lowercase
...
Also, spellcheck={false} > spellcheck="false"
2023-02-22 09:46:50 +08:00
Lim Chee Aun
cd9b01095c
Fix post status banner showing wrong thing for non-logged-in users
2023-02-22 00:42:43 +08:00
Lim Chee Aun
c13cab51a9
Show large card for content with text-weight=1
...
Also finally replace the hacky CSS with something more legit
2023-02-21 23:59:34 +08:00
Lim Chee Aun
c2e9dc0efe
Use url, not uri
2023-02-21 14:29:25 +08:00
Lim Chee Aun
8891e0f01c
Fix follow/unfollow not working for remote accounts
2023-02-21 14:19:50 +08:00
Lim Chee Aun
8e4ecd242b
Revert flush to cancel, speed up scroll position caching
...
Somehow the flush cache the scroll position for a different status ID
2023-02-20 20:59:46 +08:00
Lim Chee Aun
6e9661a70c
Use the right way
2023-02-20 20:58:53 +08:00
Lim Chee Aun
cd70bf87db
Animate position-object when link is focused
2023-02-20 17:51:41 +08:00
Lim Chee Aun
79df9546bd
Fix the compose status states not inheriting properly
2023-02-20 00:46:21 +08:00
Lim Chee Aun
58208a417c
Check if there are shortcuts too before displaying Columns
2023-02-20 00:22:10 +08:00
Lim Chee Aun
6c63fb14b4
Hide keyboard shortcut hint until keyboard is triggered
2023-02-19 22:07:46 +08:00
Lim Chee Aun
91ee0da8ef
Close menu when trigger shortcut
2023-02-19 22:07:15 +08:00
Lim Chee Aun
8428ca232c
Fix shortcuts button missing shadow
...
And move the menu offset a little
2023-02-19 21:18:12 +08:00
Lim Chee Aun
5c6c9a43f2
Fix regression: threadify stopped working
...
This is due to status key changed with extra instance string
2023-02-19 21:16:23 +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
72068d9d46
Another guard
2023-02-19 10:56:28 +08:00
Lim Chee Aun
a27bdbc69b
Another guard for corrupted shortcuts
2023-02-19 10:42:56 +08:00
Lim Chee Aun
2df67f37a3
Handle cases if the shortcuts are corrupted
2023-02-19 10:27:37 +08:00
Lim Chee Aun
34a015c36a
Show pointer cursor
2023-02-19 10:27:10 +08:00
Lim Chee Aun
33afb081dd
Need a min height in case height is too small
2023-02-19 01:39:27 +08:00
Lim Chee Aun
a77b96b171
Pushing the limits of CSS coding
2023-02-19 01:23:31 +08:00
Lim Chee Aun
7e65d8be5d
Make smaller statuses stand out in the carousel
2023-02-19 01:10:06 +08:00
Lim Chee Aun
65c1af2eac
Make shortcuts button look even cooler
2023-02-19 00:08:37 +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
ccdb8d144c
Need useTitle
2023-02-18 22:13:32 +08:00
Lim Chee Aun
ce8e411cab
Prevent hashtags from being clickable inside Composer
2023-02-18 21:44:19 +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
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
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