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

avoid calling fetchCardData in undoRemoveCardFromDashboard for virtual cards #35545

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

npretto
Copy link
Member

@npretto npretto commented Nov 9, 2023

Description

I definitely did not introduced this bug with my first pull request.

undoRemoveCardFromDashboard refetches the data for cards, this was added in #32842 to fix a bug with slow queries

I believe this is scope of dash viz, if not please tell me who to ask the review to

Demo

Before:

Screen.Recording.2023-11-09.at.18.06.10.mov

After:

Screen.Recording.2023-11-09.at.18.08.06.mov

@npretto npretto added the backport Automatically create PR on current release branch on merge label Nov 9, 2023
@npretto npretto added this to the 0.47.8 milestone Nov 9, 2023
Copy link

deploysentinel bot commented Nov 9, 2023

No failed tests 🎉

@npretto npretto requested review from a team November 10, 2023 15:57
@npretto npretto merged commit 7f41a7d into master Nov 13, 2023
106 checks passed
@npretto npretto deleted the undo-card-removal-fetch-issue branch November 13, 2023 08:50
github-actions bot pushed a commit that referenced this pull request Nov 13, 2023
…irtual cards (#35545)

* avoid calling fetchCardData in undoRemoveCardFromDashboard for virtual dashcards

* test: adds basic e2e test for text card
metabase-bot bot added a commit that referenced this pull request Nov 13, 2023
…irtual cards (#35545) (#35642)

* avoid calling fetchCardData in undoRemoveCardFromDashboard for virtual dashcards

* test: adds basic e2e test for text card

Co-authored-by: Nicolò Pretto <info@npretto.com>
ibedwi pushed a commit to ibedwi/metabase that referenced this pull request Nov 14, 2023
…irtual cards (metabase#35545)

* avoid calling fetchCardData in undoRemoveCardFromDashboard for virtual dashcards

* test: adds basic e2e test for text card
alxnddr pushed a commit that referenced this pull request Nov 15, 2023
…irtual cards (#35545)

* avoid calling fetchCardData in undoRemoveCardFromDashboard for virtual dashcards

* test: adds basic e2e test for text card
This was referenced Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Automatically create PR on current release branch on merge .Team/Embedding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants