WordPress-Android icon indicating copy to clipboard operation
WordPress-Android copied to clipboard

[Blogging prompts] Implement prompts list screen

Open RenanLukas opened this issue 2 years ago • 1 comments

Screen

Implement prompts list screen to list with the following states:

Loaded

For now, the loaded items should not have a click listener. The states for each item (e.g. the "Answered" label) should be respected. image

Loading

image

Error

image

Empty

image

No connection

image
  • Maybe we can use the existing ActionableEmptyView for the empty, error, loading and no connection states;
  • It should be possible to swipe between the three filters ("ALL", "ANSWERED" and "NOT ANSWERED") and also tap on each tab to switch between them;

Entry point

This screen will be accessed from an option in the overflow menu located in the "Prompts" card , shown in "My Site" -> HOME tab: Screen Shot 2022-09-05 at 4 36 19 PM

We should have the option "View more prompts" added as the first item on the menu, and it will open the prompts list screen. Right now this menu has the "View more promps" option added but not visible (see blogging_prompt_card_menu.xml).

Setup

In order to see the "Prompts" card on "My Site" -> HOME tab: 1 - Build and install the Jetpack app; 2 - Login and select a site. The selected site must have a few blog posts; 3 - Select "My Site" in bottom navigation and then the HOME tab; 4 - "Prompts" card should be visible.

RenanLukas avatar Sep 05 '22 20:09 RenanLukas

We're using this issue as a trial project.

RenanLukas avatar Sep 05 '22 22:09 RenanLukas

Implementation tasks completed and merged in various PRs.

thomashorta avatar Jan 18 '23 14:01 thomashorta