Commit graph

15 commits

Author SHA1 Message Date
Lim Chee Aun 1d1bb1de61 Hide open media file in More button 2023-03-28 15:59:20 +08:00
Lim Chee Aun 8908359b50 New feature experiment: pinch-zoom for images
This will probably be very buggy
2023-03-28 00:29:01 +08:00
Lim Chee Aun 0f1b08b3ea Very experimental handle "back" to close media modal
Don't try this at home, kids
2023-03-23 15:54:17 +08:00
Lim Chee Aun 355b3be6e9 Alrighty, let's test this post translation out! 2023-03-07 22:38:06 +08:00
Lim Chee Aun 8d501668d0 Weird… 2023-03-07 12:58:43 +08:00
Lim Chee Aun d21f6158fe Finally fix the carousel dot color 2023-02-28 21:02:55 +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 61edcb2115 Replace ALT badge with info icon
ALT is just… too technical.
2023-02-11 22:36:19 +08:00
Lim Chee Aun b58a838af0 Forgot to update these 2023-02-06 20:01:56 +08:00
Lim Chee Aun 719a407414 Use /:instance?/xxx instead 2023-02-06 19:54:18 +08:00
Lim Chee Aun 692851b24c Fix useMatch not working with optional path segment 2023-02-06 19:29:00 +08:00
Lim Chee Aun a130743d4c Breaking: refactor all masto API calls
Everything need to be instance-aware!
2023-02-06 00:17:19 +08:00
Lim Chee Aun 613e77e43f Got to be picky about the smooth vs jump scroll 2023-01-30 19:48:33 +08:00
Lim Chee Aun b8c9059562 Quick fix for "See post" messing up the top controls div in small screens 2023-01-29 15:55:15 +08:00
Lim Chee Aun 292186e918 New UI experiment: media modal + status detail page
- Extracted out the media modal and media component from Status
- Use :has CSS selector to do most of the layout work
- Expecting edge case UI bugs
2023-01-29 15:23:53 +08:00