Skip to content

refactor(Popovers): Remove custom logic #408

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

Merged
merged 13 commits into from
Apr 7, 2020

Conversation

MarcusNotheis
Copy link
Contributor

Remove custom open / openBy logic from Dialog, Popover and Responsive Popover and use the plain UI5 Web Component.
BREAKING CHANGE: Dialog: Remove property open. You can now open a dialog by attaching a ref to the dialog and call the method open().
BREAKING CHANGE: Popover: Removed props openBy, openByStyle, open and propagateOpenByClickEvent. For opening a popover after e.g. a button click attach a ref to the popover and use the button click hander for calling .openBy(event.target) on the popover ref.
BREAKING CHANGE: ResponsivePopover: Removed props openBy, openByStyle, open and propagateOpenByClickEvent. For opening a responsive popover after e.g. a button click attach a ref to the responsive popover and use the Button click hander for calling .open(event.target) on the responsive popover ref.

Remove custom open / openBy logic from Dialog, Popover and Responsive Popover and use the plain UI5 Web Component.
BREAKING CHANGE: **Dialog**: Remove property `open`. You can now open a dialog by attaching a ref to the dialog and call the method `open()`.
BREAKING CHANGE: **Popover**: Removed props `openBy`, `openByStyle`, `open` and `propagateOpenByClickEvent`. For opening a popover after e.g. a button click attach a ref to the popover and use the button click hander for calling `.openBy(event.target)` on the popover ref.
BREAKING CHANGE: **ResponsivePopover**: Removed props `openBy`, `openByStyle`, `open` and `propagateOpenByClickEvent`. For opening a responsive popover after e.g. a button click attach a ref to the responsive popover and use the Button click hander for calling `.open(event.target)` on the responsive popover ref.
@github-actions
Copy link

github-actions bot commented Apr 6, 2020

Coverage Status

Coverage increased (+0.6%) to 67.624% when pulling 736e017 on refactor/popover-custom-logic into 6e3d549 on master.

@MarcusNotheis MarcusNotheis requested a review from Lukas742 April 7, 2020 08:19
@MarcusNotheis MarcusNotheis merged commit 856df0b into master Apr 7, 2020
@MarcusNotheis MarcusNotheis deleted the refactor/popover-custom-logic branch April 7, 2020 08:28
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