metabase / metabase

The simplest, fastest way to get business intelligence and analytics to everyone in your company :yum:
https://metabase.com
Other
37.28k stars 4.94k forks source link

Connected sidebar doesn't show after filtering #28270

Open maxzheng opened 1 year ago

maxzheng commented 1 year ago

Describe the bug I have a Metabase model that has many foreign tables that point to it. When viewing the model, you can click on the entity id value to see a popup that shows the details of the record, which includes a sidebar on the right that shows how this record is connected to the foreign tables. After I filter on one of the columns, and click on the entity id value again, the popup shows the details but the sidebar with the connected foreign tables is no longer showing.

Logs n/a

To Reproduce Steps to reproduce the behavior:

  1. Create model with many foreign tables that connect to it.
  2. Click on entity id value to see details and sidebar with connected tables.
  3. Go back to model and filter on any column
  4. Click on entity id value to see details -- but no more sidebar with connected tables.

Expected behavior Sidebar with connected details should always show when viewing details of a record.

Screenshots n/a Information about your Metabase Installation:

You can get this information by going to Admin -> Troubleshooting.

Severity How severe an issue is this bug to you? Is this annoying, blocking some users, blocking an upgrade or blocking your usage of Metabase entirely? For most tables, there are too many records, so filtering is a must to find what the one you want. After filtering, you loose the connected tables view, so effectively rendering the connect tables feature unusable.

Additional context Add any other context about the problem here.

paoliniluis commented 1 year ago

I can't reproduce this, but trusting you on this one

maxzheng commented 1 year ago

Note that this works fine for a table, but not for a Metabase model [that selects all from a table with the foreign key mappings].

kamilmielnik commented 3 months ago

Reproducible on master at 28ab027592 using a GUI model based on Products table from Sample DB.

Duplicated by #33708.

kamilmielnik commented 1 week ago

Reproducible in master at https://github.com/metabase/metabase/commit/da0c9cb64568a0e9478a19b74c0652c2ba3be4a5.