bcgov / lcfs

An online application for fuel suppliers to manage their compliance obligations under the Low Carbon Fuels Act
Apache License 2.0
5 stars 3 forks source link

LCFS - Transactions page & table #190

Closed justin-lepitzki closed 8 months ago

justin-lepitzki commented 1 year ago

Ticket Completion: LCFS - Transactions Page & Table #190

Description:

Develop a new Transactions page featuring a detailed transactions table. This page should be accessible to both IDIR and BCeID users. Notably, BCeID users will only have visibility over transactions associated with their respective organization. The table should include the following columns, arranged from left to right: ID, Compliance Period, Type, Units From, Units To, Number of Units, Value per Unit, Status, and Last Updated On. The default sorting of the table should be by the latest ID in descending order. Ensure that the column widths are adequately formatted to display transaction information clearly. Implement selectable and searchable drop-downs for columns associated with a look-up table. The table should be server-side to optimize performance. Additionally, disable search/filtering options for the 'Units From' and 'Units To' columns. A reference screenshot of a react table from TFRS can be found in a private Zenhub image.

Screenshot of react table from TFRS: Private Zenhub Image

Purpose and Benefit to User:

This feature enables users to efficiently view and manage transactions related to their organization, enhancing the user experience by providing a comprehensive and easy-to-navigate interface.

Acceptance Criteria:

  1. Given I am a BCeID user, When I access the Transactions page, Then I should only be able to view transactions related to my organization.
  2. Given I am an IDIR user, When I access the Transactions page, Then I should be able to view all transactions.

Development Checklist:

Notes:

AlexZorkin commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @hamed-valiollahi @jig-patel @kevin-hashimoto @prv-proton

justin-lepitzki commented 11 months ago

Please add your planning poker estimate with Zenhub @hamed-valiollahi

Grulin commented 8 months ago

Currently the default sorting of the table is by the latest ID in ascending order (newest transaction goes to the end of the table). The default sorting of the table should be by the latest ID in descending order.