Improvements to Authentication, BASE URL, supporting multiple environments, and pool query. #7668
Closed
nadr0
announced in
Milestones
Replies: 2 comments 2 replies
-
|
I've got some designs in Figma here ready for your feedback. Here are some thoughts:
|
Beta Was this translation helpful? Give feedback.
2 replies
-
|
First implementation has been merged! #7714 Maybe there will be a round two! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Milestone for issue tracking: https://github.com/KittyCAD/modeling-app/milestone/18
Bodies of work
Environments
Environment variables
I want to support these environment variables
^ the following values except for
VITE_KC_CONNECTION_TIMEOUT_MSwill need to be cached on DISK.GUI
Logos

Status Bar
Pool (only present if pool is present)
Sign out

Sign out of developementSign outSign out of Production USSign in

Display domain input field
Pool

Display pool input for specific engine
Disable GUI
URL base domain clean up
urls like https://zoo.dev/blog are floating around the codebase and https://zoo.dev/account
We have
VITE_KC_BASE_URL,VITE_KC_SITE_BASE_URL, andVITE_KC_API_WS_MODELING_URLas starting points. I want to make sure these are used in all the locations.@src/envSITE_BASE_URL, implement a helper function?@src/envAPI_BASE_URL, implement a helper function?@src/envWS_MODELING_URL, implement a helper function?process.env.BASE_URL ??= viteEnv.VITE_KC_API_BASE_URLWeb
Sign in to each environment at the same time
Desktop
/envs/<subdomain>.jsone.g/envs/dev.zoo.dev.jsonenvironment.txtto say what was the last selected environmentWeb
window.localStoragefor token should be purgedwindow.localStoragerequirement for the token, we already write it to disk. Always read it during application boot. This removes the secret stored in the browser/electron.Live swapping of environment
Development
XYZyou should be able to swap to another environment assuming that/envs/dev.zoo.dev.jsonis present and validGUI
Engine caching
/envs/dev.zoo.dev.jsonPRs
Any PRs opened from this body of work
Beta Was this translation helpful? Give feedback.
All reactions