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

feat(ObjectPage): Enable selecting a subSection by prop #213

Merged
merged 5 commits into from
Oct 31, 2019

Conversation

vbersch
Copy link
Contributor

@vbersch vbersch commented Oct 31, 2019

selectedSubSectionId: Enable selecting a subSection by prop
scrollerRef: get a reference to the internal scroller object to be able to make the ObjectPage scroll to arbitrary dom elements

@vbersch vbersch requested a review from Lukas742 October 31, 2019 12:18
@netlify
Copy link

netlify bot commented Oct 31, 2019

Deploy preview for ui5-webcomponents-react ready!

Built with commit df4cdc5

https://deploy-preview-213--ui5-webcomponents-react.netlify.com

}
}
}
}, [props.selectedSubSectionId, scroller.current, setSelectedSectionIndex, setSelectedSubSectionId]);
Copy link
Contributor

Choose a reason for hiding this comment

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

Add mode and children to dependency array

@codecov-io
Copy link

Codecov Report

Merging #213 into master will increase coverage by 0.29%.
The diff coverage is 26.31%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #213      +/-   ##
========================================
+ Coverage    73.7%    74%   +0.29%     
========================================
  Files         156    155       -1     
  Lines        3605   3600       -5     
  Branches      637    633       -4     
========================================
+ Hits         2657   2664       +7     
+ Misses        730    717      -13     
- Partials      218    219       +1
Impacted Files Coverage Δ
...c/components/ObjectPage/ObjectPageAnchorButton.tsx 73.68% <0%> (+1.88%) ⬆️
...omponents/ObjectPage/scroll/ObjectPageScroller.tsx 70.37% <100%> (ø) ⬆️
packages/main/src/components/ObjectPage/index.tsx 43.72% <23.52%> (-1.39%) ⬇️
...n/src/components/ObjectPage/scroll/ScrollHelper.ts 33.92% <0%> (+8.92%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db6d5d6...df4cdc5. Read the comment docs.

@vbersch vbersch merged commit f927ab3 into master Oct 31, 2019
@vbersch vbersch deleted the feat/obj-page-subsection branch October 31, 2019 13:19
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.

3 participants