-
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
refactor(insights): remove filter based card content #24050
Conversation
bda3ca9
to
88dd5af
Compare
Size Change: +2 B (0%) Total Size: 1.07 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated6 snapshot changes in total. 0 added, 6 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated52 snapshot changes in total. 0 added, 52 modified, 0 deleted:
Triggered by this commit. |
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.
42e387e
to
eb73f1c
Compare
📸 UI snapshots have been updated52 snapshot changes in total. 0 added, 52 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated3 snapshot changes in total. 0 added, 3 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated4 snapshot changes in total. 0 added, 4 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated3 snapshot changes in total. 0 added, 3 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
# Conflicts: # frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-edit--dark.png
import { urls } from 'scenes/urls' | ||
|
||
describe('insights date picker', () => { | ||
beforeEach(() => { | ||
cy.visit(urls.insightNew()) | ||
cy.waitForNetworkIdle(300) |
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.
This was much easier than mocking requests to /query/
and /query/:queryId
, which I couldn't get working.
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.
The PR looks good! I didn't notice any problems with cards, exports, or embeddings.
Problem
We have feature flag
query-based-dashboard-cards
that replaces filter based cards with their query based equivalent in most cases (i.e. in contexts where the feature flag works). We'd like to remove the legacy code and roll out query based cards for all occurances.Changes
FilterBasedCard
component.How did you test this code?
CI run and clicking around