Commit graph

114 commits

Author SHA1 Message Date
Lim Chee Aun 4723358d2d Fix borked image when restore from draft 2023-10-05 18:01:18 +08:00
Lim Chee Aun fd1b45900d Different copy for toast when replying or editing 2023-09-28 15:45:38 +08:00
Lim Chee Aun 173cad2275 So all this while been using the wrong API for autocomplete mentions
🫣🫣🫣
2023-09-27 13:37:12 +08:00
Lim Chee Aun d4dca0e81f Support non-rectangular custom emojis 😩
Platforms like Misskey have irregularly-shaped custom emojis (emojos?)

- So far this handles horizontally-wide emojis, not tall ones (haven't seen any)
- text-overflow: ellipsis is not used because it can't ellipsis-fy wide emoji images
2023-09-24 15:45:01 +08:00
Lim Chee Aun 887503e40b Auto-list composing
Automatically create lists like "- " or "12. " when press Enter
2023-09-16 22:57:35 +08:00
Lim Chee Aun 2d94f229c3 Fix weird textarea height on first render 2023-09-10 15:29:25 +08:00
Lim Chee Aun a9109f4839 Show account block in Composer 2023-09-03 19:48:36 +08:00
Lim Chee Aun 0792df1adb dir=auto all the things 2023-08-24 09:12:00 +08:00
Lim Chee Aun 31d7016bd9 Default show chars-left donut 2023-08-13 12:00:33 +08:00
Lim Chee Aun 6956628369 Add posting visibility setting
Also respect visibility setting when replying *if* replied-to post is public
2023-07-09 16:32:09 +08:00
Lim Chee Aun efc3b08c90 Fix prefs not being applied in Composer
Got trolled by masto.js again
2023-06-23 21:20:11 +08:00
Lim Chee Aun 06aece7d3a Reduce debounce to 250 for now 2023-06-14 22:38:38 +08:00
Lim Chee Aun efa4ba63eb Try re-post if idempotency key fails 2023-05-23 19:16:24 +08:00
Lim Chee Aun 753789c0c7 Try/catch match because it throws when there's invalid language code 2023-05-20 14:14:35 +08:00
Lim Chee Aun 6532b97a44 Update copy: s/status/post 2023-04-29 22:22:07 +08:00
Lim Chee Aun 5dc3603795 Close button for modal sheets 2023-04-20 16:10:57 +08:00
Lim Chee Aun 8565bb930b Very very very lazy way to sort used languages to the top 2023-04-17 20:47:34 +08:00
Lim Chee Aun 13b2273022 Bot avatars will be squircles 2023-04-11 00:26:43 +08:00
Lim Chee Aun 6f8390c3f8 Embrace "Private mention" 2023-04-06 18:21:56 +08:00
Lim Chee Aun 6a273b51bd Remove console.log 2023-03-26 15:09:52 +08:00
Lim Chee Aun 2a85ad2f45 New feature: custom emoji picker 2023-03-24 22:30:05 +08:00
Lim Chee Aun 45e633de92 UI adjustments to composer 2023-03-24 01:26:49 +08:00
Lim Chee Aun 9071439c12 Adjust some layout stuff in composer 2023-03-23 16:13:22 +08:00
Lim Chee Aun 15551ec3c9 Highlight language change in composer 2023-03-19 15:04:42 +08:00
Lim Chee Aun 24fdaf78d1 New account context menu!
Add Mention, Mute and Block
2023-03-18 16:24:04 +08:00
Lim Chee Aun bc4dfaf62f Add previewMode 2023-03-16 13:02:46 +08:00
Lim Chee Aun fcfe9738ef Better var name 2023-03-15 00:55:32 +08:00
Lim Chee Aun a838e30f4a Check for no media descriptions when posting & boosting 2023-03-14 20:42:37 +08:00
Lim Chee Aun 10090e316a Revisit and add slight polish to Composer UI 2023-03-14 20:24:36 +08:00
Lim Chee Aun 4e5e2fa75f Fix esc triggering exit confirmation when closing the expander 2023-03-08 14:49:52 +08:00
Lim Chee Aun 89d7015d62 Try out Intl.LocaleMatcher to intelligently set default locale 2023-03-02 11:13:52 +08:00
Lim Chee Aun ff5fd09669 Fix this totally unset key 2023-03-02 11:13:07 +08:00
Lim Chee Aun 06548bbbfc Revert "Add experimental highlighting to composer textarea"
This reverts commit 017b138d4b.
2023-02-27 16:01:26 +08:00
Lim Chee Aun 017b138d4b Add experimental highlighting to composer textarea 2023-02-27 11:20:50 +08:00
Lim Chee Aun 7b66b832d5 Add more "instance" + saveStatus for new notifications 2023-02-25 14:20:26 +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 4b88c6ca65 Make sure status link has instance too for toast 2023-02-23 16:44:01 +08:00
Lim Chee Aun bd728df79b Fix undefined customEmojis 2023-02-23 11:36:07 +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 4dae1d1576 Shorter copies 2023-02-16 19:10:26 +08:00
Lim Chee Aun 4c17522d42 Fix escape key not working on Safari 2023-02-14 19:38:17 +08:00
Lim Chee Aun 255ca8eaa6 Support edit media description for Mastodon v4.1 2023-02-13 01:21:18 +08:00
Lim Chee Aun 5911eb8033 Add more spellChecks 2023-02-11 06:21:23 +08:00
Lim Chee Aun 8b77615c80 Need to save status after edit
Before this, the status (and context) will auto-refresh after posting, but now it's only refreshing context
2023-02-10 11:35:47 +08:00
Lim Chee Aun 91aeed5fe6 Respect your preferences 2023-02-09 23:59:57 +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 969fddc581 Time for use-debounce
Try a leading debounce here
2023-01-30 20:51:06 +08:00
Lim Chee Aun cc2d4d4cc1 Fix text-expander positioning bug
Also fix related bugs
2023-01-29 21:45:59 +08:00
Lim Chee Aun f2d50b0bac Add lang to all fields based on chosen language
Reference: https://github.com/mastodon/mastodon/issues/19858
2023-01-26 00:34:52 +08:00