Closed ravi-kumar-pilla closed 1 month ago
had a Design PS session with @stephkaiser , @idanov, @yetudada and @iamelijahko . The following came out of discussion
--include-preview
or --exclude-preview
, we'll switch to --preview=false/true
.kedro viz deploy
and kedro viz build
will set --preview=false
.kedro viz
and kedro viz run
will set --preview=true
by default to ensure easy discovery of the feature. Enable
or Disable
preview before publishing. The backend will then create a JSON API both either with or without preview data based on the user's selection that will get pushed to cloudHi Team,
Based on our discussions, This ticket will focus on enabling/disabling preview for all the datasets during publishing.
Publishing from CLI - Preview will be disabled by default. If the users want to have preview, they should run -
kedro viz build --include-preview
for platform agnostic build
kedro viz deploy --include-preview
for deploying viz instance on cloud
Publishing from UI - Preview will be enabled by default on local instance of kedro viz when someone runs kedro viz run
. Now the users will have the preview enable/disable toggle on the publish pop-up through which they can control the deployable instance preview settings.
NOTE: kedro viz run
will not have any flag to enable/disable preview. We will have a ticket in future where we can have preview enable/disable for local instance in settings panel of UI.
Thank you
Description
This would help users to enable/disable preview for all the datasets.
Context
kedro viz run
locally, but would like to disable the preview for all the datasets when deploying to cloud providershttps://kedro-org.slack.com/archives/C03RKP2LW64/p1713469330441069
Possible Implementation
--include-preview
option for all kedro viz cli commandsPossible Alternatives
Checklist