diff --git a/web/src/components/DocUploadZone.vue b/web/src/components/DocUploadZone.vue index 2ae2b49..6b41c95 100644 --- a/web/src/components/DocUploadZone.vue +++ b/web/src/components/DocUploadZone.vue @@ -1,7 +1,79 @@ - + + Upload documents + + Accepted: .md, .txt, .yaml, .yml, .json, .conf — max 5 MB + + + + + Choose files + + + + + + + {{ fs.name }} + Uploading… + Uploaded + {{ fs.error }} + + + diff --git a/web/src/components/WizardOverlay.vue b/web/src/components/WizardOverlay.vue index 8ca915d..5952ea2 100644 --- a/web/src/components/WizardOverlay.vue +++ b/web/src/components/WizardOverlay.vue @@ -1,7 +1,218 @@ - + + + + + Step {{ currentStep?.step ?? 1 }} of {{ totalSteps }}: {{ currentStep?.title ?? '…' }} + + {{ currentStep.help }} + + + + + + {{ currentStep.title }} + + Choose one… + {{ opt }} + + + + + + {{ currentStep.title }} + + + + + + + Back + + {{ isLastStep ? 'Review' : 'Next' }} + + Skip this step (add later) + + + + + + Skip wizard — edit sources directly in config + + + + + + + + Review and apply + + + Facts that will be saved + + {{ key }} + {{ val || '(skipped)' }} + + + + + {{ applying ? 'Saving…' : `Save ${factCount} facts and apply source config` }} + + + Go back and edit + + + {{ applyError }} + +
Upload documents
+ Accepted: .md, .txt, .yaml, .yml, .json, .conf — max 5 MB +
{{ currentStep.help }}
+ + Skip wizard — edit sources directly in config + +
Facts that will be saved