sign-up / register endpoint: create a new Drive and a new Agent in one request
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- api, authentication, backend, frontend
Research direction
Start by tracing the existing /register, /confirm-email, and invite flows, then compare them with the proposed /signUp endpoint. Define the registration path that generates a key, creates a Drive and Agent, and rejects duplicate usernames. Done means the one-button frontend flow works, the new Drive is created without an invite, and the related tests and changelog are updated.
Written by the indexing model from the issue text.
Description
Creating a new user / Agent is currently always done using Invites. That flow doesn't make a lot of sense for most usecases: users will probably want their own workspace / Drive, and not join some existing one.
So how should that work?
- I think we need a
/signUpendpoint that takes a public key + username and creates a drive + agent. - A custom view is warranted, since the client still needs to generate the key (and that should happen at the touch of some button)
- We should check for name collissions. Every username must be unique, as we'll use that for the URL.
Front end:
- Use
/registerand/confirm-emailendpoints - User can Register using one button
- Create new drives the new way
- Remove / change old invite system. Maybe it still should work, but it needs a refactor at least. We at least want users to create a Drive from an agent without an e-mail address.
PR Checklist:
- Link to related issue closes #640 closes #641
- Add changelog entry linking to issue
- Added tests (if needed)
- (If new feature) added in description / readme
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 82
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 205
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ontola/atomic-server
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ontola/atomic-server#1569 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ontola/atomic-server#1494 ·
-
browser
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
ontola/atomic-server#1213 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
ontola/atomic-server#1588 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
ontola/atomic-server#1584 · 1 comment ·
All issues in ontola/atomic-server
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·