[Glitch] Change order of items in navigation panel in web UI

Port 7c4393e719 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko authored and Claire committed 2025-06-16 22:04:18 +02:00
1 parent 3731738aa0
commit 56e092927d
25 files changed
+617 -451

No files matched your search

@@ -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
@@ -20,10 +20,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 {