FOSSologyUI icon indicating copy to clipboard operation
FOSSologyUI copied to clipboard

fix(snackbar): fixed the removal of snackbar

Open Shruti3004 opened this issue 3 years ago • 3 comments

Description

Closes #154

Changes

Added setTimeout of 2 seconds for all the alerts.

How to test

Visit all the routes.

Screencast from 16-08-21 12_59_53 PM IST Screencast from 16-08-21 12_59_34 PM IST

Shruti3004 avatar Aug 16 '21 07:08 Shruti3004

Snackbar component needs some refactoring (need to convert it to a hook) We should keep this PR on hold till then.

sjha2048 avatar Aug 16 '21 14:08 sjha2048

Isn't 2 second a very small interval for someone not expecting to see a snackbar? What about increasing it to 8 or 10 seconds as user can manually close it anyways?

GMishx avatar Aug 18 '21 05:08 GMishx

Isn't 2 second a very small interval for someone not expecting to see a snackbar? What about increasing it to 8 or 10 seconds as user can manually close it anyways?

Yeah sure

Shruti3004 avatar Aug 18 '21 06:08 Shruti3004