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

refactor(ui5-notification-action): rename component #2580

Merged
merged 2 commits into from
Dec 16, 2020

Conversation

ilhan007
Copy link
Member

@ilhan007 ilhan007 commented Dec 15, 2020

Based on the feedback that NotificationOverflowAction is not completely matching its purpose and usage, as it can be both displayed within and out of the overflow popover of a notification item. We decided to rename it as follows:

  • rename NotificationOverflowAction -> NotificationAction
  • rename ui5-notification-overflow-action to ui5-notification-action

BREAKING_CHANGE If you previously used ui5-notification-overflow-action and had the following import statement:

import "@ui5/webcomponents-fiori/dist/NotificationOverflowAction.js";

now you have to use the ui5-notification-action tag and import the following module:

import "@ui5/webcomponents-fiori/dist/NotificationAction.js";

@ilhan007 ilhan007 requested a review from dimovpetar December 15, 2020 15:41
Copy link
Contributor

@georgimkv georgimkv left a comment

Choose a reason for hiding this comment

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

The shorter name describes precisely that this represents an Action and doesn't tie it to the idea of an "overflow". LGTM!

@ilhan007 ilhan007 requested review from a team and removed request for dimovpetar December 15, 2020 15:47
@ilhan007 ilhan007 merged commit 10a6b92 into master Dec 16, 2020
@ilhan007 ilhan007 deleted the rename-public-module branch December 16, 2020 09:47
niyap pushed a commit to niyap/ui5-webcomponents that referenced this pull request Dec 17, 2020
Based on the feedback that NotificationOverflowAction is not completely matching its purpose and usage, as it can be both displayed within and out of the overflow popover of a notification item. We decided to rename it as follows:
- rename `NotificationOverflowAction` -> `NotificationAction`
- rename `ui5-notification-overflow-action` to `ui5-notification-action`

BREAKING_CHANGE If you previously used `ui5-notification-overflow-action` and had the following import statement:
```js
import "@ui5/webcomponents-fiori/dist/NotificationOverflowAction.js";
```
now you have to  use the `ui5-notification-action` tag and import  the following module:
```js
import "@ui5/webcomponents-fiori/dist/NotificationAction.js";
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants