Skip to content

Add displayMode fix for table widgets on entity pages - #28

Open
gilmor-port wants to merge 1 commit into
mainfrom
table-widget-display-mode-fix
Open

gilmor-port wants to merge 1 commit into
mainfrom
table-widget-display-mode-fix

Conversation

@gilmor-port

Copy link
Copy Markdown

Summary

  • Adds client-side normalization in the validate-pages fix script to set displayMode: "widget" on table-entities-explorer widgets inside dashboard-widget containers
  • Runs this fix proactively on every page before validation, so orgs with strict page validation (e.g. GitHub) can save table filters without 422 errors from sibling widgets missing displayMode
  • Adds unit tests for the normalization logic and updates fix flow docs

Test plan

  • npm test in validate-pages passes
  • Run npm run fix against a test org with entity pages containing table widgets missing displayMode
  • Re-run npm run validate and confirm affected pages are valid
  • Verify saving a filter on a previously affected table widget succeeds in the UI

Made with Cursor

Normalize missing displayMode on entity-page table-entities-explorer widgets so orgs with strict page validation can save filters without 422 errors from sibling widgets.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant