matrix-org / matrix-org/matrix-ios-sdk

Why paginate to load messages from file store?

Open
#848 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
484
Forks
225
PR merge metrics
No merged PRs in 30d

Description

Hi all,

I was wondering why the SDK always has to do a pagination to load messages? Now I always have a huge delay when the app starts loading messages. I would like users to see the stored messages immediately upon opening the app.

I can't find any documentation on this. Any suggestions on how to handle message loading on initializing would be nice.

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

The issue names no files, tests, or entry points. Start by tracing message loading during SDK initialization and the file-store pagination behavior, then determine whether the requested outcome requires a behavior change or documentation. Done means the intended loading behavior is defined and users can access stored messages without the reported startup delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.