-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: saved insights settings in notebooks #17373
Merged
Merged
Changes from 12 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
82831aa
support insight viz nodes in notebooks
daibhin 9e0298a
Merge branch 'master' into dn/insight-viz-notebooks
daibhin ff82696
Merge branch 'master' into dn/insight-viz-notebooks
daibhin 11e2b25
Merge branch 'master' into dn/insight-viz-notebooks
daibhin 47ba603
remove space
daibhin 5325a7f
feat: saved insight query props
daibhin 62fa2a0
Merge branch 'master' into dn-feat/saved-insights
daibhin fc67c99
remove file
daibhin 4b8b0f4
Merge branch 'master' into dn-feat/saved-insights
daibhin 3f85871
Merge branch 'master' into dn-feat/saved-insights
daibhin a3b5765
insight viz styling
daibhin ab1e45a
Update UI snapshots for `chromium` (2)
github-actions[bot] cf9a7ae
Merge branch 'master' into dn-feat/saved-insights
daibhin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file modified
BIN
+33 Bytes
(100%)
frontend/__snapshots__/scenes-app-surveys--survey-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
@import '../../../styles/mixins'; | ||
@import '../../../styles/mixins'; | ||
|
||
.EditorFiltersWrapper { | ||
flex-shrink: 0; | ||
|
@@ -48,38 +47,6 @@ | |
display: block; | ||
padding-right: 1rem; | ||
} | ||
&.anim--enter { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These styles didn't seem to be used anywhere |
||
width: 0px; | ||
|
||
.EditorFilters { | ||
transform: translateX(calc(-1 * var(--editor-panel-width))); | ||
} | ||
} | ||
|
||
&.anim--enter-active { | ||
width: var(--editor-panel-width); | ||
transition: width 250ms; | ||
.EditorFilters { | ||
transform: translateX(0px); | ||
transition: transform 250ms; | ||
} | ||
} | ||
|
||
&.anim--exit { | ||
width: var(--editor-panel-width); | ||
.EditorFilters { | ||
transform: translateX(0px); | ||
} | ||
} | ||
|
||
&.anim--exit-active { | ||
width: 0px; | ||
transition: width 250ms; | ||
.EditorFilters { | ||
transform: translateX(calc(-1 * var(--editor-panel-width))); | ||
transition: transform 250ms; | ||
} | ||
} | ||
} | ||
|
||
.EditorFilters { | ||
|
@@ -95,4 +62,15 @@ | |
} | ||
} | ||
} | ||
|
||
&.EditorFiltersWrapper--embedded { | ||
margin-right: 0rem; | ||
|
||
@include screen($xl) { | ||
.EditorFilters { | ||
width: 100%; | ||
padding-right: 0rem; | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
frontend/src/scenes/notebooks/Nodes/NotebookNodeQuery.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@import '../../../styles/mixins'; | ||
|
||
// Here we override based on NotebookNode the ph-query styling, so | ||
// as to not change the global styling. We need the extra nesting to ensure we | ||
// are more specific than the other insights css | ||
|
||
.NotebookNode.ph-query { | ||
.insights-graph-container { | ||
.ant-card-body { | ||
padding: 0; | ||
} | ||
|
||
.RetentionContainer { | ||
.LineGraph { | ||
position: relative; | ||
} | ||
} | ||
} | ||
|
||
.funnel-insights-container { | ||
&.non-empty-state { | ||
min-height: initial; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-11.7 KB
(64%)
...-snapshots/Navigation-App-Page-With-Side-Bar-Hidden-Mobile-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-7.54 KB
(79%)
...s-snapshots/Navigation-App-Page-With-Side-Bar-Shown-Mobile-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Needed to revert to an earlier commit because using the same key for the viz & data meant that both representations shared view props e.g. the table was showing up in the settings panel