Skip to content
This repository has been archived by the owner on Mar 4, 2019. It is now read-only.

Feat: Create Slider/Multislider component #184

Merged
merged 7 commits into from
Jan 11, 2019
Merged

Conversation

lukewalczak
Copy link
Collaborator

@lukewalczak lukewalczak commented Jan 8, 2019

That PR will add slider/multislider component

Fixes: #103

@lukewalczak lukewalczak force-pushed the feat/multislider branch 2 times, most recently from 17687d1 to ec26452 Compare January 9, 2019 08:56
@lukewalczak lukewalczak requested a review from RobinCsl January 9, 2019 09:00
@lukewalczak lukewalczak changed the title [WIP] feat: Create Slider/Multislider component Feat: Create Slider/Multislider component Jan 9, 2019
package.json Outdated Show resolved Hide resolved
yarn.lock Outdated Show resolved Hide resolved
@lukewalczak lukewalczak force-pushed the feat/multislider branch 2 times, most recently from e22824d to 393b6cf Compare January 9, 2019 15:15
@netlify
Copy link

netlify bot commented Jan 9, 2019

Deploy preview for kiwicom-universal-components ready!

Built with commit 0a1ef42

https://deploy-preview-184--kiwicom-universal-components.netlify.com

@kiwicom kiwicom deleted a comment from netlify bot Jan 9, 2019
@lukewalczak lukewalczak added the WIP label Jan 9, 2019
return (value * width) / (maxValue - minValue) - LABEL_LENGTH / 2;
};

createParts = () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

What about extracting this part into some separate TrackLine component? Maybe even with those current two Views with trackLine style.

@JosefDuda
Copy link
Contributor

jan-09-2019 17-47-49

There is currently some short ugly jump in web version during initialisation. It will be nice to take care of it somehow or at least show component after everything is set. But it probably doesn't need to be solved right now and we can create separate issue for this improvement.

Otherwise awesome work!

src/Slider/Slider.js Outdated Show resolved Hide resolved
@lukewalczak lukewalczak force-pushed the feat/multislider branch 4 times, most recently from 44aab0a to c7f87dd Compare January 10, 2019 15:34
@lukewalczak lukewalczak force-pushed the feat/multislider branch 2 times, most recently from 32f5bbd to 6109b2a Compare January 10, 2019 15:47
RobinCsl and others added 2 commits January 11, 2019 13:25
Summary: Luke Walczak from CallStack had to fork react-native-multi-slider and add changes to match our requirements; there now is a fork on kiwicom org and his changes were merged in it.
Summary: This will make sure any changes to master on https://github.com/kiwicom/react-native-multi-slider.git will not unintentionally come into this code base.
Removed unnecessary rule in .storybook/webpack.config.js related to `react-native-multi-slider`.
@RobinCsl RobinCsl merged commit f848a76 into master Jan 11, 2019
@RobinCsl RobinCsl deleted the feat/multislider branch January 11, 2019 13:50
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.

3 participants