feat(project): add recent viewed files section to project folder tree (#348)

* feat(project): add recent viewed files section to project folder tree

* feat(webui): disable toolbar buttons and context menu in recents page

* test(core): optimize recents cap test execution time

* feat(webui): show hint text in recents page top toolbar

* feat(webui): rename recents section to Recently Viewed

* refactor(core): consolidate recents methods into AssetService

* fix(api): forward pagination parameters in folder children endpoint (#349)

* fix(project-recents): scope views and disable recents mutations

* fix(api): allow recent views in demo mode

* fix(api): limit demo recent view exception to post
This commit is contained in:
Yiling-J
2026-08-25 18:51:24 +08:00
committed by GitHub
parent 470a4bd6f7
commit 1d9268b224
50 changed files with 3883 additions and 301 deletions
+1
View File
@@ -24,3 +24,4 @@ export * from './auditLog'
export * from './watermark'
export * from './quota'
export * from './kanban'
export * from './recents'
+10
View File
@@ -0,0 +1,10 @@
import { z } from 'zod'
import { paginationParamsSchema } from './pagination'
export const recordRecentViewRequestSchema = z.object({
assetId: z.string(),
})
export type RecordRecentViewRequest = z.infer<typeof recordRecentViewRequestSchema>
export const listRecentsRequestSchema = paginationParamsSchema
export type ListRecentsRequest = z.infer<typeof listRecentsRequestSchema>