wordpress-mobile / wordpress-mobile/WordPress-Android

[Reader] Remove EventBus from the data layer

Open
#19,571 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Enhancement Reader
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

It would greatly improve code maintainability and testability (and hence how fast we implement changes) if we removed EventBus from the context of Reader's data layer, specifically from post list requests. Since the Reader's APIs are implemented directly on WordPress-Android (instead of FluxC) it might be easier to remove EventBus here than in other places.

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 tracing the Reader data layer's post list request flow and identifying where EventBus is used. Review how the Reader APIs are implemented directly in WordPress-Android, then determine the replacement flow and verify that post list requests retain their current behavior without EventBus.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.