Commit graph

397 commits

Author SHA1 Message Date
Lim Chee Aun
bdb1dff278 Fix this unneeded Plural 2024-08-16 11:12:00 +08:00
Lim Chee Aun
c2e6d732c4 Initial i18n dev
Expecting bugs!
2024-08-13 15:26:23 +08:00
Lim Chee Aun
78ca5bbc0b Fix prefs bug
- Some prefs returned can be uppercased, so make them lowercase
- `postingDefaultLanguage` probably doesn't work anymore every since masto.js upgrade. Sorry!
- Add additional checks to make sure prefs from server are not in unexpected forms
2024-08-10 10:04:44 +08:00
Lim Chee Aun
89e8bdf77b Use pinned instead of _pinned 2024-08-04 18:06:26 +08:00
Lim Chee Aun
f05e3012e3 Preliminary step for RTL 2024-08-04 13:32:46 +08:00
Lim Chee Aun
95bf9e183e Replace trivago/ with ianvs/prettier-plugin-sort-imports 2024-07-01 17:41:21 +08:00
Lim Chee Aun
e6e884f1cb Refactor + make card post work for no-image cards 2024-06-28 07:49:30 +08:00
Lim Chee Aun
83164c321f Apply anim-duration for card image too
And also media images in Catch-up
2024-06-15 08:36:12 +08:00
Lim Chee Aun
1f8a8f8928 Use URL.parse with polyfill 2024-06-14 08:34:50 +08:00
Lim Chee Aun
8a10a81fec Experiment immersive media render on large-size post 2024-06-10 20:42:38 +08:00
Lim Chee Aun
88e36183c6 Experiment different card preview style 2024-06-10 20:40:35 +08:00
Lim Chee Aun
ef1abbc25c Wait I need a slash here? 2024-06-08 21:34:50 +08:00
Lim Chee Aun
8d91bfb0a3 Throttle account fetches 2024-06-07 18:38:26 +08:00
Lim Chee Aun
098014a109 Fix possible error 2024-05-29 18:46:14 +08:00
Lim Chee Aun
7546b42c7c Further improve lang detection perf 2024-05-29 15:26:58 +08:00
Lim Chee Aun
f9a73777e7 Perf over function 2024-05-29 10:23:46 +08:00
Lim Chee Aun
0a4aae51b7 It's time for MVP-ish language auto-detection 2024-05-28 17:59:17 +08:00
Lim Chee Aun
cd17ca0b42 Experiment: allow minimize composer 2024-05-24 12:30:20 +08:00
Lim Chee Aun
9934daeb4d Handle filtered quote posts 2024-05-16 13:00:23 +08:00
Lim Chee Aun
c8dc32b884 Test caching shazam states 2024-04-28 08:30:52 +08:00
Lim Chee Aun
effbe189e1 Revert "Test upgrade react-hotkeys-hook for the keys fix"
This reverts commit 9285a0ba9a.
2024-04-16 00:09:53 +08:00
Lim Chee Aun
44e910b8c9 Fix wrong carousel math 2024-04-15 23:34:58 +08:00
Lim Chee Aun
a68dccd7cf Fix rerender bug with followed hashtag parent
And… somehow memoize it?
2024-04-15 21:37:03 +08:00
Lim Chee Aun
9a6364a674 Obviously got to flex my scroll-driven animation CSSkillz 2024-04-15 19:59:57 +08:00
Lim Chee Aun
304ce5a3e8 Experiment dynamic change of parent
This might prevent double renders
2024-04-15 17:06:44 +08:00
Lim Chee Aun
06c6360cae More support for Pixelfed 2024-04-14 17:20:18 +08:00
Lim Chee Aun
df3aca70fa Open media + post view for wider viewports 2024-04-13 17:09:00 +08:00
Lim Chee Aun
e782cc0dde Refactor set/get current account ID
And add fallback for standalone mode where session storage is not enough
2024-04-13 00:11:00 +08:00
Lim Chee Aun
9285a0ba9a Test upgrade react-hotkeys-hook for the keys fix 2024-04-13 00:11:00 +08:00
Lim Chee Aun
a0d2037007 Early implementation of media-first UI experience 2024-04-11 17:18:17 +08:00
Lim Chee Aun
d77ba19308 Handle another kind of emojiReaction response
Can't everyone just standardize the responses?
2024-04-03 17:58:37 +08:00
Lim Chee Aun
aa664e15f6 Convert all the punycodes
Surprising that this is still not built into browsers
2024-04-02 09:03:13 +08:00
Lim Chee Aun
4def6eef5a Refactor this out for no particular reason 2024-03-31 20:53:08 +08:00
Lim Chee Aun
311160983f Experiment hide some visibility icons 2024-03-27 19:09:01 +08:00
Lim Chee Aun
67a05450cf Test this lazy shazam 2024-03-26 16:35:02 +08:00
Lim Chee Aun
c9bbca9e11 Might as well go further into custom emoji reactions
But still MVP-ish. Misskey emoji shortcodes ain't going to work tho'
2024-03-25 17:58:56 +08:00
Lim Chee Aun
9c8aff6d32 Show post preview inside Boosted/Liked by modal
And show the menu in more places
2024-03-24 17:24:47 +08:00
Lim Chee Aun
5ccf8b6842 Show published dates for cards 2024-03-23 12:26:50 +08:00
Lim Chee Aun
8f43099840 More conditional menu dividers
Srsly need better way to render these dividers
2024-03-20 11:04:38 +08:00
Lim Chee Aun
a2743f9940 This got prettier-ed 2024-03-20 11:04:38 +08:00
Vincent
cf05568e0c
Add tooltip for truncated preview text
Expose the full content of preview text that might get truncated in
their tooltips.
2024-03-15 18:06:56 +01:00
Lim Chee Aun
cd3ed64e48 Show relative time if boosting/quoting old post 2024-03-15 16:02:33 +08:00
Lim Chee Aun
3dbbba0be2 Fix captioning turned on even when showCaption = false 2024-03-12 08:14:07 +08:00
Lim Chee Aun
d63e6c87c4 Potential perf improvements for canvas 2024-03-10 23:25:07 +08:00
Lim Chee Aun
0e1be5dbdc MVP-ish initial implementation of Quote
The menuExtras is hacky, I know.
2024-03-09 21:29:44 +08:00
Lim Chee Aun
4843970e1b Custom context menu if link has hash 2024-03-09 17:01:50 +08:00
Lim Chee Aun
7f6ef4ff96 Better copy for embed post 2024-03-07 09:05:52 +08:00
Lim Chee Aun
c005745ad0 Fix links layout in embed modal 2024-03-06 19:17:03 +08:00
Lim Chee Aun
8cab77415e Only show share and embed if public or unlisted
Also slight refactor
2024-03-04 09:56:38 +08:00
Lim Chee Aun
6292557bc9 Default modal to light, add solid class instead 2024-03-03 17:31:06 +08:00