thunderbird / thunderbird/thunderbird-android

Decouple MainActivity state handling

Open
#10,209 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Needs Technical Design and remaining work.

High Level - message part is decoupled from startup logic. Also needs to be applied to deeplink handling.
Message currently handles mail intent and startup logic. Needs a lean Main Activity, and move navigation logic from feature launcher into Main Activity.

This is a breakout of the logic in the old Message Home Activity.

Main Activity vs. Message Home Activity (old logic)

Goal: drop all those activities and fragments! Plan for a single activity approach.

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 writing the technical design for MainActivity state handling, using the old Message Home Activity logic as the baseline. Trace how startup, mail intents, deeplinks, and feature-launcher navigation currently interact. Done means the message and deeplink paths are decoupled from startup logic and the planned single-activity direction is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.