metabase / metabase/metabase

Allow multiple records to trigger an action when using the SDK

Open
#55,286 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

**Is your feature request related to a problem? Please describe.**
Currently, mapQuestionClickActions only works with a single record in a visualization. Many prospects I speak with express a strong need to allow their users to take actions on multiple records at once vs. taking action on single record.

For example:
- Triggering an update on multiple records directly from a chart.
- Sending selected data to another tool.

**Describe the solution you'd like**
Allow multiple records to trigger an action within SDK components
- Allow users to select multiple records within a visualization like in a table or a chart.
- Allow actions to be triggered from the selected records (something similar to mapQuestionClickActions)

**Describe alternatives you've considered**
- Use mapQuestionClickActions and update each record individually.

**How important is this feature to you?**
- Asked by prospects multiple times.

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 tracing mapQuestionClickActions and the SDK components that render visualizations. Determine how record selection is represented for tables and charts, then define how selected records are passed to actions. Done means users can select multiple records in supported visualizations and trigger one action using that selection.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.