Skip to content

Conversation

aaron-steinfeld
Copy link
Contributor

Description

The table api is a bit tied up in its dashboard usage, so refactored some types to make it easier to use programatically. Long term, the table doesn't care about most of the stuff in these controls, so there's more to be done here.

Testing

Tested E2E, reran unit tests. These are mostly type changes, so shouldn't affect any runtime behavior

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

@aaron-steinfeld aaron-steinfeld requested a review from a team as a code owner February 19, 2021 22:00
@codecov
Copy link

codecov bot commented Feb 19, 2021

Codecov Report

Merging #616 (3e4a60d) into main (b66329f) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #616      +/-   ##
==========================================
- Coverage   85.15%   85.15%   -0.01%     
==========================================
  Files         769      768       -1     
  Lines       15884    15880       -4     
  Branches     2046     2046              
==========================================
- Hits        13526    13522       -4     
  Misses       2324     2324              
  Partials       34       34              
Impacted Files Coverage Δ
projects/distributed-tracing/src/public-api.ts 100.00% <ø> (ø)
...hboard/widgets/table/table-widget-control.model.ts 38.09% <0.00%> (ø)
...d/widgets/table/table-widget-renderer.component.ts 47.18% <0.00%> (ø)
...te/entities-attribute-options-data-source.model.ts 45.45% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b66329f...3e4a60d. Read the comment docs.

@github-actions

This comment has been minimized.

@aaron-steinfeld aaron-steinfeld merged commit 8de3356 into main Feb 19, 2021
@aaron-steinfeld aaron-steinfeld deleted the rearrange-table-types branch February 19, 2021 22:11
| TablePropertyControlOption<T>;

export interface TableUnsetFilterControlOption extends TableControlOption<string, undefined> {
interface TableControlOptionBase<T> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Pfft. Who uses "Base" in a name? 🙄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hah - I hated every minute of it, but TableControlOption was already taken by someone!

@github-actions
Copy link

Unit Test Results

    4 files  ±0  235 suites  ±0   14m 55s ⏱️ -12s
844 tests ±0  844 ✔️ ±0  0 💤 ±0  0 ❌ ±0 
848 runs  ±0  848 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 8de3356. ± Comparison against base commit b66329f.

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.

2 participants