Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add partial year shading #153

Merged
merged 4 commits into from
Oct 30, 2023
Merged

Add partial year shading #153

merged 4 commits into from
Oct 30, 2023

Conversation

brianlove
Copy link
Contributor

@brianlove brianlove commented Oct 19, 2023

Add shading to graphs for years with partial data, and merges two related chart components

Closes #142, closes #78

@brianlove brianlove self-assigned this Oct 19, 2023
@github-actions
Copy link

github-actions bot commented Oct 19, 2023

No need for rebasing 👍
behind_count is 0
ahead_count is 4

Base automatically changed from gui-updates-following-data-updates to 138-134-18-data-structure-updates October 20, 2023 12:22
Base automatically changed from 138-134-18-data-structure-updates to version2 October 20, 2023 12:22
Simplify charts by combining two components that are only used with
each other.
@brianlove brianlove force-pushed the 142-add-partial-year-shading branch from f4a9e12 to 3ea3423 Compare October 20, 2023 13:26
@brianlove brianlove marked this pull request as ready for review October 20, 2023 13:26
@brianlove brianlove requested a review from jmelot October 20, 2023 13:26
Re-query for the dialog element instead of reusing the prior element as
suggested in testing-library/dom-testing-library#1204 (comment)
@github-actions
Copy link

JavaScript Coverage

Summary

Lines Statements Branches Functions
Coverage: 66%
65.65% (304/463) 56.66% (102/180) 66.87% (107/160)
Modified Files • (66%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files65.6556.6666.8766.13 
components61.5959.3360.9361.89 
   DetailViewPatents.jsx01000015–156
   DetailViewPublications.jsx01000015–143
   TrendsChart.jsx00008–61
util85.4539.2886.3688 
   plotly-helpers.js10037.51001005–63

Copy link
Member

@jmelot jmelot left a comment

Choose a reason for hiding this comment

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

👍 looks good, nice refactor!

type: "scatter",
}

// TODO / QUESTION: How do we want to handle the line/shading style for the
Copy link
Member

Choose a reason for hiding this comment

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

What you have looks fine to me

@jmelot jmelot merged commit 86ffaae into version2 Oct 30, 2023
5 checks passed
@jmelot jmelot deleted the 142-add-partial-year-shading branch October 30, 2023 16:27
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