-
Notifications
You must be signed in to change notification settings - Fork 270
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
ui5-notification-li: new component #1478
Comments
Hi @codefactor, |
@MarcusNotheis @ilhan007 @vladitasev , We are thinking to add this to a SuccessFactors web component version of the header which needs to be runnable from arbitrary page - it could be UI5 or React or legacy no-framework page. So using React in this case would be inconvenient. Though some of our pages do use React. I wonder, is there any chance this might be started soon? Also, I wonder, if this is a good or bad example of something that SuccessFactors team could consider to contribute to ui5-webcomponents as open source contributor? We are taking a look at this among other possibilities. |
This will be prioritized for the next public release (RC8), but hopefully finished much sooner (before mid of May) |
Note: the design has changed: We'll implement the latest Fiori design, as currently shown in the screenshot. New component:
The new component is a list item. As discussed, notification list group will be part of the initial scope. Edit: scope adjusted to reflect that there will be no selection modes and other list-related functionality, that is not applicable to notification list items. |
Update: scope has changed. Notification list group will be part of the initial scope. |
If you compare this with the original, there are only a few little differences:
|
One more thing - I wasn't able get it to work with a "busy-indicator" on any level outside of the parent level. To explain, when the user does something, such as mark an item as read or click on the "See 1 old" button, these activate asynchronous actions that may take some time. In OpenUI5 we could bind against the busy property, but in UI5 web components we can only wrap the thing we want with a You can have a try by trying the following github:
Then open http://localhost:8081/test-resources/pages/index.html?delay=3000 This will add artificial 3 second delay to the mocks and then open the notification side panel, and try out the "See 1 Old" button. You will find 2 places where the busy flag is passed down: In these cases they are given the busy, or parentBusy - where parentBusy is the busy flag on the group level and busy is the flag on the item level. So in my case those busy flags are not utilized right now -- you could try to add the Can you please have a try and let me know if you can easily solve this issue with a quick fix? |
Hello @codefactor
It seems the NotificationListGroup "datetime" property is deprecated. https://openui5.hana.ondemand.com/api/sap.m.NotificationListGroup#controlProperties Also, I tried the nightly version, set "datetime", but it does not show up anywhere: http://veui5infra.dhcp.wdf.sap.corp:8080/snippix/#46822
I checked sap.m.NotificationListGroup and it behaves the same, neither the heading of the group item wraps, nor the actions. See the "Accept all" button does not wrap too. Best, |
Hello @codefactor |
@ilhan007 , |
Is your feature request related to a problem? Please describe.
The SuccessFactors UI5 header supports a Notification List for displaying notification items when the "bell" icon is clicked. The Notification List which is part of sap.m library has no UI5 web component equivalent.
Here is a link to sample in sap.m:
http://veui5infra.dhcp.wdf.sap.corp:8080/sapui5-sdk-dist/#/entity/sap.m.NotificationListItem/sample/sap.m.sample.NotificationListItem
Describe the solution you'd like
At least the usage of NotificationList in SuccessFactors should be supported - but ideally the entire functionality of NotificationListItem/Group should be supported.
Describe alternatives you've considered
Using the custom list item and styling the contents manually.
Additional context
Add any other context or screenshots about the feature request here.
This is our UI5 version of the notification list (showing with sample data):
The text was updated successfully, but these errors were encountered: