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

Question + Model Picker #40207

Merged
merged 32 commits into from
Apr 18, 2024
Merged

Question + Model Picker #40207

merged 32 commits into from
Apr 18, 2024

Conversation

iethree
Copy link
Contributor

@iethree iethree commented Mar 15, 2024

Closes #36376

Description

Adds a question/model picker using the entity picker.

Used by

  • dashboard card replacement
  • dashboard placeholder cards
  • sql/dashboard parameter sourcing sidebar
  • sandboxing modal
  • actions saving modal

Screen Shot 2024-04-10 at 5 37 07 PM

Checklist

  • Tests have been added/updated to cover changes in this PR

@iethree iethree self-assigned this Mar 15, 2024
@iethree iethree marked this pull request as draft March 15, 2024 22:14
@metabase-bot metabase-bot bot added the .Team/AdminWebapp Admin and Webapp team label Mar 15, 2024
@iethree iethree added the no-backport Do not backport this PR to any branch label Mar 15, 2024
Copy link

replay-io bot commented Mar 15, 2024

Status Complete ↗︎
Commit f8e2612
Results
⚠️ 12 Flaky
2397 Passed

@iethree iethree marked this pull request as ready for review March 19, 2024 20:27
@iethree iethree marked this pull request as draft March 19, 2024 20:28
@iethree iethree force-pushed the entity-picker/question-picker branch from 495bccf to e6c5112 Compare March 20, 2024 22:52
@iethree iethree changed the title [WIP] QuestionPicker [WIP] Question + Model Picker Mar 21, 2024
@iethree iethree force-pushed the entity-picker/question-picker branch from e6c5112 to c1d45e8 Compare March 22, 2024 22:18
@kamilmielnik kamilmielnik mentioned this pull request Mar 25, 2024
@iethree iethree force-pushed the entity-picker/question-picker branch from c1d45e8 to 7634725 Compare March 26, 2024 19:39
@iethree iethree force-pushed the entity-picker/question-picker branch 2 times, most recently from d565856 to c45a1af Compare April 9, 2024 15:10
@iethree iethree marked this pull request as ready for review April 9, 2024 15:20
@metabase-bot metabase-bot bot added the visual Run Percy visual testing label Apr 9, 2024
Copy link

github-actions bot commented Apr 9, 2024

Codenotify: Notifying subscribers in CODENOTIFY files for diff 152ca0e...f8e2612.

Notify File(s)
@alxnddr frontend/src/metabase/visualizations/visualizations/DashCardPlaceholder.tsx

@iethree iethree force-pushed the entity-picker/question-picker branch from c45a1af to 66ca287 Compare April 10, 2024 10:16
@iethree iethree changed the title [WIP] Question + Model Picker Question + Model Picker Apr 10, 2024
@iethree iethree requested a review from a team April 10, 2024 16:34
@iethree iethree force-pushed the entity-picker/question-picker branch from 97a8d66 to a6edf49 Compare April 15, 2024 19:06
@rafpaf rafpaf self-requested a review April 16, 2024 11:54
Copy link
Contributor

@rafpaf rafpaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks gorgeous.

I wrote up some feedback on the interface here: https://www.notion.so/metabase/Question-Model-picker-UI-feedback-28191f6f34cd42d89ba9cd5d28af20fe?pvs=4

For me the only major blocker is the selectedItem issue mentioned below. I'm optimistically approving this PR

@iethree iethree force-pushed the entity-picker/question-picker branch from 0df5169 to 41da831 Compare April 17, 2024 21:43
@iethree iethree force-pushed the entity-picker/question-picker branch from 41da831 to eb99852 Compare April 17, 2024 21:44
@iethree iethree enabled auto-merge (squash) April 18, 2024 14:24
@iethree iethree merged commit 784c26a into master Apr 18, 2024
109 checks passed
@iethree iethree deleted the entity-picker/question-picker branch April 18, 2024 15:25
@iethree iethree added this to the 0.50 milestone Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport Do not backport this PR to any branch .Team/AdminWebapp Admin and Webapp team visual Run Percy visual testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Question/Model Picker
3 participants