Add external link field for archives (Issue #151)

Allow users to manually set external URLs for archives from Printables,
Thingiverse, or other sources. The Globe button now opens the external
link when set, falling back to auto-detected MakerWorld URL.

- Add external_url field to PrintArchive model with migration
- Add input field to archive edit modal
- Update Globe button: external_url > makerworld_url > disabled
- Include external_url in backup/restore
- Add API test for external_url update
- Update docs (changelog, wiki, website)

Closes #151
This commit is contained in:
maziggy
2026-01-25 06:47:55 +01:00
parent 2669eabe2b
commit 6bc1ce8693
12 changed files with 164 additions and 86 deletions
+2
View File
@@ -259,6 +259,7 @@ export interface Archive {
extra_data: Record<string, unknown> | null;
makerworld_url: string | null;
designer: string | null;
external_url: string | null;
is_favorite: boolean;
tags: string | null;
notes: string | null;
@@ -1693,6 +1694,7 @@ export const api = {
failure_reason?: string | null;
status?: string;
quantity?: number;
external_url?: string | null;
}) =>
request<Archive>(`/archives/${id}`, {
method: 'PATCH',