Change order of items in navigation panel in web UI (#35029)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2025-06-16 15:06:33 +00:00
1 parent 013c527406
commit 7c4393e719
29 files changed
+625 -452

No files matched your search

+2
View File
@@ -13,6 +13,8 @@ export const apiCreate = (list: Partial<ApiListJSON>) =>
export const apiUpdate = (list: Partial<ApiListJSON>) =>
apiRequestPut<ApiListJSON>(`v1/lists/${list.id}`, list);
export const apiGetLists = () => apiRequestGet<ApiListJSON[]>('v1/lists');
export const apiGetAccounts = (listId: string) =>
apiRequestGet<ApiAccountJSON[]>(`v1/lists/${listId}/accounts`, {
limit: 0,
+2 -1
View File
@@ -16,10 +16,11 @@ export const apiFeatureTag = (tagId: string) =>
export const apiUnfeatureTag = (tagId: string) =>
apiRequestPost<ApiHashtagJSON>(`v1/tags/${tagId}/unfeature`);
export const apiGetFollowedTags = async (url?: string) => {
export const apiGetFollowedTags = async (url?: string, limit?: number) => {
const response = await api().request<ApiHashtagJSON[]>({
method: 'GET',
url: url ?? '/api/v1/followed_tags',
params: { limit },
});
return {