Skip to content

feat: Picker - formatter settings#1907

Merged
bmingles merged 10 commits intodeephaven:mainfrom
bmingles:1889-picker-column-types2
Apr 3, 2024
Merged

feat: Picker - formatter settings#1907
bmingles merged 10 commits intodeephaven:mainfrom
bmingles:1889-picker-column-types2

Conversation

@bmingles
Copy link
Copy Markdown
Contributor

@bmingles bmingles commented Mar 28, 2024

  • useFormatter hook + optional settings prop in jsapi Picker
  • Fixed a bug with bindAllMethods function. It now excludes getters

resolves #1889

@bmingles bmingles marked this pull request as ready for review March 28, 2024 14:01
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 28, 2024

Codecov Report

Attention: Patch coverage is 93.33333% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 46.26%. Comparing base (a03fa07) to head (4163862).
Report is 1 commits behind head on main.

Files Patch % Lines
...es/jsapi-components/src/spectrum/Picker/Picker.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1907      +/-   ##
==========================================
+ Coverage   46.23%   46.26%   +0.02%     
==========================================
  Files         645      646       +1     
  Lines       38241    38252      +11     
  Branches     9672     9673       +1     
==========================================
+ Hits        17682    17697      +15     
+ Misses      20506    20502       -4     
  Partials       53       53              
Flag Coverage Δ
unit 46.26% <93.33%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bmingles bmingles force-pushed the 1889-picker-column-types2 branch from 8bff576 to c032c9b Compare April 1, 2024 18:08
Comment thread packages/jsapi-components/src/useGetItemIndexByValue.ts Outdated
@bmingles bmingles requested a review from mofojed April 3, 2024 15:19
mofojed
mofojed previously approved these changes Apr 3, 2024
} catch (err) {
log.debug('Error seeking row', { column, value, columnValueType });
return null;
throw err;
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.

I wouldn't bother logging it either - consumer either catches it and logs it or does something with it in which case the log would be extra spam. If it's uncaught would be logged as an uncaught promise anyway.

@bmingles bmingles merged commit f06a141 into deephaven:main Apr 3, 2024
@bmingles bmingles deleted the 1889-picker-column-types2 branch April 3, 2024 20:17
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 3, 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.

Picker - handle JS API column types in display labels

2 participants