Skip to content

Feature: rtl support #333

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

Closed

Conversation

wuweiweiwu
Copy link
Member

@wuweiweiwu wuweiweiwu commented Jun 4, 2018

closes: #209
closes: #325
closes: #253
closes: #311

follow up to #331

  • documentation
  • add storybook example

@coveralls
Copy link

coveralls commented Jun 5, 2018

Coverage Status

Coverage decreased (-1.1%) to 74.381% when pulling d554c59 on lionben89:feature-rtl-support into c844c04 on frontend-collective:master.

@lionben89
Copy link

Hi,

Can you please check our changes and pull it into master?

Thanks

Copy link
Member Author

@wuweiweiwu wuweiweiwu 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. Some minor comments and questions

@@ -60,7 +61,7 @@ exports[`<SortableTree /> should render tree correctly 1`] = `
}
>
<div
className="rst__lineBlock rst__lineHalfHorizontalRight"
className="rst__lineBlock rst__lineHalfHorizontalRight "
Copy link
Member Author

Choose a reason for hiding this comment

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

Can you get rid of the extra space at the end?

src/tree-node.js Outdated
@@ -81,7 +84,7 @@ class TreeNode extends Component {
<div
key={`pre_${1 + i}`}
style={{ width: scaffoldBlockPxWidth }}
className={`${'rst__lineBlock'} ${lineClass}`}
className={`${'rst__lineBlock'} ${lineClass} ${directionClass}`}
Copy link
Member Author

Choose a reason for hiding this comment

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

you can use classnames here

@@ -49,6 +49,7 @@ exports[`<SortableTree /> should render tree correctly 1`] = `
>
<div
className="rst__node"
direction={undefined}
Copy link
Member Author

Choose a reason for hiding this comment

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

why is this undefined in a lot of places?

@wuweiweiwu
Copy link
Member Author

Wow @lionben89 I'm really impressed.

screen shot 2018-06-06 at 1 05 14 am

All that is left is adding documentation and a storybook example. If you don't want to add the storybook example I can do it.

@wuweiweiwu wuweiweiwu mentioned this pull request Jun 6, 2018
2 tasks
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.

rtl-support RTL drag and drop issue RTL support? Does the component support direction changing?
3 participants