Skip to content

UI - BOR - Update "View recently purchased documents" table statuses #23510

Closed

Description

@hfekete

Display status changes for document access requests in the table
BOR-UI
NOTE: this table also exists in the old app (search-ui), do NOT update it there as it will not be used anymore

  • three badges for different payment states
  • updates to open button for each badge state

PAID - Open button goes to document download page
PAYMENT FAILED - Goes to the document selection page for that payment, where the user can try the payment again
PAYMENT PROCESSING - Disable button until processing is complete. Put loader on the button to avoid having to change the text if payment fails and gray out row.

Figma Link: https://www.figma.com/design/JLmhc9QFKtAXijXsyTCSR8/Business-%26-Person-Search?node-id=1107-6824

Activity

  1. added
    BTR
    on Sep 24, 2024
  2. BrandonSharratt commented on Dec 21, 2024

    @BrandonSharratt
    Collaborator

    There is also a completed status, this status will just show as paid as it seems to be a time based status that is automatically migrated to after a few days of paid status (but before access expires).

    This ticket also notes that if payment is in error it should take the user to the payment page. The code for that on the main search page checks if the business legal type is "Modernized" and then redirects to the dashboard page, or if it isn't it redirects to BCOL. That said the dashboard doesn't seem to offer an open option for non modernized businesses. The document page does not have access to the legal type information as it is not saved by the required API and therefore we also can't just add it to the API. I verified this information with @mstanton1 and verified that we can just give all documents the "Modernized" treatment and redirect them to the dashboard.

  3. gunanagar commented on Jan 15, 2025

    @gunanagar
    Collaborator

    Screen Shot 2025-01-15 at 11.23.07 AM.png

  4. gunanagar commented on Jan 20, 2025

    @gunanagar
    Collaborator

    Tested looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BTR

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions