metabase / metabase/metabase

Modular embedding wizard: Let users pick the data picker entity types

Open
#67,927 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

.Team/Embedding Embedding/EmbedJS Type:New Feature
Dominant language
Clojure
Stars
49.3k
Forks
6.8k
Avg merge
1d 13h
Merged PRs (30d)
653

Description

**What problem will this feature request solve?**
Currently, when using the modular embedding wizard we apply the following logic: "if models > 2, then set the snippet to entity-types=\["model"\]

But folks might want to customize that, either to use models even w/ 1 or 2 models only, or to enable folks to query tables even if there are more than 2 models.

**Describe the solution you'd like.**
Let users choose the entity models to show in data picker.

**How does this feature request impact you?**
Discussed this internally based on feedback from PAs. [Slack]()

**Additional information**

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the modular embedding wizard and the current logic that sets entity-types=["model"] when there are more than two models. Trace how the data picker options and generated snippet are assembled. Done means users can choose the entity types shown, including models with one or two models and tables when more than two models exist.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.