T
tscircuit2mo ago
DOPΣ

DOPΣ - what if there is conflict in githubhandl...

what if there is conflict in github_handle and tscircuit_handle
7 Replies
Seve
Seve2mo ago
the user will have to create a handle if you want for laziness you can just keep incrementing like old xbox usernames e.g. seveibar2 seveibar3 until one works the user should be able to rename from their settings (the incrementing would happen on the backend) technically the best approach is to have the frontend do /accounts/check_if_username_available?tscircuit_handle then error and make the user select a new one
DOPΣ
DOPΣOP2mo ago
Ok for routing purposes, are we switching to tscircuit handles? Or keep as GitHub handles only?
Seve
Seve2mo ago
Tscircuit handles Github handles are just metadata now
DOPΣ
DOPΣOP2mo ago
What if the user hasn't set tscircuit handle? For current users are we going to do some migration kinda stuff? And why is tscircuit handle nullable for account then if it's req for account to be viewed?
Seve
Seve2mo ago
We do need a migration page on the backend It eventually will not be nullable Great questions Yes we do need a migration page (On admin)
DOPΣ
DOPΣOP2mo ago
Any eta? So I should start routing revamping stuff Also can we add some route like /get-acc-or-org to avoid double request /acc/get & /org/get For tscircuit handles Or should we just fetch /org/get and check if personal
Seve
Seve2mo ago
Yea just /org/get yea Want to make the migration page and test for backend?

Did you find this page helpful?