Lim Chee Aun
0e961e87a4
Fill in forgotten strings
2024-08-31 23:02:06 +08:00
Lim Chee Aun
056e22aaf9
Split context for two "Post" strings
2024-08-21 14:37:34 +08:00
Lim Chee Aun
18b3ee8c92
Standardize display of common + native languages list
2024-08-16 19:17:57 +08:00
Lim Chee Aun
4918027c90
Use real ellipsis
...
And see if these strings can sync up
2024-08-13 18:17: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
f05e3012e3
Preliminary step for RTL
2024-08-04 13:32:46 +08:00
Lim Chee Aun
180a23f116
Fix wrong exceeded chars highlighting
2024-07-07 22:56:24 +08:00
Lim Chee Aun
9ea7a1f4db
Use onClose for this
2024-07-06 09:47:42 +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
1f8a8f8928
Use URL.parse with polyfill
2024-06-14 08:34:50 +08:00
Lim Chee Aun
2099953b68
Remove spaces between buttons
2024-06-03 18:01:49 +08:00
Lim Chee Aun
5ead17a093
Disable GIF button if exceed max media limit or has poll
2024-06-01 11:51:58 +08:00
Lim Chee Aun
7546b42c7c
Further improve lang detection perf
2024-05-29 15:26:58 +08:00
Lim Chee Aun
b6a64b66c7
Fix wrong logic for highlighting Languages select
2024-05-28 21:03:05 +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
bd8817e61b
Show warning if exceed file size or matrix limit
2024-05-27 19:19:34 +08:00
Lim Chee Aun
34077e8467
Don't show 'More…' for hashtag autosuggest
2024-05-26 18:15:37 +08:00
Lim Chee Aun
2c1a6c8cb5
Restyle the composer controls UI
2024-05-25 13:39:11 +08:00
Lim Chee Aun
2e0ef6494b
Extend at-mentions with dedicated UI
2024-05-25 11:06:58 +08:00
Lim Chee Aun
0c45f515f0
Don't add space if empty string
2024-05-25 09:16:03 +08:00
Lim Chee Aun
9cc590be1b
Extra check if the composer is publishing
2024-05-25 09:15:43 +08:00
Lim Chee Aun
cd17ca0b42
Experiment: allow minimize composer
2024-05-24 12:30:20 +08:00
Lim Chee Aun
96c44ed485
Fix composer not overwritten by restored composer window
2024-05-23 14:14:23 +08:00
Lim Chee Aun
7053fcc96a
Experimental 'More…' for custom emojis suggestions
...
Also includes small fixes and improvements
2024-05-22 19:12:13 +08:00
Lim Chee Aun
1b1af67064
Experiment non-English description generation
2024-05-19 16:27:59 +08:00
Lim Chee Aun
65a4c3441c
Add search for custom emojis
2024-05-02 00:14:25 +08:00
Lim Chee Aun
ffbae70178
Remove newline from regex for shortcode
2024-04-19 08:41:16 +08:00
Lim Chee Aun
9235d2c800
Hide poll button if maxOptions <= 1
...
It's not a poll if there's only 1 option
2024-04-18 23:12:29 +08:00
Lim Chee Aun
b9058c6e3d
Debounced auto-submit for GIF search field
2024-04-17 08:26:35 +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
6f22ec3842
Fix missing idempotency key
2024-04-13 17:07:28 +08:00
Lim Chee Aun
aefda31c2a
Temporary quick fix, remove dash from hashtag regex
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
c18efef7b6
GIF picker
2024-04-02 17:51:48 +08:00
Lim Chee Aun
ff336628f8
Fix media description not recognized if programmatically entered
2024-04-02 17:45:14 +08:00
Lim Chee Aun
4abb1aeaed
Fix poll got false value
2024-03-27 09:46:37 +08:00
Lim Chee Aun
13f5621488
Fix char counter not showing properly on Firefox
2024-03-24 16:37:58 +08:00
Lim Chee Aun
fef033b282
Show relative time if replying to old post
...
Ref: https://blog.joinmastodon.org/2023/11/improving-the-quality-of-conversations-on-mastodon/
2024-03-13 13:30:58 +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
531147cbc3
It's time for Intl.Segmenter
...
Remove runes2
2024-03-04 19:38:46 +08:00
Lim Chee Aun
6292557bc9
Default modal to light, add solid class instead
2024-03-03 17:31:06 +08:00
Lim Chee Aun
707b51a1a0
Don't trigger auto list if meta/ctrl+enter
2024-02-26 14:57:09 +08:00
Lim Chee Aun
b6c4045cb4
Escape HTML chars in composer highlights
...
This is very embarrassing, I know
2024-01-17 11:31:33 +08:00
Lim Chee Aun
16e2ac9bce
Test better equal checks
2024-01-06 12:31:25 +08:00
Lim Chee Aun
7223baaaad
Better error handling for image desc generator
...
400 doesn't throw error
2024-01-06 12:23:15 +08:00
Lim Chee Aun
fe54eb11a7
Experimental opt-in description generator
2023-12-27 23:33:59 +08:00
Lim Chee Aun
7b246fc660
It's time to use CloseWatcher
...
It shipped since Chrome 120 https://chromestatus.com/feature/4722261258928128
2023-12-20 21:02:22 +08:00
Lim Chee Aun
ac60890c9a
Revert "Don't highlight mention when it's prepended by a dot"
...
This reverts commit 5fef0b3fb5
.
2023-12-17 18:25:58 +08:00
Matthieu Rakotojaona
5fef0b3fb5
Don't highlight mention when it's prepended by a dot
2023-12-12 19:18:56 +01:00