Skip to content

feat: Add Get started onboarding dialog - #663

Open
siduck wants to merge 8 commits into
developfrom
ui
Open

siduck wants to merge 8 commits into
developfrom
ui

Conversation

@siduck

@siduck siduck commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator
simplescreenrecorder-2026-10-17_17.46.36.mp4

@greptile-apps

greptile-apps Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 3/5

[Medium impact] The PR reaches dashboard setup, site creation, and backup workflows on a bench.

Resolve the storage picker, site-job tracking, and repository requirements before merging.

Reviews (2) · Last reviewed commit: "feat(ui): onboarding github via frappe c..." · Reviewed by Greptile

Comment on lines +259 to +264
<Select
v-model="storage.region"
label="Region"
:options="storage.regionOptions"
:disabled="storage.loadingRegions"
/>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Storage provider cannot be changed

The storage step has no provider picker. On a new bench, useObjectStorage silently chooses AWS, so DigitalOcean and Hetzner users cannot select their regions. Leaving the advertised optional endpoint blank then sends backups to AWS. Add the provider picker used in settings.

Prompt To Fix With AI
This is a comment left during a code review.
Path: admin/frontend/dashboard/src/components/navigation/SetupChecklist.vue
Line: 259-264

Comment:
**Storage provider cannot be changed**

The storage step has no provider picker. On a new bench, `useObjectStorage` silently chooses AWS, so DigitalOcean and Hetzner users cannot select their regions. Leaving the advertised optional endpoint blank then sends backups to AWS. Add the provider picker used in settings.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Comment on lines +146 to +153
const taskId = await site.create()

if (!taskId) return false

toast.success(`Creating ${name}. You can keep setting up meanwhile.`)
await loadSites()

return true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Site progress stops updating

createSite drops taskId and reloads sites only once, immediately after the job is queued. If the job has not written the site yet, “First site” stays incomplete after creation finishes; failures also never reach this dialog. Keep the task ID, watch the result, and reload sites when it finishes.

Prompt To Fix With AI
This is a comment left during a code review.
Path: admin/frontend/dashboard/src/components/navigation/SetupChecklist.vue
Line: 146-153

Comment:
**Site progress stops updating**

`createSite` drops `taskId` and reloads sites only once, immediately after the job is queued. If the job has not written the site yet, “First site” stays incomplete after creation finishes; failures also never reach this dialog. Keep the task ID, watch the result, and reload sites when it finishes.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Comment on lines +138 to +141
const submit = async () => {
const step = currentStep.value

if (step.done || (await step.save())) advance()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Checklist behavior lacks tests

The new dialog has no frontend tests for opening, minimizing, dismissing, or advancing its steps. The added tests cover stored settings, not the dialog. The repository requires tests for behavior changes, so add this coverage before merging, including failed saves and delayed site creation.

Context Used: CLAUDE.md (source)

Prompt To Fix With AI
This is a comment left during a code review.
Path: admin/frontend/dashboard/src/components/navigation/SetupChecklist.vue
Line: 138-141

Comment:
**Checklist behavior lacks tests**

The new dialog has no frontend tests for opening, minimizing, dismissing, or advancing its steps. The added tests cover stored settings, not the dialog. The repository requires tests for behavior changes, so add this coverage before merging, including failed saves and delayed site creation.

**Context Used:** CLAUDE.md ([source](https://github.com/frappe/pilot/blob/main/CLAUDE.md))

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@tanmoysrt

Copy link
Copy Markdown
Member

@siduck also please wire up the central <-> github connection, that has been merged and working. In cloud, that will be the most used option instead of pat token.

To simulate, you can ask llm to simulate the metadata service to pilot with your local central site.

@siduck

siduck commented Oct 17, 2026

Copy link
Copy Markdown
Collaborator Author

@siduck also please wire up the central <-> github connection, that has been merged and working. In cloud, that will be the most used option instead of pat token.

To simulate, you can ask llm to simulate the metadata service to pilot with your local central site.

will do

Comment on lines +308 to +310
<template v-else-if="currentStep.id === 'github' && github.viaCentral">
<p class="mb-4 text-ink-gray-7 text-p-base">
Connected through Frappe Cloud. Pilot can read these repos.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Onboarding component is too large

The added GitHub panel pushes SetupChecklist.vue to 544 lines. The repository requires splitting files that grow past roughly 500 lines. Move the GitHub or site form into a separate component before merging.

Context Used: CLAUDE.md (source)

Prompt To Fix With AI
This is a comment left during a code review.
Path: admin/frontend/dashboard/src/components/navigation/SetupChecklist.vue
Line: 308-310

Comment:
**Onboarding component is too large**

The added GitHub panel pushes `SetupChecklist.vue` to 544 lines. The repository requires splitting files that grow past roughly 500 lines. Move the GitHub or site form into a separate component before merging.

**Context Used:** CLAUDE.md ([source](https://github.com/frappe/pilot/blob/main/CLAUDE.md))

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants