fix(setup): stop the wizard step promising data it does not create

The step was called "Starter Data" and offered to "seed the data a new site
needs", but seed_starter inserts eight vendor rows and nothing else: no assets,
locations, departments or statuses. An operator ran it, saw every dashboard
count stay at zero, and reasonably concluded the seed was broken.

Rename the step to Reference Data, describe what is actually seeded, and say
outright that no assets are created and that an empty dashboard is expected
here. Assets arrive later via the import API.
This commit is contained in:
2026-08-02 18:56:38 -04:00
parent 888b15a7dd
commit 0f766cf977

View File

@@ -117,8 +117,9 @@
<!-- Starter data --> <!-- Starter data -->
<div v-else-if="current.key === 'data'"> <div v-else-if="current.key === 'data'">
<h2>Starter data</h2> <h2>Reference data</h2>
<p class="hint">Seed the data a new site needs. Both are idempotent - safe to run more than once.</p> <p class="hint">Seed the lookup data a new site needs: statuses, types, permissions, and a short list of common vendors. Both are idempotent - safe to run more than once.</p>
<p class="hint">This does not create any assets. The site starts empty and assets are loaded afterwards via the import API, so an empty dashboard here is expected.</p>
<div class="starter-actions"> <div class="starter-actions">
<div> <div>
<button class="btn btn-secondary" :disabled="seeding" @click="seedReference"> <button class="btn btn-secondary" :disabled="seeding" @click="seedReference">
@@ -181,7 +182,7 @@ const steps = [
{ key: 'site', label: 'Site' }, { key: 'site', label: 'Site' },
{ key: 'plugins', label: 'Features' }, { key: 'plugins', label: 'Features' },
{ key: 'map', label: 'Floor Map' }, { key: 'map', label: 'Floor Map' },
{ key: 'data', label: 'Starter Data' }, { key: 'data', label: 'Reference Data' },
{ key: 'finish', label: 'Finish' }, { key: 'finish', label: 'Finish' },
] ]
const step = ref(0) const step = ref(0)