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

Swap RoomList to react-beautiful-dnd #6008

Merged
merged 4 commits into from
Jan 19, 2018
Merged

Conversation

lukebarnard1
Copy link
Contributor

@lukebarnard1 lukebarnard1 commented Jan 18, 2018

Includes themeing

See matrix-org/matrix-react-sdk#1711

// lastTargetRoom: null,
// lastYOffset: null,
// lastYDelta: null,
getStyle(isDragging) {
Copy link
Member

Choose a reason for hiding this comment

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

can we apply this style via a CSS class rather than hardcoding it in here, in order to make it skinnable/themable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't see why not, actually. I was persuaded by the library examples that all did it this way but there's no obvious advantage.

@ara4n
Copy link
Member

ara4n commented Jan 18, 2018

lgtm other than the theming point (and failing tests). very exciting!!!!

Theres no benefit to using inline styles
@lukebarnard1
Copy link
Contributor Author

The failing tests are travis being travis and not starting chrome: travis-ci/travis-ci#8836. I shall add sudo: required.

@ara4n
Copy link
Member

ara4n commented Jan 19, 2018

lgtm

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