matrix-org / matrix-org/matrix-rust-sdk

Add new `DateDividerMode.None` when creating a timeline using `TimelineConfiguration`

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

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.3k
Forks
500
Avg merge
1d 16h
Merged PRs (30d)
106

Description

When loading a timeline for swiping between media, the value `DateDividerMode.Montlhy` is used. But then the application is filtering out the date separator.

Ideally a new enum value `DateDividerMode.None` would be added to prevent the SDK from adding useless date separator.

This is a P3 issue, to be seen as a small optimization, but still nice to have!

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 locating the DateDividerMode enum and TimelineConfiguration handling in the SDK. Confirm how DateDividerMode.Montlhy currently adds separators, then verify that the new None value prevents separators when creating a timeline for media swiping.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.