mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-28 18:36:23 +02:00
feat: fixed issues of note management
Issues Fixed - Missing pagination fields in API response schemas (page, page_size, has_more) - NOTE enum missing from frontend Zod schema - Missing fields in DocumentRead response construction (content_hash, updated_at) - BlockNote slash menu clipped by overflow-hidden CSS - Sidebar click conflicts - hidden action buttons intercepting clicks - Rewrote All Notes sidebar - replaced fragile custom portal with shadcn Sheet - Missing translation keys for new UI strings - Missing NOTE retrieval logic in researcher agent - Added search to All Notes sidebar - Removed frontend logging - was causing toasters on every page refresh - Added backend logging to document reindex Celery task
This commit is contained in:
parent
3c3527d498
commit
c768730b8c
37 changed files with 758 additions and 740 deletions
|
|
@ -6,9 +6,9 @@ import {
|
|||
deleteRoleRequest,
|
||||
deleteRoleResponse,
|
||||
type GetRoleByIdRequest,
|
||||
type GetRolesRequest,
|
||||
getRoleByIdRequest,
|
||||
getRoleByIdResponse,
|
||||
type GetRolesRequest,
|
||||
getRolesRequest,
|
||||
getRolesResponse,
|
||||
type UpdateRoleRequest,
|
||||
|
|
@ -34,7 +34,7 @@ class RolesApiService {
|
|||
createRoleResponse,
|
||||
{
|
||||
body: parsedRequest.data.data,
|
||||
},
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ class RolesApiService {
|
|||
|
||||
return baseApiService.get(
|
||||
`/api/v1/searchspaces/${parsedRequest.data.search_space_id}/roles`,
|
||||
getRolesResponse,
|
||||
getRolesResponse
|
||||
);
|
||||
};
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ class RolesApiService {
|
|||
|
||||
return baseApiService.get(
|
||||
`/api/v1/searchspaces/${parsedRequest.data.search_space_id}/roles/${parsedRequest.data.role_id}`,
|
||||
getRoleByIdResponse,
|
||||
getRoleByIdResponse
|
||||
);
|
||||
};
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ class RolesApiService {
|
|||
updateRoleResponse,
|
||||
{
|
||||
body: parsedRequest.data.data,
|
||||
},
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
|
|
@ -101,7 +101,7 @@ class RolesApiService {
|
|||
|
||||
return baseApiService.delete(
|
||||
`/api/v1/searchspaces/${parsedRequest.data.search_space_id}/roles/${parsedRequest.data.role_id}`,
|
||||
deleteRoleResponse,
|
||||
deleteRoleResponse
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue