Skip to content
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

Improve loading experience for message on thread #7562

Closed
wants to merge 5 commits into from

Conversation

GretaD
Copy link
Contributor

@GretaD GretaD commented Nov 9, 2022

ref #6045

  • Fix the message loading screen

Add minimum height to element so the spinner looks less broken. This should be less than an action message
After the loading finished, animate that the element grows to the actual message size (especially text messages)

Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: greta <gretadoci@gmail.com>
@GretaD GretaD marked this pull request as ready for review November 11, 2022 14:07
@GretaD GretaD self-assigned this Nov 11, 2022
@@ -490,6 +491,7 @@ export default {
margin-right: 10px;
background-color: var(--color-main-background);
padding-bottom: 28px;
min-height: 150px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't seem to work. the message to iframe loader still causes a jump

@GretaD
Copy link
Contributor Author

GretaD commented Nov 14, 2022

the loading starts at sec 16
i cannot see a jump with any threads im testing
Screencast from 14.11.2022 17:19:42.webm

@ChristophWurst
Copy link
Member

i cannot see a jump with any threads im testing
Screencast from 14.11.2022 17:19:42.webm

Message loading Iframe loading
Bildschirmfoto vom 2022-11-14 17-33-28 Bildschirmfoto vom 2022-11-14 17-33-34

@GretaD
Copy link
Contributor Author

GretaD commented Nov 14, 2022

Bildschirmfoto vom 2022-11-14 17-33-34

ahh, but thats the second icon(before the iframe content is shown) that i havent removed yet. You proposed to do it 3 prs and this is the second one. On this pr's description i added waht this pr does.

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 🐘

@@ -46,5 +46,16 @@ export default {
<style scoped>
#mail-content {
height: 450px;
animation: show 200ms 80ms cubic-bezier(0.38, 0.97, 0.56, 0.76) forwards;
opacity: 0.3;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next to the jumping loading icon, 2 other things (possibly for other PRs, your call):

  • The "Loading thread" message in the beginning is not needed, just show the loading thread directly
  • The height of the container is still very small. Only mails which are just 1 sentence or word long will fit in there. So the default message container height (when the loading spinner is shown) can be increased. E.g. let's say that a mail with 5-7 lines of text could fit.

Signed-off-by: greta <gretadoci@gmail.com>
@GretaD
Copy link
Contributor Author

GretaD commented Nov 16, 2022

Superseded by #7615

@GretaD GretaD closed this Nov 16, 2022
@ChristophWurst ChristophWurst deleted the fix/message-loading-screen branch November 16, 2022 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants