wordpress-mobile / wordpress-mobile/WordPress-Android

Improve ListState to have an error type

Open
#8,744 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

As discussed here, we sometimes need to have more information about an error than just a message when we are working with ListState. It'd be good to have a structured and flexible solution for this.

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 with WordPress/src/main/java/org/wordpress/android/models/networkresource/ListState.kt and review the discussion in pull request #8733. Determine the structured, flexible error information ListState should expose, then verify that it provides more than a message for the error cases described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.