Skip to content
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

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open

Feat: Setting as pages #3813

wants to merge 26 commits into from

Conversation

Mikehrn
Copy link
Contributor

@Mikehrn Mikehrn commented Jan 14, 2025

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

@@ -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: {
Copy link
Contributor Author

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(`
Copy link
Contributor Author

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

@Mikehrn Mikehrn marked this pull request as ready for review January 15, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants