thunderbird / thunderbird/thunderbird-android

Use GridView to display attachments

Open
#4,646 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Right now the width of the attachment boxes is limited to 300dp instead of using the full screen width. This was done so we don't end up with huge preview images when there's lots of available space (phone in landscape orientation, tablet, etc.).

In the future the app should use a GridView to make use of all available space. Then, when there's more screen space available, attachment boxes can be displayed next to each other.
Attachments with a preview image should also be grouped an displayed first. Attachments without preview should be displayed last.

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

No files, tests, or entry points are named in the issue. Start by locating the attachment display UI and its current 300dp sizing and preview ordering, then inspect how landscape and tablet layouts are tested. Done means attachments use a grid across available space, previewable items appear first, and items without previews appear last.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.