feat(workspace): stack hashtag back button above heading and add dedicated hashtag markdown note (#tag.md)
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 59s
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 59s
This commit is contained in:
1 parent
f1d9daca60
commit
b0403e09bc
6 files changed
+379
-166
No files matched your search
@@ -442,6 +442,20 @@ export const api = {
|
||||
};
|
||||
},
|
||||
|
||||
async updateTagPageNote(
|
||||
tag: string,
|
||||
content: string
|
||||
): Promise<{ tag: string; content: string; updatedAt: string }> {
|
||||
const clean = encodeURIComponent(tag.replace(/^#/, ''));
|
||||
return request<{ tag: string; content: string; updatedAt: string }>(
|
||||
`/api/v1/workspace/tags/${clean}/note`,
|
||||
{
|
||||
method: 'PUT',
|
||||
body: JSON.stringify({ content }),
|
||||
}
|
||||
);
|
||||
},
|
||||
|
||||
// --- WORKSPACE DOCUMENTS ---
|
||||
async getDocuments(): Promise<Document[]> {
|
||||
const res = await request<Document[]>('/api/v1/documents');
|
||||
|
||||
Reference in new issue
Block a user