radicle-interface
radicle-interface copied to clipboard
Writing issues/comments through authentication with seed node
Ok this issue will be a tracking issue to write down the design behind the writing of issues and comments through the web client
Architecture
Goals
- Users should be able to create a new issue from the project page.
- Users should be able to create a comment on the main comment thread, inside a specific issue
- Users should be able to create a comment replying to a specific comment, aka creating a new discussion thread
- Users should be able to get a auth token with help of the CLI and the web client for authentication
Tasks
Web Client
- [ ] Add a route that extracts the auth token from the passed URL and stores it in
localStorage
- [ ] Add stored auth token to header of any requests made to the local seed node.
- [ ] Add a way to create a new issue
- [ ] Add a way to create comments or new discussions on an existing issue
CLI
- [ ] Add a new command
rad web
command that generates an auth token and passes it to the http-apis session context
http-api
- [ ] Add endpoint for creating new issues
- [ ] Add endpoint for creating new comments or discussions on existing issues