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

fix: thread disappearing after refresh #10084

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

GretaD
Copy link
Contributor

@GretaD GretaD commented Sep 2, 2024

fixes #9759

to test

  1. open mail app on list view
  2. open a message
  3. refresh

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.

Will this cause double fetching when you don't refresh the page but navigate from one mailbox to another?

@GretaD
Copy link
Contributor Author

GretaD commented Sep 2, 2024

Will this cause double fetching when you don't refresh the page but navigate from one mailbox to another?

very good point/question. I will add a check to see if the envelopes are already being loaded before making the fetch request.

@kesselb kesselb force-pushed the fix/thread-disappearing-listview branch from b7af783 to 6ba39ef Compare October 10, 2024 11:13
@kesselb
Copy link
Contributor

kesselb commented Oct 10, 2024

I cannot replicate the problem on main and stable3.7 😕

Copy link
Contributor

@GVodyanov GVodyanov left a comment

Choose a reason for hiding this comment

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

I am testing this out, but am a little confused. On firefox the issue was not reproducible on main. On chromium, reloading the page causes the thread screen to be blank, both on main and with the fix.

@GretaD
Copy link
Contributor Author

GretaD commented Oct 10, 2024

@kesselb did you change anything when you rebased? :D

@kesselb
Copy link
Contributor

kesselb commented Oct 10, 2024

I'm not aware 😕

The commits ebb7a3d and b7af783 look pretty much like ebb7a3d.

@kesselb
Copy link
Contributor

kesselb commented Oct 10, 2024

On firefox the issue was not reproducible on main.

Same for me.

On chromium, reloading the page causes the thread screen to be blank, both on main and with the fix.

Works over here ;) It's also blank on main, but on this branch the selected thread is shown.

It's a bit odd that Thread depends on data loaded by Mailbox, but Mailbox might not be there. I hope we can restructure that in the future to have a clearer flow.

@kesselb kesselb added the bug label Oct 10, 2024
src/components/MailboxThread.vue Outdated Show resolved Hide resolved
src/components/MailboxThread.vue Outdated Show resolved Hide resolved
Signed-off-by: greta <gretadoci@gmail.com>
@GretaD GretaD force-pushed the fix/thread-disappearing-listview branch from 6ba39ef to fe12a29 Compare October 11, 2024 11:25
@GretaD GretaD merged commit 73294c6 into main Oct 11, 2024
34 checks passed
@GretaD GretaD deleted the fix/thread-disappearing-listview branch October 11, 2024 11:47
@kesselb
Copy link
Contributor

kesselb commented Oct 11, 2024

Shall we backport to stable4.0 and stable3.7?

@GretaD
Copy link
Contributor Author

GretaD commented Oct 11, 2024

/backport to stable3.7

@GretaD
Copy link
Contributor Author

GretaD commented Oct 11, 2024

/backport to stable4.0

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.

On list layout, the thread disappears after refresh
4 participants