Skip to content

Conversation

@rachelmcr
Copy link
Contributor

Part of #8149
Part of #8150

Description

This PR updates the default Revenue and Orders Analytics cards with localized placeholder data:

  • Localizes the title strings on each card.
  • Adds placeholders for the values and delta percentages.
  • Adds a helper for calculating the delta tag color.

Testing

  1. Launch the app
  2. Tap the "See More" button from the main dashboard
  3. See the Analytics view loads with the placeholder data

Screenshots

Submitter Checklist

Update release notes:

  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@rachelmcr rachelmcr added the feature: stats Related to stats, including Top Performers. label Nov 24, 2022
@rachelmcr rachelmcr added this to the 11.4 milestone Nov 24, 2022
@rachelmcr rachelmcr marked this pull request as ready for review November 24, 2022 15:03
Copy link
Contributor

@ealeksandrov ealeksandrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@rachelmcr rachelmcr enabled auto-merge November 24, 2022 15:46
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Nov 24, 2022

You can test the changes from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr8208-54fb760 on your iPhone

If you need access to App Center, please ask a maintainer to add you.

@peril-woocommerce
Copy link

Warnings
⚠️ This PR is assigned to a milestone which is closing in less than 2 days Please, make sure to get it merged by then or assign it to a later expiring milestone

Generated by 🚫 dangerJS

@rachelmcr rachelmcr merged commit 4bfdf59 into trunk Nov 25, 2022
@rachelmcr rachelmcr deleted the issue/8149-placeholder-card-data branch November 25, 2022 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: stats Related to stats, including Top Performers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Analytics Hub] Configure Revenue Analytics card [Analytics Hub] Configure Orders Analytics card

4 participants