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.
First iteration on a space creation wizard for the console:
This works, but I'm not totally happy with it - imho we could merge as-is but would love to iterate a bit more either before or after we do that.
Outstanding issues:
a) Locally save the space (
await ownedSpace.save()
) generate and locally save the recovery UCAN (something likeagent.addProof(await ownedSpace.createRecovery(account.did()))
) during space creationb) When a user tries to upload, force them to go through the billing flow - plan selection if necessary, and then provisioning the space. Once that's done, offer to save the recovery delegation to the service.
I'm inclined to fix all of these before merging, but that will probably end up being after the holiday break! Happy to find some shorter-term fixes for any issues and get this out if anyone would like it to ship urgently.