Commit graph

5728 commits

Author SHA1 Message Date
c889e88e45
Merge remote-tracking branch 'upstream/develop' into bnakkoma 2024-06-14 13:44:36 +09:00
Floatingghost
f3934afbd8 make sure we normalise interfaceLanguage 2024-05-28 04:17:04 +01:00
Floatingghost
0b437ab6fd remove line left over in conflict 2024-05-28 04:15:35 +01:00
floatingghost
8964dce609 Merge pull request 'Make animated emojis in reactions pause' (#378) from sarayalth/akkoma-fe:pause-animated-reaction into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/378
2024-05-28 02:25:02 +00:00
Floatingghost
1adef56603 Merge remote-tracking branch 'partizan/386-default-post-lang' into develop 2024-05-28 03:22:03 +01:00
floatingghost
70275684bf Merge pull request 'Fix posting for "special" interface languages' (#377) from Oneric/akkoma-fe:post-language-specialcodes into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/377
2024-05-28 02:10:15 +00:00
Oneric
62e0dd858c Fix ordering of favourites timeline
The backend returns them order by when the post was favourited;
reordering them by post date jumbles everything up each addition
and serves no purpose.

Fixes: https://akkoma.dev/AkkomaGang/akkoma-fe/issues/391
2024-05-15 18:47:47 +02:00
sarah
cc709394c5 remove unused classes on notifications 2024-05-14 18:09:21 +02:00
Serhii Tereshchenko
57beea6a0d fix: Use label and key for options 2024-05-13 16:13:58 +03:00
105da507d7
Add search retry functionality
This commit implements query invalidation logic that runs when the
requested query is same as the last one. This allows for seamless
retries of previous searches without reloading or moving around routes,
improving user experience and reducing bandwidth usage.

Note that this commit does not change the behavior of the search bar
located in the app header.
2024-05-09 14:15:45 +09:00
76b44d3a39
Fixed "Load more" functionality on search page
The previous implementation caused the "Load more" button not to load
additional search results when changes were made to the input field
2024-04-21 05:49:22 +09:00
b2d30e5c34
Fixed search type prioritization issue
Fixed the condition to prevent confusion between automatically selected
tabs and those chosen by the user.
2024-04-21 04:59:16 +09:00
Serhii Tereshchenko
042e8c78dc feat: Add "Default post language" option
Refs #386
2024-04-20 16:07:03 +03:00
60d0c91eb9
Merge remote-tracking branch 'upstream/develop' into bnakkoma 2024-03-04 07:13:14 +09:00
2a0a66eb45
Update ja_pedantic translations 2024-03-04 07:11:00 +09:00
sarah
1f5f8665c8 make animated reactions pause unless hovered on notifications 2024-03-01 20:02:19 +01:00
Oneric
428ed70b0d Fix posting for special interface languages
Easy Japanses (ja_easy) and traditional Chinses (zh_Hant) use
(custom) non-ISO codes in the interface. Because MastoAPI only accepts
ISO 639 codes, the backend will return an error rendering users
unable to do anything unless the post’s language was explicitly set.
2024-02-26 08:05:55 +01:00
floatingghost
ed0b403c33 Merge pull request 'Auto-approve followbacks (frontend part)' (#365) from Oneric/akkoma-fe:followbacks-fe into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/365
2024-02-20 16:24:37 +00:00
floatingghost
0f842b300b Merge pull request 'Display profile background of other users' (#371) from Oneric/akkoma-fe:profile-backgrounds into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/371
2024-02-20 16:20:14 +00:00
Oneric
050c7df2e6 Display profile background of other users
And add a new frontend setting to hide other people's background.
2024-02-14 18:44:57 +01:00
Oneric
a77a9e04d9 Expose new server-side permit_followback setting
Added to backend in https://akkoma.dev/AkkomaGang/akkoma/pulls/674
2024-02-04 22:19:14 +01:00
d51c12f717
Merge remote-tracking branch 'upstream/develop' into bnakkoma 2024-01-29 01:24:31 +09:00
leap123
a57334991e Add Indonesian translation
The Indonesian translation is technically almost complete, just not added to messages.js
2024-01-19 04:27:26 +00:00
Hazel Koehler
ea9ad4d600 fix "always show content warning" setting 2023-12-20 12:39:31 -05:00
Hazel Koehler
34e2800f59 add button to toggle the spoiler / CW field 2023-12-16 14:44:26 -05:00
Hazel Koehler
3d65eccf04 use main emoji button for spoiler / CW field 2023-12-16 13:37:59 -05:00
floatingghost
aee97fa948 Merge pull request 'Re-added extension checking for still-image' (#346) from Mergan/pleroma-fe:still-image-ultimate into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/346
2023-12-15 12:24:07 +00:00
floatingghost
7da1687f31 Merge pull request 'Use relative font size and set appropriate overflow behavior' (#355) from xarvos/pleroma-fe:update-css into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/355
2023-12-15 12:12:28 +00:00
floatingghost
a8f193d4bd Merge pull request 'Stop constant movement of notifications due to changing timestamps' (#353) from Oneric/akkoma-fe:notification-writhing into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/353
2023-12-15 11:57:47 +00:00
floatingghost
81c82e11bc Merge pull request 'Explicitly set SameSite attribute for cookies' (#352) from Oneric/akkoma-fe:cookie-samesite into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/352
2023-12-15 11:54:15 +00:00
floatingghost
00cadce5b4 Merge pull request 'Format dates, times with window.navigator.language instead of UI i18n locale' (#354) from smitten/akkoma-fe:date-locale-fix-cherrypick into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/354
2023-12-15 11:52:59 +00:00
Oneric
c524a47e6f Drop broken "@ symbol as icon" setting
It was merged into pleroma-fe on 2022-02-03 in
76547fe66d and imported
into akkoma-fe on 2022-06-08 with the merge commit
f6cf509a04.

However, something went wrong in the merge and while the setting
and its infrastructure exist, it is never used anywhere and @ is
always displayed as text.

Given it existed in this broken state for nearly one and a half years,
never worked on akkoma-fe and no bugs were filed about this, it appears
nobody cares, so let’s just remove it.
2023-11-15 23:36:19 +01:00
d5c74cccbd Disable search hotkey when modal is open 2023-11-16 06:25:14 +09:00
92aa58356b Fix race condition in search 2023-11-16 06:25:00 +09:00
c578846b98 Support for searching local posts/users only 2023-11-15 08:43:53 +09:00
8398670530 Allow the search bar to be focused with '/' and closed with 'esc' 2023-11-10 06:35:49 +09:00
315d306eb4 Show loading circle on following searches too 2023-11-10 06:35:27 +09:00
e8b653737c Improved search experience
fixed invalid variable calls
changed to manage loading state tab by tab
made automatic tab selection less aggressive
made the api call fail-safe
fixed the format of the search result count
2023-11-09 07:12:43 +09:00
bdc1e9d9c6 If refactoring is so good, why isn't there refactoring 2? 2023-11-06 08:27:14 +09:00
3afad74579 Refactor search component 2023-11-06 07:44:00 +09:00
71b0ee672e Remove the loading state as soon as possible
i meant false, not true
2023-11-06 07:33:18 +09:00
5d924d0a16 Add users from search results to the global store
fixes user cards
2023-11-06 05:37:08 +09:00
3551289a86 Restyle hashtag search results with touch devices in mind 2023-11-06 05:34:00 +09:00
ca5f98aeee Search the focused search type first 2023-11-06 03:55:44 +09:00
Ngô Ngọc Đức Huy
235c734d37
Use overflow: auto for description
Previously it sets overflow: scroll, so there's an unnecessary
horizontal scroll.
overflow: auto only shows scrollbar when it overflows
2023-11-05 09:32:19 +07:00
Ngô Ngọc Đức Huy
deaef1d0b9
Use relative unit for font size 2023-11-05 09:21:01 +07:00
b808c84b55 Fix spell errors 2023-11-04 05:21:43 +09:00
42934f4299 Show search results asynchronously 2023-11-03 06:34:11 +09:00
8b63ade65b Update ja_pedantic translations 2023-11-03 06:16:51 +09:00
b35b8aeb01 Render search results using the Conversation component 2023-11-03 05:47:27 +09:00