-
Notifications
You must be signed in to change notification settings - Fork 26
Add loading overlay to chameleon iframe while template is being generated #375
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sukhrajghuman this is great work. Some of the things I have noticed:
- The spinner disappears then after a delay the template changes the colour. The spinner should show until the colour is changed.
- The delay was changed from
400
->1000
. I don't think this was intentional. Remember to have a quick look at the files changed on GitHub. role="alert"
would be a frustrating user experience as every time it gets shown the alert would get read. I personally would hate hearing "Loading your template" every time a new request is sent to Chameleon.background-color: #ffffff63;
this should use rgba, also you should test this in IE8.- You are using
background
andbackground-color
you can probably just use background, or change the other css to specific properties - When you use
AU-svguri
you don't need classes, width or height. Have a look at some of the other implementations of icons in the_icons.scss
file. - The SVG itself is quite large, look at how we have split icons into multiple lines
- Maybe a different SVG or animated GIF would be more appropriate in this situation as there are quite a lot of parts to this one.
thanks for feedback @alex-page
Nice point
Yep the svg was quite large, I think a gif will be probs be better
For some reason when I put them as one, the overlay didn't show up. Will investiagte it further. |
Nice happy to help mate! |
…signsystem into feature/loading-overlay
Yes that's correct. This is not an icon though. The default height and width for our icons is 1.25em. That would be too small. Is that what you meant? |
@sukhrajghuman nice work. I have changed a few things:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the new input
event listener changes, LGTM 👍
Feels responsive, flud and all around just a great feeling
@sukhrajghuman let me know if you are happy with the above changes. |
nice mate much better |
what do you think? could have a toast notification instead