Skip to content

fix: Conditional date formatting#1104

Merged
bmingles merged 3 commits intodeephaven:mainfrom
bmingles:1091-bug-conditional-formatting-preview
Feb 27, 2023
Merged

fix: Conditional date formatting#1104
bmingles merged 3 commits intodeephaven:mainfrom
bmingles:1091-bug-conditional-formatting-preview

Conversation

@bmingles
Copy link
Copy Markdown
Contributor

Conditional formatting for date columns now properly prevents conditions with empty values from being applied.

Util to validate date column conditions
@bmingles bmingles requested review from dsmmcken and vbabich February 23, 2023 23:18
@bmingles bmingles self-assigned this Feb 23, 2023
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 23, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@bmingles bmingles marked this pull request as ready for review February 23, 2023 23:21
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 23, 2023

Codecov Report

Merging #1104 (ea8b1e8) into main (7a7fc14) will increase coverage by 0.00%.
The diff coverage is 50.00%.

❗ Current head ea8b1e8 differs from pull request most recent head df13de9. Consider uploading reports for the commit df13de9 to get more accurate results

@@           Coverage Diff           @@
##             main    #1104   +/-   ##
=======================================
  Coverage   42.91%   42.92%           
=======================================
  Files         434      434           
  Lines       32597    32609   +12     
  Branches     8201     8209    +8     
=======================================
+ Hits        13990    13997    +7     
- Misses      18558    18563    +5     
  Partials       49       49           
Flag Coverage Δ
unit 42.92% <50.00%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
...sidebar/conditional-formatting/ConditionEditor.tsx 8.00% <0.00%> (-0.28%) ⬇️
...nditional-formatting/ConditionalFormattingUtils.ts 27.58% <100.00%> (+1.27%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@bmingles
Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

return true;

default:
// TODO: we need to validate whether a given string can be parsed as a date
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We usually avoid merging TODOs. Either fix the issue or file a ticket for it.

@bmingles bmingles merged commit 2f503ba into deephaven:main Feb 27, 2023
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 27, 2023
@bmingles bmingles deleted the 1091-bug-conditional-formatting-preview branch February 27, 2023 18:56
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.

Conditional Formatting errors when selecting color of timestamp column

2 participants