Commit graph

2977 commits

Author SHA1 Message Date
Lim Chee Aun
d7732cbf47 Disable sticky date headers in Notifications when in multi-column mode 2024-11-01 17:31:53 +08:00
Lim Chee Aun
7d922550d0 Make search page keyboard-navigable
Still experimental
2024-11-01 17:31:06 +08:00
Lim Chee Aun
f0773dc6f3 Fix keyboard shortcuts leaked to multi-column mode 2024-11-01 17:30:33 +08:00
Chee Aun
f236ec5ab9
i18n updates (uk-UA) (#905)
* New translations (Ukrainian)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-31 20:01:44 +00:00
Chee Aun
08226d8638
i18n updates (uk-UA) (#904)
* New translations (Ukrainian)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-31 18:53:08 +00:00
Lim Chee Aun
41c1ceeeff Fix wrong sort
Why is this so complicated
2024-10-31 22:31:15 +08:00
Lim Chee Aun
163c98df01 Add one more bug fix 2024-10-31 19:39:49 +08:00
Lim Chee Aun
2f53fd332f Improve comments rendering
- Don't render summary/details if not needed
- Delay-render collapsed summary/details
2024-10-31 18:48:13 +08:00
Lim Chee Aun
cbfd4ef333 Rewrite line indent style logic
I know, it's still messy
2024-10-31 18:47:07 +08:00
Lim Chee Aun
c1f1fb965c Smoother curves 2024-10-29 13:30:33 +08:00
Lim Chee Aun
4805262c4b Quick fix comment lines
Might still be buggy
2024-10-29 08:32:21 +08:00
Chee Aun
4e63decfc7
i18n updates (ca-ES,pl-PL) (#903)
* New translations (Polish)

* Update catalogs.json

* New translations (Catalan)

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-28 21:50:34 +00:00
Lim Chee Aun
8c2065c1e8 Whole bunch of line changes 2024-10-28 18:50:30 +08:00
Lim Chee Aun
c3e5ccd08b Small adjustments to vertical alignment 2024-10-28 18:50:30 +08:00
Lim Chee Aun
f10d5457ae Show relative time on large post too 2024-10-28 18:50:30 +08:00
Lim Chee Aun
058cf05805 Experimental comment threads making use of more space 2024-10-28 18:50:30 +08:00
Lim Chee Aun
b8f8271645 Pre-calc levels instead of increment on-demand 2024-10-28 18:50:30 +08:00
Lim Chee Aun
dd3b064aec Sort the ancestors and descendants 2024-10-28 18:50:30 +08:00
Lim Chee Aun
8f3077b06b Need .status-menu-open too 2024-10-28 18:50:30 +08:00
Lim Chee Aun
d246e45be6 Fix carousel bug: focus first then scroll 2024-10-28 18:50:30 +08:00
Lim Chee Aun
5be052dd4d Need focus-within too 2024-10-28 18:50:30 +08:00
Lim Chee Aun
e19dcf7558 Skip check aspect ratio if > 1 media 2024-10-28 18:50:30 +08:00
Lim Chee Aun
25b98d477f Fix nested threads bug 2024-10-28 18:50:30 +08:00
Chee Aun
fc9f46db52
i18n updates (lt-LT,pl-PL) (#902)
* New translations (Lithuanian)

* New translations (Polish)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-26 15:15:27 +00:00
Chee Aun
6500588b58
i18n updates (ca-ES,eu-ES,lt-LT) (#900)
* New translations (Catalan)

* New translations (Basque)

* New translations (Lithuanian)
2024-10-24 08:34:39 +00:00
Chee Aun
36ce4c568a
i18n updates (zh-TW) (#897)
* New translations (Chinese Traditional)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-22 16:00:54 +00:00
Chee Aun
4e8b405d0f
i18n updates (eo-UY,es-ES,fi-FI,gl-ES,pt-BR,pt-PT,zh-CN,zh-TW) (#896)
* New translations (Finnish)

* New translations (Galician)

* Update catalogs.json

* New translations (Chinese Simplified)

* New translations (Portuguese)

* New translations (Portuguese, Brazilian)

* New translations (Spanish)

* New translations (Esperanto)

* New translations (Esperanto)

* New translations (Chinese Traditional)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-22 14:42:02 +00:00
Chee Aun
8eabdd524d
i18n updates (ar-SA,ca-ES,cs-CZ,de-DE,eo-UY,es-ES,eu-ES,fa-IR,fi-FI,fr-FR,gl-ES,he-IL,it-IT,ja-JP,kab,ko-KR,lt-LT,nb-NO,nl-NL,oc-FR,pl-PL,pt-BR,pt-PT,ru-RU,th-TH,uk-UA,zh-CN,zh-TW) (#895)
* New translations (Spanish)

* New translations (Basque)

* New translations (Esperanto)

* New translations (Lithuanian)

* New translations (Polish)

* New translations (Italian)

* New translations (Persian)

* New translations (Catalan)

* New translations (Norwegian Bokmal)

* New translations (French)

* New translations (Arabic)

* New translations (Czech)

* New translations (German)

* New translations (Finnish)

* New translations (Hebrew)

* New translations (Japanese)

* New translations (Korean)

* New translations (Dutch)

* New translations (Portuguese)

* New translations (Russian)

* New translations (Ukrainian)

* New translations (Chinese Simplified)

* New translations (Chinese Traditional)

* New translations (Galician)

* New translations (Portuguese, Brazilian)

* New translations (Thai)

* New translations (Occitan)

* New translations (Kabyle)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-22 02:21:48 +00:00
Lim Chee Aun
b13ac8a608 Fix clash of t's
And… due to the clash, the strings were not added for i18n
2024-10-22 10:19:16 +08:00
Lim Chee Aun
71e721eda0 Use main-width 2024-10-21 18:42:34 +08:00
Lim Chee Aun
d097697aef Fix stupid mistake: title not showing acct 2024-10-21 17:30:36 +08:00
Chee Aun
16479767d9
i18n updates (eu-ES,zh-CN) (#890)
* New translations (Basque)

* New translations (Chinese Simplified)
2024-10-18 15:23:02 +00:00
Lim Chee Aun
e1784b9c00 Try inert on spoiler content 2024-10-18 18:35:09 +08:00
Lim Chee Aun
8d98ccff83 Fix cloak mode issues on Safari 2024-10-18 18:35:09 +08:00
Lim Chee Aun
350aafaadd A little fix + refactoring with translation stuff 2024-10-18 18:35:09 +08:00
Lim Chee Aun
a3474094bd Align the icon to top for author byline 2024-10-18 18:35:09 +08:00
Lim Chee Aun
b083468df4 Fix menu header wrong margin 2024-10-18 18:35:09 +08:00
Chee Aun
7c42eda98a
i18n updates (nb-NO) (#889)
* New translations (Norwegian Bokmal)

* Update catalogs.json

* New translations (Norwegian Bokmal)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-17 12:57:22 +00:00
Chee Aun
81c8b11c12
i18n updates (eu-ES,fi-FI,nb-NO,ru-RU) (#887)
* New translations (Russian)

* New translations (Finnish)

* New translations (Basque)

* New translations (Basque)

* New translations (Norwegian Bokmal)

* Update catalogs.json

* New translations (Norwegian Bokmal)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-17 08:44:56 +00:00
Chee Aun
0862d2de45
i18n updates (ca-ES,es-ES,fa-IR,fi-FI,ru-RU,zh-CN) (#881)
* New translations (Spanish)

* New translations (Finnish)

* New translations (Russian)

* Update catalogs.json

* New translations (Catalan)

* New translations (Spanish)

* New translations (Chinese Simplified)

* New translations (Chinese Simplified)

* New translations (Persian)

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-16 12:36:12 +00:00
Chee Aun
af6cf2715c
i18n updates (ca-ES,eo-UY,es-ES,eu-ES,fa-IR,it-IT,lt-LT,pl-PL) (#880)
* New translations (Catalan)

* New translations (Spanish)

* New translations (Basque)

* New translations (Esperanto)

* New translations (Lithuanian)

* New translations (Polish)

* New translations (Italian)

* New translations (Persian)

* New translations (Catalan)

* New translations (Norwegian Bokmal)

* New translations (French)

* New translations (Arabic)

* New translations (Czech)

* New translations (German)

* New translations (Finnish)

* New translations (Hebrew)

* New translations (Japanese)

* New translations (Korean)

* New translations (Dutch)

* New translations (Portuguese)

* New translations (Russian)

* New translations (Ukrainian)

* New translations (Chinese Simplified)

* New translations (Chinese Traditional)

* New translations (Galician)

* New translations (Portuguese, Brazilian)

* New translations (Thai)

* New translations (Occitan)

* New translations (Kabyle)
2024-10-14 15:38:51 +00:00
Lim Chee Aun
bcd7507603 3 contexts of "Following" 2024-10-14 22:56:05 +08:00
Chee Aun
9d5494e1c7
i18n updates (ar-SA,ca-ES,cs-CZ,de-DE,eo-UY,es-ES,eu-ES,fa-IR,fi-FI,fr-FR,gl-ES,he-IL,it-IT,ja-JP,kab,ko-KR,lt-LT,nb-NO,nl-NL,oc-FR,pl-PL,pt-BR,pt-PT,ru-RU,th-TH,uk-UA,zh-CN,zh-TW) (#879)
* New translations (Spanish)

* New translations (Basque)

* New translations (Esperanto)

* New translations (Lithuanian)

* New translations (Polish)

* New translations (Italian)

* New translations (Persian)

* New translations (Catalan)

* New translations (Norwegian Bokmal)

* New translations (French)

* New translations (Arabic)

* New translations (Czech)

* New translations (German)

* New translations (Finnish)

* New translations (Hebrew)

* New translations (Japanese)

* New translations (Korean)

* New translations (Dutch)

* New translations (Portuguese)

* New translations (Russian)

* New translations (Ukrainian)

* New translations (Chinese Simplified)

* New translations (Chinese Traditional)

* New translations (Galician)

* New translations (Portuguese, Brazilian)

* New translations (Thai)

* New translations (Occitan)

* New translations (Kabyle)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-14 13:08:22 +00:00
Lim Chee Aun
30486ed389 Explicit ID to force separate keys
`context` will make Lingui aware of different contexts and generate different IDs
but it's not shown on Crowdin's side. Crowdin seems only care about msgid and
ignores msgctxt, so it won't generate another unique ID for different contexts
2024-10-14 19:56:50 +08:00
Chee Aun
c6fee139b5
i18n updates (ca-ES,eo-UY,es-ES,eu-ES,fa-IR,it-IT,lt-LT,nb-NO,pl-PL) (#878)
* New translations (Lithuanian)

* New translations (Spanish)

* New translations (Basque)

* New translations (Esperanto)

* New translations (Lithuanian)

* New translations (Polish)

* New translations (Italian)

* New translations (Persian)

* New translations (Catalan)

* New translations (Norwegian Bokmal)

* New translations (French)

* New translations (Arabic)

* New translations (Czech)

* New translations (German)

* New translations (Finnish)

* New translations (Hebrew)

* New translations (Japanese)

* New translations (Korean)

* New translations (Dutch)

* New translations (Portuguese)

* New translations (Russian)

* New translations (Ukrainian)

* New translations (Chinese Simplified)

* New translations (Chinese Traditional)

* New translations (Galician)

* New translations (Portuguese, Brazilian)

* New translations (Thai)

* New translations (Occitan)

* New translations (Kabyle)
2024-10-14 11:48:49 +00:00
Lim Chee Aun
e092e469d1 Prettier-ify 2024-10-14 19:38:09 +08:00
Lim Chee Aun
5e4300f71d Try fix same words with different contexts 2024-10-14 19:20:46 +08:00
Chee Aun
8b3ea707f6
i18n updates (ar-SA,ca-ES,cs-CZ,de-DE,eo-UY,es-ES,eu-ES,fa-IR,fi-FI,fr-FR,gl-ES,he-IL,it-IT,ja-JP,kab,ko-KR,lt-LT,nb-NO,nl-NL,oc-FR,pl-PL,pt-BR,pt-PT,ru-RU,th-TH,uk-UA,zh-CN,zh-TW) (#877)
* New translations (Spanish)

* New translations (Basque)

* New translations (Esperanto)

* New translations (Lithuanian)

* New translations (Polish)

* New translations (Italian)

* New translations (Persian)

* New translations (Catalan)

* New translations (Norwegian Bokmal)

* New translations (French)

* New translations (Arabic)

* New translations (Czech)

* New translations (German)

* New translations (Finnish)

* New translations (Hebrew)

* New translations (Japanese)

* New translations (Korean)

* New translations (Dutch)

* New translations (Portuguese)

* New translations (Russian)

* New translations (Ukrainian)

* New translations (Chinese Simplified)

* New translations (Chinese Traditional)

* New translations (Galician)

* New translations (Portuguese, Brazilian)

* New translations (Thai)

* New translations (Occitan)

* New translations (Kabyle)
2024-10-14 09:36:50 +00:00
Lim Chee Aun
71a694b74e Missed this "Post" 2024-10-14 16:22:22 +08:00
Chee Aun
29822cbf2d
Merge pull request #735 from Steffo99/feature/paste-attach
Allow pasting attachments on Akkoma / Pleroma instances
2024-10-14 15:45:41 +08:00
Chee Aun
4aecb301f4
i18n updates (nb-NO) (#876)
* New translations (Norwegian Bokmal)

* Update catalogs.json

* New translations (Norwegian Bokmal)

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-14 07:30:51 +00:00
Chee Aun
d185eff95c
i18n updates (nb-NO) (#875)
* New translations (Norwegian Bokmal)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-13 20:11:53 +00:00
Chee Aun
e7c9628d92
i18n updates (es-ES,fa-IR) (#869)
* New translations (Persian)

* New translations (Spanish)
2024-10-13 17:25:59 +00:00
Lim Chee Aun
f85cf22558 Cache another regex 2024-10-13 11:32:52 +08:00
Lim Chee Aun
66e8bfe18c Move emojis check condition to top 2024-10-13 11:30:05 +08:00
Lim Chee Aun
82163c0b88 Fix text nodes extraction fails on template element 2024-10-13 11:30:05 +08:00
Stefano Pigozzi
54fcaf80b0
Use a global regex for replaceAll 2024-10-12 22:39:40 +02:00
Chee Aun
56faec702c
i18n updates (ca-ES) (#868) 2024-10-11 08:57:47 +00:00
Scott Feeney
59d5c73359 Run prettier 2024-10-10 17:38:06 -07:00
Scott Feeney
22f0703162 Store nodeInfo separately + other feedback 2024-10-10 17:31:16 -07:00
Stefano Pigozzi
f49074abfd
Merge .po file 2024-10-11 02:03:53 +02:00
Stefano Pigozzi
6bd3ad0143
Merge remote-tracking branch 'cheeaun/main' into feature/paste-attach
# Conflicts:
#	src/locales/en.po
2024-10-11 02:03:27 +02:00
Scott Feeney
ad0ab0c845 Shrink the size of the feature detection change 2024-10-10 16:59:37 -07:00
Scott Feeney
839023cefc Use NodeInfo to detect features if available
For Mastodon <=4.3 (all current stable releases of Mastodon), the
NodeInfo request will always fail due to mastodon/mastodon#23135 and
fall back to the existing behavior. For other server software, this will
allow for more accurate checking of feature availability.

Fixes #808: adds support for exclusive lists with GoToSocial 0.17+.
2024-10-10 16:59:37 -07:00
Chee Aun
4a09740ae9
i18n updates (fa-IR,it-IT) (#862)
* New translations (Italian)

* New translations (Persian)
2024-10-10 20:18:12 +00:00
Lim Chee Aun
48537742a2 Time to try fetchPriority=low 2024-10-11 02:11:08 +08:00
Lim Chee Aun
edd34a5cfe Line changes 2024-10-10 15:14:21 +08:00
Lim Chee Aun
d5e985d6d4 Preliminary filter work on notifications 2024-10-10 15:14:08 +08:00
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
Chee Aun
e2e9e3cdb0
Merge pull request #856 from Steffo99/feature/login-default-instance
Use the same logic as the main login button for the login tooltip in posts
2024-10-10 08:38:18 +08:00
Stefano Pigozzi
8ae6846827
Merge branch 'main' into feature/hashtag-fix 2024-10-10 00:58:12 +02:00
Lim Chee Aun
e2086a1156 Stupid g is cached between calls
https://stackoverflow.com/q/1520800/20838
2024-10-10 00:57:27 +08:00
Lim Chee Aun
46f5d7917c Fix dup keys 2024-10-10 00:56:00 +08:00
Lim Chee Aun
9d06c88289 Fix text size change affect settings popover width 2024-10-09 17:14:45 +08:00
Chee Aun
731ff8a0c5
i18n updates (eo-UY,es-ES,eu-ES) (#859)
* New translations (Spanish)

* New translations (Esperanto)

* New translations (Spanish)

* New translations (Basque)
2024-10-06 15:21:19 +00:00
Chee Aun
3ff2253116
i18n updates (it-IT,pl-PL) (#854)
* New translations (Polish)

* New translations (Italian)
2024-10-04 13:48:48 +00:00
Stefano Pigozzi
59e3e4a37f
Prettify 2024-10-04 14:51:51 +02:00
Stefano Pigozzi
02dfa81407
Use the same logic as the main login button for the login tooltip in posts 2024-10-04 14:03:25 +02:00
Stefano Pigozzi
e94b8edacc
Do not save state between regex executions
Fixes #843.

See https://stackoverflow.com/questions/2630418/javascript-regex-returning-true-then-false-then-true-etc for more information!
2024-10-04 13:19:09 +02:00
Chee Aun
cbcf5c9b43
i18n updates (es-ES,pl-PL) (#851)
* New translations (Spanish)

* New translations (Polish)
2024-10-03 16:52:22 +00:00
Chee Aun
31e784821b
i18n updates (lt-LT) (#848)
* New translations (Lithuanian)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-01 12:50:15 +00:00
Chee Aun
6675d00218
i18n updates (eo-UY,es-ES,lt-LT) (#845)
* New translations (Spanish)

* New translations (Spanish)

* New translations (Esperanto)

* New translations (Lithuanian)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-01 10:34:36 +00:00
Lim Chee Aun
334362487a Fix accounts loading error for non-server-side notifs grouping 2024-10-01 16:54:42 +08:00
Chee Aun
da532032a8
i18n updates (es-ES) (#844) 2024-09-29 13:31:55 +00:00
Chee Aun
492528ea6f
i18n updates (lt-LT,nb-NO) (#840)
* New translations (Norwegian Bokmal)

* Update catalogs.json

* New translations (Lithuanian)

* New translations (Norwegian Bokmal)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-27 15:16:07 +00:00
Chee Aun
f521249dea
i18n updates (eo-UY,lt-LT) (#838)
* New translations (Lithuanian)

* Update catalogs.json

* New translations (Esperanto)

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 19:21:11 +00:00
Chee Aun
bb4bd3cc45
i18n updates (lt-LT) (#837)
* New translations (Lithuanian)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 16:48:45 +00:00
Chee Aun
166aab3f3a
i18n updates (lt-LT) (#836)
* New translations (Lithuanian)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 15:01:26 +00:00
Chee Aun
0a2414043c
i18n updates (nb-NO) (#835)
* New translations (Norwegian Bokmal)

* Update catalogs.json

* New translations (Norwegian Bokmal)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 11:46:50 +00:00
Chee Aun
74e22ed8dd
i18n updates (nb-NO) (#834)
* New translations (Norwegian Bokmal)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 09:22:42 +00:00
Lim Chee Aun
a19beffd20 Move diff language check to separate Task 2024-09-26 11:21:57 +08:00
Chee Aun
b76d2308eb
i18n updates (eu-ES) (#833) 2024-09-25 19:00:31 +00:00
Chee Aun
3da21c713e
i18n updates (lt-LT) (#832) 2024-09-25 16:52:28 +00:00
Chee Aun
17fcf7f86e
i18n updates (nb-NO) (#831)
* New translations (Norwegian Bokmal)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-25 10:38:00 +00: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
4d35c9d2c3 Try fix that hard-to-reproduce avatar flicker 2024-09-25 17:18:30 +08:00
Lim Chee Aun
1485f9e5d9 Better feature detection for Scroll-driven animations
Ref: https://www.bram.us/2024/09/24/feature-detecting-scroll-driven-animations-you-want-to-check-for-animation-range-too/
2024-09-25 17:18:30 +08:00
Chee Aun
f1f1fa6402
i18n updates (fa-IR) (#830)
* New translations (Persian)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-25 08:07:25 +00:00
Chee Aun
84cbd995e2
i18n updates (es-ES,nb-NO) (#829)
* New translations (Spanish)

* New translations (Spanish)

* New translations (Norwegian Bokmal)

* Update catalogs.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-25 06:32:58 +00:00