Skip to content

fix: only show dataset name in list - #29944

Merged
eschutho merged 1 commit into
masterfrom
elizabeth/fix-dataset-name
Aug 15, 2024
Merged

eschutho merged 1 commit into
masterfrom
elizabeth/fix-dataset-name

Conversation

@eschutho

Copy link
Copy Markdown
Member

SUMMARY

Shows just the dataset name, as with the schema it tends to be too long. I moved the full schema/dataset name into the tooltip. The link remains the same.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Screen.Recording.2024-08-14.at.3.26.12.PM.mov

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@eschutho eschutho changed the title only show dataset name in list fix: only show dataset name in list Aug 15, 2024
@eschutho
eschutho force-pushed the elizabeth/fix-dataset-name branch from 5748c92 to af6cd00 Compare August 15, 2024 00:05

@rusackas rusackas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Doesn't seem like a breaking change since the info is still available.

@eschutho
eschutho merged commit 88d07ce into master Aug 15, 2024
@michael-s-molina

Copy link
Copy Markdown
Member

It may be misleading to not show the schema alongside the dataset name given that many datasets have the same name. I understand that users can still view this information in the tooltip, but I don't think it's sufficient. It also kind of force the user to hover the name to see if it's actually the dataset from a particular schema. Maybe add a column for schema?

@michael-s-molina

Copy link
Copy Markdown
Member

There's no schema filter either. Maybe it would be good to add one, specially if we have a schema column.

@rusackas
rusackas deleted the elizabeth/fix-dataset-name branch September 27, 2024 20:54
nyohasstium pushed a commit to Webgains/superset that referenced this pull request Jan 2, 2025
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 5.0.0 First shipped in 5.0.0 labels Jul 29, 2025
rusackas added a commit that referenced this pull request Aug 19, 2025
…ctly

Fixes #33335

Virtual datasets with names that don't contain a period (no schema prefix) were not displaying correctly in the chart list. The issue was caused by PR #29944 which assumed all dataset names would have a schema.name format and split by '.' to extract just the name.

This fix properly handles both formats:
- schema.name (displays as "name")
- name without schema (displays as "name")
- Names containing dots are handled correctly by only removing the first segment (schema)

Added comprehensive tests to verify the fix works for all dataset name formats.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
qfcwell pushed a commit to qfcwell/superset that referenced this pull request May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels preset-io size/XS 🚢 5.0.0 First shipped in 5.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants