Repository navigation
20260928 - Offer the node claim as an optional wizard step - #102
Merged
Merged
Conversation
A new step after contact details asks for the address that should own the node and posts to the same /set-up/claim route as the Node claim section on the Configuration page. It is skippable, and points owners to that section if they skip or get the address wrong. The box is prefilled with the stored claim address, or failing that the contact email from the step before as a suggestion. A node that is already claimed shows its owner read-only and can only be skipped past. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
postJSON rejects on any non-2xx response and dropped the per-field errors, so the claim step's refusal branch never ran and a malformed address read as a connection failure. The rejected error now carries the errors, and the claim step shows the first one. Found testing the step live on owl-ded9. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
What
A new, skippable wizard step after Contact details. It asks owners to connect the node to their account. If they don't have an account, one is made for them. It posts to the same
/set-up/claimroute as the Node claim section on the Configuration page, so only the wording is new. If they skip or enter the wrong address, the step points them to that section.Behaviour
Files
templates/setup/_claim.html: new steptemplates/setup.html: include + footer buttonsstatic/setup.js: step name + enter hooksrc/routes/setup.py: passes the claim prefill and owned flagtests/test_claim.py: render, prefill and claimed-node testsTesting
🤖 Generated with Claude Code