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/add deprecation et #2248

Merged
merged 18 commits into from
Jan 31, 2025
Merged

Feat/add deprecation et #2248

merged 18 commits into from
Jan 31, 2025

Conversation

Huongg
Copy link
Contributor

@Huongg Huongg commented Jan 24, 2025

Description

Fixes #2238, to add a deprecation warning banner to the Kedro-Viz experiment tracking page

Development notes

QA notes

Whether you test locally or via gitpod, the first time it should aways the show warning popup, once the user clicks "acknowledge and dismiss", the warning popup will go away and never be shown again, unless user clears their local storage or uses on a different browser.

et.warning.mov

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

Huong Nguyen added 3 commits January 24, 2025 16:44
Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
Copy link

@stephkaiser stephkaiser left a comment

Choose a reason for hiding this comment

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

Gitpod didnt work for me but the screen recording looks good!

Huong Nguyen and others added 9 commits January 27, 2025 14:42
Signed-off-by: Huong Nguyen <huong.nguyen@mckinsey.com>
Signed-off-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>
Signed-off-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>
Signed-off-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>
Signed-off-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>
Signed-off-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>
Signed-off-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>
Signed-off-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>
Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
Copy link
Member

@astrojuanlu astrojuanlu left a comment

Choose a reason for hiding this comment

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

I'm having issues again with my local development environment so can't properly review this atm, sorry.

My impression is that I'm not the only one affected though, seeing the same error on our CI https://github.com/kedro-org/kedro-viz/actions/runs/13054544603/job/36422260077?pr=2255 @rashidakanchwala any clue?

@astrojuanlu
Copy link
Member

(Pushed an empty commit to trigger the CI)

@astrojuanlu astrojuanlu mentioned this pull request Jan 30, 2025
5 tasks
astrojuanlu and others added 3 commits January 30, 2025 17:47
Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
Signed-off-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>
Signed-off-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>
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.

Looks great!

Some tiny nits on language :)

Comment on lines 2 to 5
// beforeEach(() => {
// // Clears localStorage before each test
// cy.clearLocalStorage();
// });
Copy link
Member

Choose a reason for hiding this comment

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

Delete this?

Copy link
Contributor

Choose a reason for hiding this comment

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

so i kept it because I will probably uncomment it and add it back. This PR is actually a temp PR, we will undo all the changes next release. Because we won't need deprecation banner anymore

Copy link
Contributor

Choose a reason for hiding this comment

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

let me remove it anyway. coz in another place, i removed it.

'https://docs.kedro.org/en/stable/integrations/mlflow.html',
'how to continue using Kedro with MLflow for experiment tracking'
)}
, and{' '}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
, and{' '}
and{' '}

rashidakanchwala and others added 2 commits January 31, 2025 14:33
Co-authored-by: Tynan DeBold <thdebold@gmail.com>
Signed-off-by: rashidakanchwala <37628668+rashidakanchwala@users.noreply.github.com>
Signed-off-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>
@ravi-kumar-pilla ravi-kumar-pilla self-requested a review January 31, 2025 14:39
};

const handleProvideFeedbackClick = () => {
window.open('https://github.com/kedro-org/kedro-viz/issues/2247', '_blank');
Copy link
Contributor

Choose a reason for hiding this comment

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

[Nit] If we want this DeprecationBanner to be a generic one in future, may be we get these issue links as props to the banner. For now may be we can go with this.

Copy link
Contributor

Choose a reason for hiding this comment

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

hopefully we wont deprecate more features, so this will be a one off thing

return (
<Modal
className="deprecation-banner-modal"
title="Experiment tracking will be disabled soon."
Copy link
Contributor

Choose a reason for hiding this comment

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

[Nit] same as above on the generic deprecation component. I am not sure if the modal design change for each deprecation banner ? But it is worth making a generic banner to extend in future.

@ravi-kumar-pilla ravi-kumar-pilla self-requested a review January 31, 2025 14:55
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.

Works well 💯 ... Thank you @Huongg @stephkaiser @rashidakanchwala

@rashidakanchwala rashidakanchwala merged commit 4ee8ebe into main Jan 31, 2025
12 checks passed
@rashidakanchwala rashidakanchwala deleted the feat/add-deprecation-et branch January 31, 2025 14:59
@astrojuanlu astrojuanlu mentioned this pull request Feb 3, 2025
5 tasks
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.

Add a deprecation warning banner to the Kedro-Viz experiment tracking page
6 participants