US-EPA-CAMD / easey-ui

Project Management repo for EPA Clean Air Markets Division (CAMD) Business Suite of applications
MIT License
0 stars 0 forks source link

AH: Implement Data Preview for Facility #1106

Closed JanellC closed 3 years ago

JanellC commented 3 years ago

Definition of Ready

User Story

As a CAMPD custom data download user I want to preview my dataset with facility filter criteria so that I can confirm it contains my desired data

Acceptance Criteria

Given a user has selected filter criteria When they select Preview Data Then the filter criteria is reflected in the results

Given that a user has selected filter criteria for facility When the preview data functionality is displayed Then the system displays a data table containing the data elements below for the selected criteria (limited to the first 100 records) And the data table contains a scroll functionality to show all columns/rows

Given that a user has selected preview data When the functionality is displayed Then the system will display the dataset's total record count

Context

Wireframes

Filter tags and functionality were completed in ticket Restructure Filter Components for Reusability Across All Data Types #1435

Data Preview

Refer to the CAMPD_ DataLabels_AllowanceCompliance file here Trigger: A user has entered, at a minimum, the required parameters, and selected the option to preview data.

For each record that matches the criteria, the system will display in a tabular format:

ACCOUNT_NUMBER ACCOUNT_NAME ORISPL_CODE PRG_CODE VINTAGE_YEAR TOTAL_BLOCK START_BLOCK END_BLOCK STATE EPA_REGION (2 digit number) OWN_DISPLAY ACCOUNT_TYPE

Results will display total record count (Viewing the first 100 of X records) Results are limited to 100 records (Allowance Holdings API is ordered by PRG_CODE > ACCOUNT_NUMER > VINTAGE_YEAR > START_BLOCK ) Results in preview are limited to the first 100 records Results in preview will have a scroll functionality to show all columns/rows Results columns are are sortable in ascending and descending order (alphanumeric order) . Sort is limited to the original 100 results

Testing

Test Case: Tester:

Definition of Done

JanellC commented 3 years ago

Per CAMPD PI 5 Datateers Refinement the work will be handled in Preview Allowance Holdings Data #1110