File-Server icon indicating copy to clipboard operation
File-Server copied to clipboard

Need a message widget for web

Open nicole-mcg opened this issue 7 years ago • 2 comments

There should be a widget that can create a message popup that can have an optional button for functionality.

Here are a few ideas: https://assets.econsultancy.com/images/resized/0001/6510/youtube_cookie-blog-full.png "This account is managed by" http://78.media.tumblr.com/5bad9dc0073b9cac166af51d22ee4fed/tumblr_nf8dmv7g8M1snnpbso1_r1_1280.png

nicole-mcg avatar Apr 05 '18 17:04 nicole-mcg

I've got a question about the button. Does it need to have the functionality for the optional button and a close button (ie. and "x"). Or does it just need one button with programmable functionality?

The reason I ask is because I was thinking about using react-toastify. It only allows for a close button, but I was thinking that if you only need one button then you could repurpose it, for example to a retry button for the polling issue.

If you do need both then I think I'm going to extend react-toastify so you can add a button optionally, because as far as toast notifications go, that seems to be a pretty robust package.

ericmaryea avatar Apr 05 '18 22:04 ericmaryea

I would like the popup to have an optional button as well as a close button I would like to have this custom written as it wouldn't be too complicated, it should to match the style of the rest of the site, and I would like to use the existing widgets wherever possible (Button). An easy way to get a big chunk of it done would just be to design the widget inline or block and then worry about it's universal placement after.

nicole-mcg avatar Apr 05 '18 23:04 nicole-mcg