Skip to content

fix: thread disappearing after refresh#10084

Merged
GretaD merged 1 commit into
mainfrom
fix/thread-disappearing-listview
Oct 11, 2024
Merged

fix: thread disappearing after refresh#10084
GretaD merged 1 commit into
mainfrom
fix/thread-disappearing-listview

Conversation

@GretaD

@GretaD GretaD commented Sep 2, 2024

Copy link
Copy Markdown
Contributor

fixes #9759

to test

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

@GretaD GretaD self-assigned this Sep 2, 2024
@GretaD GretaD requested a review from GVodyanov September 2, 2024 10:21

@ChristophWurst ChristophWurst left a comment

Copy link
Copy Markdown
Member

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

GretaD commented Sep 2, 2024

Copy link
Copy Markdown
Contributor Author

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

kesselb commented Oct 10, 2024

Copy link
Copy Markdown
Contributor

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

@GVodyanov GVodyanov left a comment

Copy link
Copy Markdown
Contributor

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

GretaD commented Oct 10, 2024

Copy link
Copy Markdown
Contributor Author

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

@kesselb

kesselb commented Oct 10, 2024

Copy link
Copy Markdown
Contributor

I'm not aware 😕

The commits ebb7a3d and b7af783 look pretty much like ebb7a3d.

@kesselb

kesselb commented Oct 10, 2024

Copy link
Copy Markdown
Contributor

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
Comment thread src/components/MailboxThread.vue Outdated
Comment thread src/components/MailboxThread.vue Outdated
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
@GretaD GretaD deleted the fix/thread-disappearing-listview branch October 11, 2024 11:47
@kesselb

kesselb commented Oct 11, 2024

Copy link
Copy Markdown
Contributor

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

@GretaD

GretaD commented Oct 11, 2024

Copy link
Copy Markdown
Contributor Author

/backport to stable3.7

@GretaD

GretaD commented Oct 11, 2024

Copy link
Copy Markdown
Contributor Author

/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