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

Enhancement: /ui-settings subpathing #11701

Merged

Conversation

znicholasbrown
Copy link
Contributor

@znicholasbrown znicholasbrown commented Jan 22, 2024

Continuing with the theme of customizing the UI serve functionality, this PR reintroduces the customizable base path when hitting the /ui-settings endpoint. Since we're not setting a root path on the fast api app and are instead mounting the directory on the serve base endpoint we need to explicitly interpolate the base url to the /ui-settings route

Confirmed when looking at devtools:
Screenshot 2024-01-22 at 11 06 28 AM

cc @danielhstahl I think this is functionality you were looking for at one point that we had to roll back (this no longer has the refresh problem)

Copy link

netlify bot commented Jan 22, 2024

Deploy Preview for prefect-docs-preview ready!

Name Link
🔨 Latest commit adb71fc
🔍 Latest deploy log https://app.netlify.com/sites/prefect-docs-preview/deploys/65ae9430b7780a0008b5fb4a
😎 Deploy Preview https://deploy-preview-11701--prefect-docs-preview.netlify.app/api-ref/server/api/server
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@danielhstahl
Copy link
Contributor

Thank you! :)

@serinamarie serinamarie added the enhancement An improvement of an existing feature label Jan 24, 2024
@znicholasbrown znicholasbrown merged commit 9e0252b into main Jan 25, 2024
63 checks passed
@znicholasbrown znicholasbrown deleted the nicholas/enhancement-ui-settings-subpathing-2024-01-22 branch January 25, 2024 19:22
@chayuto
Copy link

chayuto commented Jan 26, 2024

waited for this feature for so longgggggg. thanks!!!1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants