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

fix(scales): improve ticks for time domains spanning a DST switch #204

Merged
merged 1 commit into from
May 3, 2019

Conversation

flash1293
Copy link

Summary

Take current offset into account when shifting ticks back into the real domain to make sure ticks are placed correctly.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

- [ ] Any consumer-facing exports were added to src/index.ts (and stories only import from ../src except for test data & storybook)
- [ ] This was checked for cross-browser compatibility, including a check against IE11
- [ ] Proper documentation or storybook story was added for features that require explanation or tutorials

  • Unit tests were updated or added to match the most common scenarios
  • Each commit follows the convention

Take current offset into account when shifting ticks back into the real domain to make sure ticks are placed correctly.
@flash1293 flash1293 requested a review from markov00 May 3, 2019 10:53
@codecov-io
Copy link

codecov-io commented May 3, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@2a4460e). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##             master   #204   +/-   ##
=======================================
  Coverage          ?    97%           
=======================================
  Files             ?     35           
  Lines             ?   1870           
  Branches          ?    249           
=======================================
  Hits              ?   1814           
  Misses            ?     49           
  Partials          ?      7
Impacted Files Coverage Δ
src/lib/utils/scales/scale_continuous.ts 93.18% <100%> (ø)

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 2a4460e...a21c8c4. Read the comment docs.

@markov00
Copy link
Member

markov00 commented May 3, 2019

jenkins test this
I'm requesting again CI build to check the codecov, I've merged few minutes ago a fix for the coverage reporting

@markov00
Copy link
Member

markov00 commented May 3, 2019

jenkins test this

Copy link
Member

@markov00 markov00 left a comment

Choose a reason for hiding this comment

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

Code LGTM

@flash1293 flash1293 merged commit 2713336 into elastic:master May 3, 2019
@flash1293 flash1293 deleted the timezone-scale-fix branch May 3, 2019 15:41
markov00 pushed a commit that referenced this pull request May 3, 2019
## [4.0.2](v4.0.1...v4.0.2) (2019-05-03)

### Bug Fixes

* **scales:** improve ticks for time domains spanning a DST switch ([#204](#204)) ([2713336](2713336))
@markov00
Copy link
Member

markov00 commented May 3, 2019

🎉 This PR is included in version 4.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@markov00 markov00 added the released Issue released publicly label May 3, 2019
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this pull request Feb 10, 2022
## [4.0.2](elastic/elastic-charts@v4.0.1...v4.0.2) (2019-05-03)

### Bug Fixes

* **scales:** improve ticks for time domains spanning a DST switch ([opensearch-project#204](elastic/elastic-charts#204)) ([12fc7b3](elastic/elastic-charts@12fc7b3))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Issue released publicly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants