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

Disable experiment tracking and publishing for static build #1813

Closed
1 task done
sbrugman opened this issue Mar 18, 2024 · 9 comments
Closed
1 task done

Disable experiment tracking and publishing for static build #1813

sbrugman opened this issue Mar 18, 2024 · 9 comments

Comments

@sbrugman
Copy link

sbrugman commented Mar 18, 2024

Description

When serving a project statically via kedro viz build, I would like to turn off unused features:

  • Experiment Tracking
  • Publish and Share pipeline
  • Autoreload

Context

Why is this change important to you? How would you use it? How can it benefit other users?

Possible Implementation

(Optional) Suggest an idea for implementing the addition or change.

Possible Alternatives

(Optional) Describe any alternative solutions or features you've considered.

Checklist

  • Include labels so that we can categorise your feature request
@astrojuanlu
Copy link
Member

Hi @sbrugman, thanks for opening this issue. Another comment by @datajoely in a similar vein:

As a user of the react component I want to disable both left and right sidebars since I intend to use this as an embedded element with a narrow viewport.

You might be aware that we're considering dropping experiment tracking altogether #1624

Having said that, this goes a bit beyond exp tracking, because you also mentioned other features you want to turn off. So let me share my thoughts about what you describe here.

There's two ways to look at this feature request: additive or subtractive.

I am personally much more interested in "progressive enhancement" and modularity than in "graceful degradation".

@rashidakanchwala
Copy link
Contributor

rashidakanchwala commented Mar 19, 2024

Currently hosted Kedro-Viz doesn't have any of the options you listed actually. So I am a bit confused

Screenshot 2024-03-19 at 11 35 18

@rashidakanchwala
Copy link
Contributor

@sbrugman -- can u clarify a bit more?

@sbrugman
Copy link
Author

sbrugman commented Apr 11, 2024

Latest release shows the experiment tracking (build/index.html):

Screenshot 2024-04-11 at 11 52 27
kedro viz build

kedro-viz 8.0.1
python 3.10
kedro, version 0.19.2

Did anything change in main since then? I've tried installing from source using:

pip install https://github.com/kedro-org/kedro-viz/archive/refs/heads/main.zip#subdirectory=package

However, this complains about missing files:

     FileNotFoundError: [Errno 2] No such file or directory:                                                                                                          
                             '.../lib/python3.10/site-packages/kedro_viz/html/index.html'    

@rashidakanchwala
Copy link
Contributor

interesting, are you trying to run this locally?? Our current checks in Kedro-Viz involve disabling Experiment Tracking and the Publish and Share pipeline when it detects that Kedro-Viz is not running locally but is hosted

@astrojuanlu
Copy link
Member

I've tried installing from source using:

This is the topic of #1611

@astrojuanlu
Copy link
Member

See also #1943

@rashidakanchwala
Copy link
Contributor

@sbrugman -- anything on above?

@rashidakanchwala
Copy link
Contributor

Closing this as for now. If you have any comments, let us know and we can reopen and look into it again.

@github-project-automation github-project-automation bot moved this from Inbox to Done in Kedro-Viz Sep 9, 2024
@astrojuanlu astrojuanlu closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants