- Move
react
inpackage.json
fromdependency
topeerDependency
. - Promote the histogram bar tooltip DOM node to be a child of document.body.
- Allow the user to define a custom
brushDomain
viaprops
. - Update Storybook to 5.x
- The scales are updared if
yAccessor
orxAccessor
are changed - Update eslint config
- This version is broken, do not use it.
- Fix Histogram's
onIntervalChange
method not being called when the graph's histogram data changes (and the graph itself) but the domain min and max remains the same. This change will cause a little degradation in the brushing performance, since thesetState
method will be invoke many times, even when there was no changes in the brush range. We will try to address this side effect in the next version.
- Fix a bug related with data replacement on update (#36)
- Fix a bug related with screen resizing events
- Fix a bug related with the zooming interactions between the histogram and brushing areas (#26)
- Fix bug related with brush size resizing (#30)
- Exports a css file
- Ignoring directories that are irrelevant for this component releases. Like unit tests, documentation and storybook files.
- Updates .babelrc file in order to ship the source code without unit tests.
- Fixes Javascript import path.
- Adds missing check that cause the histogram to blow-up in some cases
- Handles the case when
props.data
is empty - Fixes error when switching between storybook stores
- Fixes tooltip not rendering properlly (it appeared and disappeared)
- Reduces the minimum height to 100 pixels to allow for some internal Feedzai use cases
- Publishes the
lib
folder
- Document the props and have better defaults
- Add more unit tests (still missing for Histogram.js)
- Extract the "timeline" to another module
- Remove the dependency on andtd
- Remove the dependency on lodash
- Stop
_playLapseAtInterval
if the component was unmounted - Improve method order inside main component
- Add missing jsdoc
- Remove the
randomString
key hack - Make the play button optional
- Benchmark with a lot of nodes
- Initial render is relativelly fast with 100k data points
- Tooltip highlight works smoothly with 300k data points
- Brushing works with 70k data points, and smoothly with 25k data points
- Handle different widths and heights correctly
- Remove global selectors
- Create a static page with the story book
- Added a
CONTRIBUTING.md
- Setup CI with coverage and badges
- Removes usage of
.toString()
to avoid requiring core-js.
- Reduces dependencies of the transpiled code to reduce the bundle size of the package consumers.
- Adds missing antd dependency
- Adds a build step to compile the src files
- Fixes index.js link and changes the dependencies version to match the ones in genome
- Copied the implementation from Genome
- Copied the styles from Genome
- Added a basic story to demo the histogram
- Added a basic unit test