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

Add collapsed state for storage #2144

Merged
merged 2 commits into from
Jun 30, 2018
Merged

Add collapsed state for storage #2144

merged 2 commits into from
Jun 30, 2018

Conversation

kelvin-wong
Copy link
Contributor

The root cause of this issue is that when the folder is clicked,
the router pushed the path and the StorageItem component has been
refreshed and isOpen has been reset

  • Add storing collapse state for storage
  • Add tests
  • Default as collapsed for fallback

fix #1979 #1911

The root cause of this issue is that when the folder is clicked,
the router pushed the path and the StorageItem component has been
refreshed and isOpen has been reset

- Add storing collapse state for storage
- Add tests
- Default as collapsed for fallback

fix #1979 #1911
Copy link
Member

@sosukesuzuki sosukesuzuki left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution:+1:
Please confirm my review!

.then((storage) => {
dispatch({
type: 'EXPAND_STORAGE',
storage: storage,
Copy link
Member

Choose a reason for hiding this comment

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

please write like below:

dispatch({
  type: 'EXPAND_STORAGE',
  storage,
  isOpen
})

Copy link
Member

@sosukesuzuki sosukesuzuki left a comment

Choose a reason for hiding this comment

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

I'll merge this PR after release next version(v0.11.7)!

@sosukesuzuki sosukesuzuki added next release (v0.11.8) and removed awaiting review ❇️ Pull request is awaiting a review. labels Jun 29, 2018
@kelvin-wong
Copy link
Contributor Author

@sosukesuzuki Thanks!

@sosukesuzuki sosukesuzuki merged commit 827e3c1 into BoostIO:master Jun 30, 2018
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.

behavior about DropDownList for storage folders
2 participants