-
Notifications
You must be signed in to change notification settings - Fork 115
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
Feature/url parameters #1138
Feature/url parameters #1138
Conversation
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
That error message is looking really good! Well done. Why does the page crash with an incorrect pipeline ID but not an incorrect node ID? In any event, I think how you handled that before in your previous linked commit can work. The main thing is that the app doesn't crash like in your third screenshot above. |
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
hey sounds good, I've gone back to how I did it before, the error messages should now cover all cases, incl invalid pipeline ID |
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.
Amazing! Approved. Great work on this one, Huong. Thanks so much for seeing it through.
I have one worry that some of the URL params we're adding may potentially mess with some of the jupyter-server-proxy stuff @AntonyMilneQB worked on that I helped him with, though it's hard to tell right now. I don't remember how to test that at the moment, so I think for now it'll have to be ok!
<div className="kedro-pipeline"> | ||
<Sidebar /> | ||
<MetaData /> | ||
<PipelineWarning errorMessage={errorMessage} invalidUrl={invalidUrl} /> |
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.
Is it too much of a pain to pass these props to the same component on line 66? I guess there might be some other work to do it you put it there and don't have this if / else
.
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.
hey the reason I separate them with if/else statements so it won't render the Flowchart + any other things, cause other wise the flowchart will still show up in the background
Co-authored-by: Tynan DeBold <[email protected]>
Co-authored-by: Tynan DeBold <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[email protected]>
Signed-off-by: huongg <[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.
Hi @Huongg --- looks' greatt!! <3
i just came across another error handling issue, when we type something incorrect in the focus mode then it's a blank screen.
try http://localhost:4141/?pipeline_id=__default__&focused_id=featured_engineering instead of http://localhost:4141/?pipeline_id=__default__&focused_id=feature_engineering
Signed-off-by: huongg <[email protected]>
hey @rashidakanchwala sorry i didnt push my latest changes to it, it should be fixed now with the invalid Modular Pipeline |
Signed-off-by: huongg <[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.
Thanks @Huongg .. super excited abt this feature release :)
Signed-off-by: huongg <[email protected]>
I've updated the copy for the error message suggested by @stichbury. @comym @Mackay031 if you're happy can i get approval for this PR please? |
Signed-off-by: huongg <[email protected]>
Description
Fixes #1117
I use Query parameters rather than URI parameters, hence all of them are combined into a single string as below
As discussed with the engineer and design team, the URL parameter should cover a few scenarios, such as
selected_id:...
focused_id:...
?pipeline_id=Modelling%20stage&selected_id=cae2d1c7
Development notes
QA notes
Checklist
RELEASE.md
file