feat: 4107 onboarding use case selection - #4539
Draft
BloggerBust wants to merge 3 commits into
Draft
Conversation
The Overview onboarding now opens with a use-case and language picker, derives the quickstart scaffold and trigger commands from that selection, and completes on a run created after the selection was confirmed. Workers and runs from an earlier selection never satisfy the current one; the confirmation timestamp that scopes both persists for each tenant in localStorage, while completion itself is always re-derived from the runs API. Skip and Finish both hide onboarding behind a confirmation dialog, and the tenant General settings page offers Restart onboarding while it is hidden. useLocalStorageState now reloads when its key changes, so a tenant switch cannot carry another tenant's stored state across. jsdom was added as a dev dependency to test that hook under node:test.
The onboarding picker now lists all three languages for scheduled. The quickstarts dependency is temporarily pinned to the head commit of the hatchet-quickstarts PR that adds these templates. Replace it with the v0.3.0 tag once that PR merges and is tagged, then this PR can be taken out of draft.
|
@BloggerBust is attempting to deploy a commit to the Hatchet Team on Vercel. A member of the Team first needs to authorize it. |
BloggerBust
marked this pull request as draft
July 27, 2026 13:02
mnafees
reviewed
Jul 27, 2026
mnafees
left a comment
Member
There was a problem hiding this comment.
since there are changes to the UI here, I'd like to request some screenshots please
Member
There was a problem hiding this comment.
What's the use case of having this test? To me it seems like every time we make changes to the quickstart repo / examples we will need to keep updating this which seems like some wasted work?
Member
There was a problem hiding this comment.
same question on this test file as well
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Draft until hatchet-dev/hatchet-quickstarts#16 merges. The quickstarts dependency is temporarily pinned to that PR's head commit and must be replaced with the v0.3.0 tag before this is marked ready.
The Overview onboarding now opens with a use-case and language picker. Workers and runs from an earlier selection never satisfy the current one; the confirmation is scoped for each tenant in localStorage, while completion itself is always re-derived from the runs API. Skip and Finish display a modal that explains how to restart onboarding. The Scheduled use-case offers the same language options as Simple.
Refs #4107. This completes the final Phase 4 task.
Type of change
What's Changed
Checklist
Changes have been:
Testing
Frontend: lint, prettier, typecheck, and unit tests pass under Node 24. Go: templater and CLI unit tests pass and the extended e2e suite compiles. Live validation against a local backend covered scheduled Python, TypeScript, and Go generated by
a CLI. The onboarding itself was manually validated in the browser.
🤖 AI Disclosure
I acknowledge that an LLM was used in the creation of this Pull Request, in accordance with Hatchet's AI_POLICY.md.
Details: Claude Code (Opus 4.8) implemented tests, ran validation and fixed issues as they came up.