-
Notifications
You must be signed in to change notification settings - Fork 113
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
Update dependencies to work with Vite and NextJS, combine css files into a single css file #1510
Conversation
e5d54a2
to
18225d2
Compare
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.
Nice work Vlad !!
Some questions -
- I want to understand why we need apollo config refactoring ?
- I have tested the PR using the QA notes, the alpha release works well except for the CSS errors (as you mentioned). Just to confirm, I am attaching the errors during the run
Svelte error -
Next.js error -
Hey Ravi
So here we needed a bit of a refactor because it tries to access the
Yep, that's okay. The css error is not present when started with Vite. Next has it's own rules how to handle css and that's why it's throwing an error. I have to agree with them on this, we shouldn't release with 66 css files, one is enough. |
…k worker for SSR Signed-off-by: Vladimir <[email protected]>
* Fix: Adding favicon to Kedro Demo * Fix: Change in approach for serving favicon * Lint error fix * Lint error fix * Favicon endpoint test added * Favicon endpoint test added * Lint error fixed * Fix: Adding favicon to Kedro Demo Signed-off-by: Jitendra Gundaniya <[email protected]> * Fix: Change in approach for serving favicon Signed-off-by: Jitendra Gundaniya <[email protected]> * Lint error fix Signed-off-by: Jitendra Gundaniya <[email protected]> * Lint error fix Signed-off-by: Jitendra Gundaniya <[email protected]> * Favicon endpoint test added Signed-off-by: Jitendra Gundaniya <[email protected]> * Favicon endpoint test added Signed-off-by: Jitendra Gundaniya <[email protected]> * Lint error fixed Signed-off-by: Jitendra Gundaniya <[email protected]> * Fixed favicon endpoint test * Release doc updated * Update RELEASE.md Co-authored-by: rashidakanchwala <[email protected]> * Removed pytest.fixture as per review comment --------- Signed-off-by: Jitendra Gundaniya <[email protected]> Co-authored-by: rashidakanchwala <[email protected]> Signed-off-by: Vladimir <[email protected]>
* v6.5.0 * release * update-reminder-content * update reminder Signed-off-by: Vladimir <[email protected]>
Signed-off-by: Vladimir <[email protected]>
Signed-off-by: Vladimir <[email protected]>
… update babel to remove scss imports from the lib components. Revert apollo config and worker Signed-off-by: Vladimir <[email protected]>
Signed-off-by: Vladimir <[email protected]>
Signed-off-by: Vladimir <[email protected]>
e5a49ee
to
2e03657
Compare
Signed-off-by: Vladimir <[email protected]>
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.
Signed-off-by: Vladimir <[email protected]>
Signed-off-by: Vladimir <[email protected]>
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.
…ports Signed-off-by: Vladimir <[email protected]>
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.
Really nice! Everything is looking great and working well.
I've left a couple small comments, nothing blocking.
RELEASE.md
Outdated
@@ -17,7 +23,7 @@ Please follow the established format: | |||
- Fix to search for a '<lambda' Python function in the sidebar. (#1497) | |||
- Add favicon to Kedro-Viz. (#1509) | |||
- Remove python upper-bound requirements and add KedroVizPythonVersion warning. (#1506) | |||
|
|||
- Resolved various bugs affecting server-side rendering, updated dependencies to ensure compatibility with Vite and Next.js environments (#1508) |
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.
Why is this here? That PR was never merged, right?
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.
+1
|
||
const NoSSRKedro = dynamic(() => import('@quantumblack/kedro-viz'), { | ||
ssr: false, | ||
}); |
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.
Awesome !!
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.
Awesome work Vlad 👍 . Need some changes with the release doc but nothing blocking.
Co-authored-by: Tynan DeBold <[email protected]>
Description
Resolves #1293, #1504 and 1512
Development notes
This pull request addresses several JavaScript issues, enhancing the compatibility of Kedro-Viz when integrated with Svelte and Next.js. Although the JS-related errors have been resolved.
Vite:
QA notes
Create a new project with Vite:
npm i @quantumblack/[email protected]
Create a new project with NextJS:
npm i @quantumblack/[email protected]
Checklist
RELEASE.md
file