diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-10-26 11:03:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-26 11:03:44 +0000 |
| commit | 2b769cba822506c1572793385993737d4ffff478 (patch) | |
| tree | 0e2380628c3a8691779fef6ef77e4a55f211ac51 /apps/web/components/admin/BackgroundJobs.tsx | |
| parent | 17136006c77b5893ad112af6475b2355d346996e (diff) | |
| download | karakeep-2b769cba822506c1572793385993737d4ffff478.tar.zst | |
feat: Add admin maintenance job to migrate large inline HTML (#2071)
* Add admin maintenance job to migrate large inline HTML
* add cursor
* more fixes
Diffstat (limited to 'apps/web/components/admin/BackgroundJobs.tsx')
| -rw-r--r-- | apps/web/components/admin/BackgroundJobs.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/web/components/admin/BackgroundJobs.tsx b/apps/web/components/admin/BackgroundJobs.tsx index 5920b1ab..ba73db2e 100644 --- a/apps/web/components/admin/BackgroundJobs.tsx +++ b/apps/web/components/admin/BackgroundJobs.tsx @@ -424,6 +424,15 @@ function useJobActions() { }), loading: isAdminMaintenancePending, }, + { + label: t( + "admin.background_jobs.actions.migrate_large_link_html_content", + ), + onClick: () => + runAdminMaintenanceTask({ type: "migrate_large_link_html" }), + loading: isAdminMaintenancePending, + variant: "secondary" as const, + }, ], }; } |
