taichi221228
5b34a4e347
Add comments for skin_tone
in emoji_utils.ts
...
This commit adds detailed comments explaining the usage of `skin_tone` in emoji_utils.ts, noting its absence in the type definition link and the need for a separate type with DefinitelyTyped. It also highlights potential mismatch issues between versions of `@types/emoji-mart` and `emoji-mart`, given they have different maintainers and packages.
2024-11-22 13:38:34 +01:00
taichi221228
4845f5a50d
Refactor and improve emoji sanitization function
...
The emoji sanitization function has been refactored for better handling of emoji variations. New types have been imported from 'emoji-mart', allowing for a more precise type assignment for the emoji input and output. Bound checking operations have been adjusted to better accommodate and handle custom emojis and skin variations.
2024-11-22 13:38:34 +01:00
taichi221228
562c8778fb
Refactor unifiedToNative function in emoji_utils
...
The unifiedToNative function in emoji_utils.ts has been refactored for cleaner coding practices. Lint disabling has been moved to a different part of the code, and type checking has been revised to specify that the input unified is of type Emoji['unified']. The function's variables have been updated to const for better securities against undesired changes.
2024-11-22 13:38:34 +01:00
taichi221228
77a0621ecc
Remove unnecessary stringFromCodePoint function polyfill in emoji_utils
...
Removed the unnecessary stringFromCodePoint function polyfill from the emoji_utils.ts file. Instead, we use the built-in JavaScript function String.fromCodePoint to simplify the code.
2024-11-22 13:38:34 +01:00
taichi221228
88afeb3654
Refactor buildSearch function in emoji_utils.ts
...
The buildSearch function has been refactored for better coding practices. More explicit typings and declaration were used, and the logic related to array search has been simplified for better readability. The 'eslint-disable' comment line was moved to a more appropriate location after these changes.
2024-11-22 13:38:34 +01:00
taichi221228
ac2b7a6cfb
Add '@ts-expect-error' to suppress TypeScript errors
2024-11-22 13:38:34 +01:00
taichi221228
9c4f3ecdf6
Rename emoji_utils.js to TS
2024-11-22 13:38:34 +01:00
Oliver Geer
0ad5c212c1
Fix accounts table long display name ( #29316 )
2024-11-22 09:50:47 +00:00
Christian Schmidt
9ebed5d410
Fix CSS warnings ( #32266 )
2024-11-22 08:58:04 +00:00
github-actions[bot]
47190087f8
New Crowdin Translations (automated) ( #33020 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-22 08:44:09 +00:00
Claire
4bfb8887bf
Fix duplicate notifications in notification groups when using slow mode ( #33014 )
2024-11-21 16:10:07 +00:00
Eugen Rochko
62603508c7
Change design of lists in web UI ( #32881 )
2024-11-21 16:10:04 +00:00
github-actions[bot]
e4d5cc0ca6
New Crowdin Translations (automated) ( #33010 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-21 10:58:45 +00:00
Eugen Rochko
683db3ab25
Add ability to middle-mouse click posts in web UI ( #32988 )
2024-11-20 15:56:35 +00:00
github-actions[bot]
4252b13a4b
New Crowdin Translations (automated) ( #32990 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-20 08:24:50 +00:00
github-actions[bot]
9fc2fc2251
New Crowdin Translations (automated) ( #32969 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-19 09:05:39 +00:00
Eugen Rochko
e856838e0c
Fix notification polling showing a loading bar in web UI ( #32960 )
2024-11-19 08:57:12 +00:00
github-actions[bot]
02985aae69
New Crowdin Translations (automated) ( #32927 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-18 09:20:37 +00:00
Jeong Arm
60801ab914
Add missing autofocus on boost modal ( #32953 )
2024-11-18 08:48:27 +00:00
github-actions[bot]
c546aa57cb
New Crowdin Translations (automated) ( #32900 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-15 10:30:11 +00:00
Emelia Smith
ddfb3d123b
Improve display of statuses in admin panel ( #30813 )
2024-11-15 09:38:01 +00:00
Claire
2de018256a
Fix filters not being correctly applied to boosted posts ( #32895 )
2024-11-14 19:42:43 +00:00
Claire
ec663eaba1
Fix Content Warning and filter states not applying to boosted posts properly ( #32887 )
2024-11-14 12:50:36 +00:00
github-actions[bot]
aaebf142aa
New Crowdin Translations (automated) ( #32884 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-14 09:39:33 +00:00
github-actions[bot]
baad795384
New Crowdin Translations (automated) ( #32868 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-13 09:33:02 +00:00
Eugen Rochko
32e5e1d3f1
Fix a few visual issues with annual reports in web UI ( #32807 )
2024-11-12 12:35:35 +00:00
github-actions[bot]
0d06d70d11
New Crowdin Translations (automated) ( #32811 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-12 08:47:59 +00:00
Christian Schmidt
157fba4698
Backspace hotkey should override default behaviour ( #32826 )
2024-11-10 16:16:07 +00:00
github-actions[bot]
8df867b20a
New Crowdin Translations (automated) ( #32803 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-08 09:53:47 +00:00
Claire
6ae1fcd059
Fix list of follow requests not having a back button ( #32797 )
2024-11-07 11:45:46 +00:00
github-actions[bot]
4ed3ce2377
New Crowdin Translations (automated) ( #32793 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-07 09:45:05 +00:00
Claire
d482211aa6
Fix out-of-view post contents being inconsistent with in-view post contents ( #32778 )
2024-11-06 13:30:53 +00:00
github-actions[bot]
871e3b25e8
New Crowdin Translations (automated) ( #32782 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-06 08:21:13 +00:00
Eugen Rochko
d6349c0e9a
Add year in review feature to web UI ( #32709 )
2024-11-05 14:40:07 +00:00
github-actions[bot]
933fa81baf
New Crowdin Translations (automated) ( #32772 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-05 08:41:09 +00:00
Claire
0a1b5df202
Fix alt-text pop-in not using the translated description ( #32766 )
2024-11-04 11:08:19 +00:00
github-actions[bot]
2271b39a5c
New Crowdin Translations (automated) ( #32733 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-04 08:56:11 +00:00
github-actions[bot]
e78db58b65
New Crowdin Translations (automated) ( #32708 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-31 10:01:05 +00:00
Renato "Lond" Cerqueira
01e25af2e3
Fix 'unknown' media attachment rendering in detailed view ( #32713 )
2024-10-31 09:37:31 +00:00
github-actions[bot]
0a599d08d8
New Crowdin Translations (automated) ( #32695 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-30 10:02:02 +00:00
Claire
742eb549ab
Fix preview cards with long titles erroneously causing layout changes ( #32678 )
2024-10-30 08:34:56 +00:00
Nathan Sparrow
de1d8dc63a
Embed modal mobile fix ( #32641 )
2024-10-29 15:12:35 +00:00
github-actions[bot]
244aaf9a38
New Crowdin Translations (automated) ( #32687 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-29 09:29:22 +00:00
Emelia Smith
dc0b1948be
Feat: Implement interaction modal for Polls ( #32609 )
2024-10-28 13:27:37 +00:00
github-actions[bot]
0426cb78f7
New Crowdin Translations (automated) ( #32589 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-28 13:23:13 +00:00
Eugen Rochko
d11231a420
Change design of rich text elements in web UI ( #32633 )
2024-10-24 07:28:22 +00:00
Matt Jankowski
c3e684b715
Remove unused svg logos ( #32581 )
2024-10-23 13:25:49 +00:00
Claire
393f0a0159
Redesign Content Warning and filters ( #32543 )
2024-10-23 09:47:23 +00:00
David Roetzel
029c99bd7b
Do not change follow counters when already following ( #32622 )
2024-10-22 12:49:10 +00:00
Emelia Smith
346cdb998c
Fix 'unknown' media attachment type rendering ( #32613 )
2024-10-22 08:31:53 +00:00