-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Setting as pages #3813
base: main
Are you sure you want to change the base?
Feat: Setting as pages #3813
Conversation
@@ -21,6 +21,71 @@ export const defaultZapierWebhookUrl = | |||
'https://hooks.zapier.com/hooks/catch/12120532/2m4okri/' | |||
export const guideBillingUrl = 'https://speckle.guide/workspaces/billing.html' | |||
|
|||
export const settingsRoutes = { | |||
user: { | |||
profile: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both route and name are needed, because they are used in different scenarios (for example checking if a route by name needs SSO access)
@@ -123,3 +123,11 @@ export const workspaceWizardRegionQuery = graphql(` | |||
} | |||
} | |||
`) | |||
|
|||
export const workspaceGetIdBySlugQuery = graphql(` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some queries are not possible with workspaceBySlug, as nested properties in some cases need an ID and don't work with slug, so this call is done first to get the id
This PR moves away from the settings modal in favor of having them as pages. Some clean-up and bugfixes have been done for the content overall no changes have been made. There is still some room for improvement there, but we can address these in follow-up PRs