FlowFuse / FlowFuse/node-red-dashboard

Dashboard notification dismissed early

Open
#949 4 comments 0 reactions 0 assignees View on GitHub
size:S type:bug
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Current Behavior

Notification is triggered with 5 second timeout
Countdown bar starts to show progress
After 3 seconds another notification is triggered
The second notification replaces the first notification
Countdown bar starts to show progress again
After 2 seconds the notification disappears

### Expected Behavior

The first notification should remain on screen for 3 seconds and then get replaced by the second triggered button click
The second notification should remain on screen for the full 5 seconds until the timeout countdown bar has completed

### Steps To Reproduce

Add a button node and a trigger node and a notification node to the flow
Wire up to link the button node to the trigger node to the notification node
Set the repeat node to send a trigger then again after 3 seconds
Edit notification node to display top right for 5 seconds with a countdown bar
Click the button and observe the notification(s) for 5 seconds rather than 8 (3+5)

### Environment

- Dashboard version: 1.11.1
- Node-RED version: 3.1.9
- Node.js version: v20.14.0
- npm version: 10.7.0
- Platform/OS: MX Linux x64
- Browser: Firefox 126.0.1 (64-bit)

### Have you provided an initial effort estimate for this issue?

I am not a FlowFuse team member

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.