Skip to content

Payment activity widget: show actual dates for selected time period preset for clarity, e.g. Last 7 days: June 3 - June 9, 2024 #8928

Open
@nagpai

Description

@nagpai

Issue description

The Payment activity widget currently uses the InlineLabelSelect component.

We need a different label format for display of selection on the dropdown button

Current

Image

Design

image

To Reproduce

  1. Make sure you have the feature flag _wcpay_feature_payment_overview_widget enabled
  2. Checkout this branch and browse to Payments > Overview
  3. See the dropdown that appears on top right of the Your payment activity widget
  4. It shows as Select option: Last 7 days
  5. It should show Last 7 days: June 3 - June 9, 2024 as per design

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    category: projectsFor any issues which are part of any project, including bugs, enhancements, etc.focus: reporting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions