ContentTools icon indicating copy to clipboard operation
ContentTools copied to clipboard

Flash indicator with message

Open dmshvetsov opened this issue 9 years ago • 6 comments

I do not found a way to show message with flashUI. For example with a message "Error: page is empty". Do you plan to implement this in the future? Or may be there is a workaround?

dmshvetsov avatar Dec 18 '15 03:12 dmshvetsov

Hi @shvetsovdm - There's no way to display text in flashes at the moment. Flashes are almost entirely CSS so it might be possible to override the content attribute with a short text message (you'd also need to change the font-family) - but that's probably not the best option unless you're in a pinch.

I did consider adding a MessageDialog early on - this would require a user to close the dialog (so it's not really a flash), but if that would be acceptable I'm happy to look at implementing that feature?

anthonyjb avatar Dec 20 '15 19:12 anthonyjb

Sorry @anthonyjb I don't understand your question.

dmshvetsov avatar Dec 21 '15 05:12 dmshvetsov

Sorry about that @shvetsovdm , the question I'm posing is whether a suitable alternative for a flash with text is a dialog box that shows a message?

anthonyjb avatar Dec 21 '15 07:12 anthonyjb

Did you mean a browser dialog box?

screen shot 2015-12-21 at 17 27 09

dmshvetsov avatar Dec 21 '15 07:12 dmshvetsov

In effect yes, though using the UI dialog boxes provided in content tools, e.g

image

anthonyjb avatar Dec 21 '15 09:12 anthonyjb

What about a simple notifications with close button or without button?

Like so: screen shot 2015-12-22 at 09 54 08

In some cases a ok / close / cancel click is redundant.

dmshvetsov avatar Dec 21 '15 23:12 dmshvetsov