Lim Chee Aun
a25bcba8a6
Make 'Delete' post look dangereous
...
Thanks to https://github.com/cheeaun/phanpy/pull/841
2024-10-10 09:16:49 +08:00
Lim Chee Aun
a19beffd20
Move diff language check to separate Task
2024-09-26 11:21:57 +08:00
Lim Chee Aun
c0abfb203e
Possibly need useLayoutEffect
2024-09-25 18:27:40 +08:00
Lim Chee Aun
65bd6fb1ef
It's micro-optimization week
...
Includes experimental replacing dangerouslySetInnerHTML with setting actual DOM
2024-09-25 17:18:30 +08:00
Lim Chee Aun
931af3c193
Add data-source to embed code
...
Ref: https://github.com/stefanbohacek/fediverse-embeds-wordpress-plugin/issues/29
2024-09-23 20:42:48 +08:00
Lim Chee Aun
fd5e574e70
Don't show byline if card posted by author themselves
2024-09-22 13:53:18 +08:00
Lim Chee Aun
4ae1c38269
Battle against slow startup time
...
Seems like Intl and tinyld could be the cause
2024-09-16 17:39:06 +08:00
Lim Chee Aun
3ebf7af4c3
Show author bylines
2024-09-16 13:33:00 +08:00
Lim Chee Aun
b1d7592673
Fix hotkeys firing for multiple elements
...
This is due to react-hotkeys-hook v4.5.1 upgrade
2024-09-15 23:41:34 +08:00
Lim Chee Aun
a376a9bd13
Add comment for this string
2024-09-11 13:10:36 +08:00
Lim Chee Aun
463ec48a8d
Fix "overload resolution failed"
...
convertToBlob returns promise 🫣
2024-09-07 15:27:09 +08:00
Stefano Pigozzi
1aff56a6bd
Rename "Local instance" to "Local"
...
Co-authored-by: Lim Chee Aun <cheeaun@gmail.com>
2024-09-07 03:12:16 +02:00
Stefano Pigozzi
7f06187d75
Merge remote-tracking branch 'origin/main' into feature/akkoma-local-only
...
# Conflicts:
# src/locales/en.po
2024-09-05 15:46:56 +02:00
Lim Chee Aun
bff32b2d68
Fix toDataURL is not a function
2024-08-31 20:13:23 +08:00
Lim Chee Aun
ea53d8ad9d
Attempt to make menus wider
2024-08-24 18:22:29 +08:00
Stefano Pigozzi
1e1d6e40bc
Add support for local instance posts
...
A new platform feature is defined, `@akkoma/local-only`, which is marked as present only if the string `akkoma` is found in the instance version string.
If this feature is supported, a new post visibility option is added to the post compose visibility selector, "Local instance", which sets the visibility to `"local"`.
The post viewer is also updated accordingly; while local-only posts could already be seen previously, they didn't have anything written in the `.extra-meta` section, and didn't display a visibility icon.
The `building` icon has been selected as the symbol for "Local instance" posts, as it's already used in the main menu to denote the Local timeline.
2024-08-20 19:00:10 +02:00
Lim Chee Aun
8a2150d854
All handles need bidi isolate
2024-08-19 19:06:24 +08:00
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