thunderbird / thunderbird/thunderbird-android

Message Reader — Compose Rewrite: Create Message Reader State Data Object

Open
#10,844 0 comments 0 reactions 1 assignee View on GitHub

@dani-zilla is already working on this.

Since Apr 9, 2026.

tb-team
Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

The current implementation of the Message View/Reader doesn't just use views, it largely uses the MVC pattern. There are a few instances where state for the view is pulled from multiple data objects and provided from a variety of sources. This can create an issue lacking a single source of truth, and the likelihood of creating a mutable state is too high. Performance will suffer in a Jetpack view with this.

Create a data object that can encapsulate the data we need to display a message reader view, to eventually be prepared by a viewmodel we'll create or a state machine owned by the viewmodel.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.