Skip to content

Capital loan list table column visibility is not configurable, inconsistent with UX of other reporting tables #10106

Open
@Jinksi

Description

@Jinksi

Describe the bug

The capital loan list table column visibility is not configurable. This is inconsistent with the UX of other reporting tables, e.g. Transactions.

The menu can be enabled by setting the TableCard component prop showMenu={true} and ensuring one or more columns have the prop required: false.

If all columns are 'required', the menu should remain hidden. This should be determined as part of this issue.

To Reproduce

  1. Navigate to Payments → Capital
  2. Notice that the table columns are not configurable
To access the capital loan list table
  • Use a USA WooPayments account.
  • Visit Stripe Dashboard for relevant account. https://dashboard.stripe.com/test/connect/accounts/[account] and click Loans and Financing in the sidebar, then View all offers.
  • Click Create
  • Choose the appropriate values for what needs testing – the default starting state is undelivered
  • You should receive an offer for a loan via email. Click the link or you can just visit /wp-admin/admin.php?wcpay-loan-offer
  • Fill in the appropriate fields within the Stripe Connect interface and submit the application.
  • Stripe will confirm your application is being reviewed.
  • Open the stripe dashboard, find the offer and Approve and disburse funds (top right, … three dots menu).
  • Refreshing your WooPayments site should now show a Capital Loans menu item.

Actual behavior

The capital loan list table column visibility is not configurable, which is inconsistent with other reporting tables.

Screenshots

Capital loan table column visibility is not configurable:

Image

Transaction table column visibility is configurable:

Image

Expected behavior

The capital loan list table column visibility should be configurable to improve consistency with other reporting tables.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions