Commit graph

25 commits

Author SHA1 Message Date
infinite-persistence
dae78c488f Stacked toast view
From the previous commit, we are now showing toasts in the reverse order (latest to oldest).

Next, extend the "hide snack" timer to handle multiple snacks. It will dismiss them one by one, restarting itself until no more toasts.

Show a stacked GUI when there are multiple toasts.

Users can still manually dismiss the toasts.
2022-05-06 13:53:39 -04:00
infinite-persistence
c970176386
Sub-message was hard to read for non-error toasts
- Non-error = pink background, Error = dark red. The former provides bad contrast for --color-text-subtitle.

- Use opacity instead of a hardcoded color.
2022-03-24 16:16:53 +08:00
infinite-persistence
5e2100000d Better handling of SDK errors
## Issue
- Errors like "unexpected token at..." and "failed to fetch" are being logged, rather than the actual call error.
- Publish SDK timeout is sometimes successful, but the user doesn't know, so they re-created the same claim

## Change
- Attempt to make the logs more helpful, and the error message more meaningful to the user.
- Starting off with 'publish' and tip SDK call as an experiment. Can add others if this method works.
2022-03-18 09:11:04 -04:00
infinite-persistence
9482a7f986 Snack: sub-message, close button and duration setting
- Add close button to allow immediate dismissal.

- Add ability to support sub messages. Will be typically used for error codes, etc.

- Add ability to define 'long' auto-dismiss duration (15s) vs. the default of 5s.
    - I didn't add 'off' because there is a comment saying that this scenario should use the Error Modal instead, so respecting that for now.
2022-03-18 00:51:44 -04:00
toshikanneko
de56aeec09 Adjust snack bar position on mobile 2022-02-14 13:50:04 +01:00
mayeaux
0c4f85fe53
MAKE ODYSEE EVEN MORE BEAUTIFUL (#539)
WE LOVE YOU RAPHAEL FOR MAKING THIS HAPPEN!
2022-02-11 13:50:55 -05:00
Dan Peterson
905a52ea61
adjust css for toast message so that it behaves as expected (text truncation via ellipsis) (#7213) 2021-10-04 09:21:59 -04:00
saltrafael
e2de9bf9e7 Fix recommended tab style issues 2021-07-08 16:08:13 -04:00
Sean Yesmunt
2c1d97f759 use LbcMessage on snackbars 2020-09-29 17:12:32 -04:00
Sean Yesmunt
edc30ce8bd fix icon shrinking on snackbars with a lot of text 2020-09-29 17:12:32 -04:00
Sean Yesmunt
6e80dbba04 use check icon on snackbars with no errors 2020-09-29 17:12:32 -04:00
Sean Yesmunt
90327a72ed add comments behind a flag 2020-07-23 11:03:00 -04:00
Sean Yesmunt
e7cdd6c13d moonpay 2020-06-03 14:16:43 -04:00
Sean Yesmunt
23355e6b21 redesign fixes 2019-11-25 12:43:45 -05:00
Sean Yesmunt
15815e5071 remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00
Sean Yesmunt
6ad31a3ce9 refactor lbrytv web server 2019-11-11 13:27:29 -05:00
Igor Gassmann
3032736026 attempt to fix restructuring branch 2017-11-27 18:48:45 -05:00
Jeremy Kauffman
3a0ffb312a
Revert "Update file structure to follow electron-webpack guidelines" 2017-11-24 16:36:10 -05:00
Igor Gassmann
dbf0fae552 Update file structure to follow electron-webpack guidelines 2017-11-24 11:31:05 -03:00
Jeremy Kauffman
3b1f63d98f enlarge snack bar, fixes #714 2017-11-09 16:55:34 -05:00
Jeremy Kauffman
de69a7c76b further css cleanup, no dependency on themes folder existing 2017-09-06 18:34:11 -04:00
btzr-io
95f68cbda8 fix load screen styles 2017-08-18 18:42:45 -06:00
btzr-io
1e465d80b1 add missing colors 2017-08-18 17:25:35 -06:00
btzr-io
9bf654e05f init migration to css vars 2017-08-17 23:37:35 -06:00
Jeremy Kauffman
ecf54f400b mostly garbage 2017-04-17 09:46:51 -04:00