-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 saveDashboardAndCards
thunk to use new PUT
endpoint for dashcards
#29762
Conversation
You have successfully added a new CodeQL configuration |
saveDashboardAndCards
thunk to use new PUT
endpoint for dashcardssaveDashboardAndCards
thunk to use new PUT
endpoint for dashcards
34032b4
to
ab4e6d6
Compare
ab4e6d6
to
4677198
Compare
saveDashboardAndCards
thunk to use new PUT
endpoint for dashcardssaveDashboardAndCards
thunk to use new PUT
endpoint for dashcards
af798f3
into
dashboard-bulk-create-delete
Current Cypress Test Results Summary✅ 1582 Passing - ❌ 3 Failing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 04/06/2023 07:52:52pm UTC) Run DetailsRunning Workflow E2E Tests on Github Actions Commit: 4a04e2c59fd5f3107a5b909879b49753601e2f46 Started: 04/06/2023 07:21:02pm UTC ❌ Failures📄 e2e/test/scenarios/visualizations/line_chart.cy.spec.js • 2 FailuresTop 1 Common Error Messages
Test Case Results
📄 e2e/test/scenarios/downloads/downloads.cy.spec.js • 1 FailureTest Case Results
|
|
2 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
revision history curate access admin user should be able to revert a dashboard (#15237)
Retry 2 • Retry 1 • Initial Attempt |
0.33% (1)1 / 301 runfailed over last 7 days |
29.57% (89)89 / 301 runsflaked over last 7 days |
revision history curate access normal user should be able to revert a dashboard (#15237)
Retry 1 • Initial Attempt |
0% (0)0 / 301 runsfailed over last 7 days |
35.22% (106)106 / 301 runsflaked over last 7 days |
📄 e2e/test/scenarios/binning/sql.cy.spec.js • 3 Flakes
Top 1 Common Error Messages
|
3 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
scenarios > binning > from a saved sql question via simple question should work for number
Retry 1 • Initial Attempt |
1.01% (3)3 / 297 runsfailed over last 7 days |
18.52% (55)55 / 297 runsflaked over last 7 days |
scenarios > binning > from a saved sql question via custom question should work for time series
Retry 1 • Initial Attempt |
1.67% (5)5 / 299 runsfailed over last 7 days |
21.07% (63)63 / 299 runsflaked over last 7 days |
scenarios > binning > from a saved sql question via custom question should work for number
Retry 1 • Initial Attempt |
1.01% (3)3 / 297 runsfailed over last 7 days |
17.85% (53)53 / 297 runsflaked over last 7 days |
📄 e2e/test/scenarios/onboarding/setup/setup.cy.spec.js • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
scenarios > setup should send snowplow events
Retry 1 • Initial Attempt |
1.25% (4)4 / 320 runsfailed over last 7 days |
0.31% (1)1 / 320 runflaked over last 7 days |
📄 e2e/test/scenarios/organization/moderation-question.cy.spec.js • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
scenarios > saved question moderation as an admin should be able to verify and unverify a saved question
Retry 1 • Initial Attempt |
3.82% (12)12 / 314 runsfailed over last 7 days |
85.67% (269)269 / 314 runsflaked over last 7 days |
📄 e2e/test/scenarios/dashboard/actions-on-dashboards.cy.spec.js • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Write Actions on Dashboards (mysql) Actions Data Types can update various data types via implicit actions
Retry 1 • Initial Attempt |
4.11% (13)13 / 316 runsfailed over last 7 days |
7.28% (23)23 / 316 runsflaked over last 7 days |
📄 e2e/test/scenarios/models/model-actions.cy.spec.js • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
scenarios > models > actions should allow CRUD operations on model actions
Retry 3 • Retry 2 • Retry 1 • Initial Attempt |
5.66% (18)18 / 318 runsfailed over last 7 days |
28.62% (91)91 / 318 runsflaked over last 7 days |
Merging into BE PR branch
dashboard-bulk-create-delete
.Part of epic #29502
Description
Before updating our API requests to introduce the notion of tabs, we decided to first refactor the existing dashboard edit flow. Instead of using separate
POST
andDELETE
requests for the individual cards being added and removed, we updated toPUT
endpoint to handle adding and removing all cards at once.How to verify
Open a dashboard -> edit -> add and remove cards -> save
Demo
Screen.Recording.2023-04-03.at.9.44.10.AM.mov
Checklist
This change is