-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Animate the Empty State #19954
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0125742c76895ef142 |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @eVoloshchak ( |
Will share a Lottie file as soon as I have it! |
@shawnborton I'm wondering if we should just add the gradient to the images themselves rather than masking with a gradient- is there a reason to use a flat color here? |
@shawnborton for that mask example, what is the height of the mask over the image? Is it 100% height and width? |
Yup exactly! |
planning on working on this again once I wrap up the docs I'm updating |
still working on this |
We already have an issue to animate the empty state FYI - linking here so we don't do duplicate work #16366 |
@thienlnam this is just adding the lottie animations- the linked issue is for tilt screen animations- I don't think it's dupe |
@grgia agree this is not a dupe, but maybe we should clarify this issue title like "Add empty state illustrations to thread reports". |
@roryabraham I can separate the issues as well |
Delay on this - making Lottie resize and repeat like an image has been a little bit more complicated, still working on getting it to look good on all screen sizes |
Not overdue, but not a priority. |
Checking see if anyone from callstack wants to take this https://expensify.slack.com/archives/C03UK30EA1Z/p1711454705303899 |
Triggered auto assignment to @JmillsExpensify ( |
|
Posted in SWM https://expensify.slack.com/archives/C04878MDF34/p1711560191194859 Otherwise, going to make this external from this point |
Hey! @SzymczakJ is interested, he'll post a comment today morning 😄 |
Hey! I’m Jakub Szymczak from Software Mansion, an expert agency, and I’d like to work on this issue! |
Try these! |
https://expensify.slack.com/archives/C03KN50J0PM/p1685627642791289 ExpensifyLottieFiles_060123 (1).zip dark mode assets / original slack thread for future ref! |
I have a design question: Such 'repeat' feature won't be done easily since Lottie doesn't support this. Can we stick to the single animation in the center? It will simplify the code by a lot and personally I think it looks better: |
I think we could, but perhaps we should make the image way bigger. Ideally we want this to feel as similar to the existing empty state as possible. |
Making image bigger when display width is bigger than image is definitely a good idea! How much bigger should the image be? Right now image height for a big screen is 450px. My proposition is: when the image width becomes smaller than display width, then we could enlarge it so the height is for example 800px(width will be scaled accordingly). This is how this looks like when display width is almost 3000px |
Hmm yeah, good shout there. I bet we can update the animation to better match the existing dimensions of the empty state. Can you let me know what the existing empty state dimensions are? Perhaps even attach the svg here too if you can - thanks! |
Current state(original image dimensions are 3896 × 1048): New animations(original image dimensions are 3750 × 1120): |
Are we close to wrapping this up? Asking because we're adding all bugs and new feature issues to VIP and Wave GH projects that are aligned with our roadmap and releases and this doesn't really fit into any. Trying to figure out how best to manage or, if we want to close. |
Hmm those are valid points. This is really just design polish at this point and the current empty state seems to be working just fine. I would be fine closing this one out so we can focus on higher priorities. |
Going to close this then - sorry for the false alarm @SzymczakJ |
@shawnborton do we just need to change the asset sizes? I think @SzymczakJ was nearly done with the implementation otherwise. Totally fine if we don't have the design capacity to QA this right now, but it maybe it's still worth it to push this one through while the works been done and we already have this rad animation? |
Yeah, I think there are a couple of things that we need to consider here:
|
lowperf.movThere is a visible drop of frames when scrolling through chat with having an animation in the background. This animation consists of many elements, so the drop of frames is normal. After talking to some animation experts in SWM and trying Lottie optimisation tools I don't think we can speed up this animation in any way apart from making the animation simpler. |
Hmm, given the performance impact/needing to update assets, maybe @shawnborton's right that it's best to table this issue for now. Do you agree? |
Yeah, I'm thinking we just table this. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
We have some lottie animations, let's use them + add a gradient and animate the empty state.
The background animation will need to work for both themes.
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: