Skip to content

fix: bq table in metrics view UI not loading;#9282

Merged
royendo merged 4 commits into
mainfrom
royendo/fix-bq-metrics-ui-loading
Apr 23, 2026
Merged

fix: bq table in metrics view UI not loading;#9282
royendo merged 4 commits into
mainfrom
royendo/fix-bq-metrics-ui-loading

Conversation

@royendo
Copy link
Copy Markdown
Contributor

@royendo royendo commented Apr 22, 2026

also add additional logo in table UI for easy indication what the table is for:

Screenshot 2026-04-22 at 13 52 29 Screenshot 2026-04-22 at 13 52 32 Screenshot 2026-04-22 at 13 54 06

Switch to model button wasn't working so hidden when connector/table is selected; again not sure we really need it but wont strip code out for now;

when creating a new blank metrics; still defaults to model selector using default OLAP is Duck; else defaults to Table

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

royendo and others added 4 commits April 22, 2026 12:44
…st hang

For a metrics view with an explicit connector/database/database_schema/table,
the visual editor was blocking the table display on OLAPListTables, which walks
every dataset in BigQuery and rarely completes. The editor now trusts the YAML
fields directly in that case, and hides the 'Select model' mode switch since
live-connector views never select a Rill model.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Icon resolves via the existing `connector` fallback chain, so when the YAML has
no connector set, it defaults to the project's OLAP connector.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…able

Adds a leadingIcon prop to Select/Input so the visual metrics editor can show
the project OLAP icon inside the Model dropdown. The table-side icon is
restored to show only once a table is selected.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@royendo royendo changed the title fix: bq table not loading; fix: bq table in metrics view UI not loading; Apr 22, 2026
@royendo royendo requested a review from AdityaHegde April 22, 2026 17:54
@royendo royendo merged commit 009c6f6 into main Apr 23, 2026
11 checks passed
@royendo royendo deleted the royendo/fix-bq-metrics-ui-loading branch April 23, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants