Skip to content

feat: Make grid widget respect global formatter settings#1995

Merged
mattrunyon merged 2 commits intodeephaven:mainfrom
mattrunyon:grid-widget-formatters
May 9, 2024
Merged

feat: Make grid widget respect global formatter settings#1995
mattrunyon merged 2 commits intodeephaven:mainfrom
mattrunyon:grid-widget-formatters

Conversation

@mattrunyon
Copy link
Copy Markdown
Collaborator

Fixes deephaven/deephaven-plugins#435

Does not fix the issue in embed-widget. I think that should be a separate ticket. I'll keep #1964 open for tracking that if that seems fine

Tested by creating a dh.ui component that included a table and then changed the formatter settings. Tried global column formats too (the formats for specifically named columns)

Looks like ui.table already loads these settings, so this will fix for normal tables.

@mattrunyon mattrunyon requested a review from bmingles May 7, 2024 22:40
@mattrunyon mattrunyon self-assigned this May 7, 2024
Comment thread packages/dashboard-core-plugins/src/GridWidgetPlugin.tsx Outdated
@mattrunyon mattrunyon force-pushed the grid-widget-formatters branch from c31343e to de163bf Compare May 8, 2024 21:29
@mattrunyon mattrunyon requested a review from bmingles May 8, 2024 21:29
Copy link
Copy Markdown
Contributor

@bmingles bmingles left a comment

Choose a reason for hiding this comment

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

LGTM

@mattrunyon mattrunyon merged commit d1fba8f into deephaven:main May 9, 2024
@mattrunyon mattrunyon deleted the grid-widget-formatters branch May 9, 2024 16:53
@github-actions github-actions Bot locked and limited conversation to collaborators May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DH UI doesn't seem to react to IDE number format changes

2 participants