Closed nang-dev closed 10 hours ago
OKAY progress:
https://github.com/trypear/pearai-submodule/tree/server2
Server2 branch.
(run by doing to the debug thing in vscode and clicking here)
you can try *command pallette -> pearai: debug to get a link to use
pretty much, we want
code-oss://pearai/hi (in chrome)
to open and get registered by the extension.
for now it opens code-oss, but is not registered by pearai becuase pearai is not exactly an extension?, like its not in the extension tab in vscode
maybe.
but it currently doesnt work. it should open a popup in the bottom right if it did.
my last idea was to run it in the main app (with code.sh command) and see if that triggered it. it ran into issues. good luck soldier
@Zhethan
Users will create an account on the landing page. they should be able to sign in on the app if they use the api we host
After they sign in, their ID (+ whatever else is needed to be passed to the pearai-server) Must be saved to the 'context.GlobalState' in the pearai-app, and passed in with every request to pearai-server
This is for the backend functionality within the code editor to sign in #119 is the ui/ux
This API should also return the subscription details of the user.
This is different from the landing page sign in flow.