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

Fix: Kedro-Viz doesn't work when hosted via a URL subpath #1621

Merged
merged 12 commits into from
Nov 6, 2023
Merged

Conversation

jitu5
Copy link
Contributor

@jitu5 jitu5 commented Nov 1, 2023

Description

Resolves #1610

Kedro-Viz flowchar function properly when the app is hosted via a subpath.
This changes deployed on my github page https://jitu5.github.io/kedro-viz/

QA notes

Checklist

  • Read the contributing guidelines
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added new entries to the RELEASE.md file
  • Added tests to cover my changes

@jitu5 jitu5 marked this pull request as ready for review November 3, 2023 13:25
Copy link
Member

@tynandebold tynandebold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking great and is nearly there.

On your GitHub pages link, everything works as it should except for one small thing:

image

I would expect that this endpoint would return the appropriate response, not a 404. If you. can get that working, this will be good to go.

@jitu5 jitu5 self-assigned this Nov 3, 2023
@jitu5
Copy link
Contributor Author

jitu5 commented Nov 3, 2023

Copy link
Member

@tynandebold tynandebold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as intended! Thanks for this.

@tynandebold
Copy link
Member

Please do add a line to the releases notes as well.

@jitu5 jitu5 requested a review from yetudada as a code owner November 6, 2023 10:35
RELEASE.md Outdated Show resolved Hide resolved
Co-authored-by: Tynan DeBold <[email protected]>
Copy link
Contributor

@ravi-kumar-pilla ravi-kumar-pilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !!

@jitu5 jitu5 merged commit c59df4d into main Nov 6, 2023
20 checks passed
@jitu5 jitu5 deleted the fix/url_subpath branch November 6, 2023 15:06
@rashidakanchwala rashidakanchwala mentioned this pull request Nov 16, 2023
5 tasks
rashidakanchwala added a commit that referenced this pull request Nov 17, 2023
This is minor release with big backend refactoring work and some bug fixes.

Bug fixes and other changes
Refactor flowchart dataclasses to pydantic base models. (Refactor Flowchart models from dataclass to pydantic base models #1565)
Fix dataset factory patterns in Experiment Tracking. (Fix dataset factory patterns in Experiment Tracking #1588)
Update demo-project to use OmegaConfigLoader. (Update demo project to use OmegaConfigLoader #1590)
Improve feedback for copy to clipboard feature. (Add tooltip to shareable urls copy button #1614)
Ensure Kedro-Viz works when hosted on a URL subpath. (Fix: Kedro-Viz doesn't work when hosted via a URL subpath #1621)
Bump fastapi upper bounds. (Bump FAST API upper bounds #1634)
Fix shareable URL modal to appear across the app. (Make shareable URL modal open globally across the app.  #1639)
Add Kedro-Viz CLI command deprecation warning. (Add kedro viz deprecation warning for CLI #1641)
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.

Kedro-Viz doesn't work when hosted via a URL subpath
3 participants