Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MDS-6169] PRR records not showing in minespace #3256

Merged
merged 9 commits into from
Oct 3, 2024

Conversation

asinn134
Copy link
Collaborator

@asinn134 asinn134 commented Sep 27, 2024

Objective

MDS-6169

  • adjusted minespace report's front end fetchMineReports call and pagination to handle CRR and PRR records separately.

(below are not part of original ticket)

  • added empty icon to project description overview to show when there is no data
  • changed project description tab to show when application is a draft

Screenshot (464)

if (!permitGuid) {
setCodeRequiredReports(mineReports);
setCRRPageData(pageData);
} else if (permitGuid) {
Copy link
Collaborator

@matbusby-fw matbusby-fw Sep 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super minor, but this could probably just be an else

@@ -0,0 +1,9 @@
import { IMineReport } from "../..";

export interface IMineReportPageData {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check out core-web ReportsTable for IPageData<IMineReport>! Generic type for the same thing, so we don't need to create as many interfaces

Copy link

sonarcloud bot commented Oct 2, 2024

Copy link

sonarcloud bot commented Oct 2, 2024

Quality Gate Passed Quality Gate passed for 'bcgov-sonarcloud_mds_minespace-web'

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
82.6% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Oct 2, 2024

Quality Gate Passed Quality Gate passed for 'bcgov-sonarcloud_mds_core-web'

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@asinn134 asinn134 merged commit 0b80766 into develop Oct 3, 2024
15 checks passed
@asinn134 asinn134 deleted the mds-6169-prr-not-showing-in-minespace branch October 3, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants