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

Feature/notification carousel #59

Merged
merged 6 commits into from
Sep 11, 2023
Merged

Feature/notification carousel #59

merged 6 commits into from
Sep 11, 2023

Conversation

ksalin
Copy link
Contributor

@ksalin ksalin commented Aug 29, 2023

Initial version after some ideas in daily meeting. The story demonstrates a situation where there are three notifications in a vertically size limited carousel, and the last notification becomes fully visible when the timed notification disappears before it. The notifications can be also manually dismissed by the close button. The carousel could be placed in a corner of a web site for example with Floating UI.

ksalin added 2 commits August 29, 2023 13:03
- Also fixed excess height bug in Notification if there is no message
@ksalin ksalin requested a review from a team August 29, 2023 10:56
@ksalin

This comment was marked as resolved.

@ksalin ksalin self-assigned this Aug 29, 2023
- Also making sure pointer events pass thru the transparent area of the div which contains the notifications with spacing
@ksalin ksalin requested a review from a team September 4, 2023 05:47
 - Moved NotificationCarouselItemWrapper inside TimedNotification, so that hidden notifications don't cause extra padding (bug)
 - True deletion from the list (timed or close button, not just hiding) works now all way from the original Notification component with help of a new callback
@ksalin ksalin force-pushed the feature/notification-carousel branch from 03581a3 to c11a6ec Compare September 11, 2023 10:05
@ksalin ksalin merged commit 4acef8e into main Sep 11, 2023
@ksalin ksalin deleted the feature/notification-carousel branch September 11, 2023 10: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.

2 participants