nextcloud / nextcloud/mail

Prefetch sibling messages of a message thread

Open
#7,267 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement performance 🚀
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Is your feature request related to a problem? Please describe.

When I click a message in my inbox, the full thread loads. The latest message will expand right away, the others stay closed. If I want to expand any of the other messages I have to wait for them to load. Right now this experience isn't fast.

Describe the solution you'd like

Pre-fetch those sibling messages of a thread so that they are already there when a user requests them.

Describe alternatives you've considered

N/a

Additional context

POC done in https://github.com/nextcloud/mail/pull/7059 with the findings that this will bring improvements.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the proof of concept in pull request 7059 and trace how a message thread loads when a message is opened. The work is done when sibling messages are prefetched and are available immediately when a user expands them.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.