Skip to content

[MDS-6255] view mine report definitions #3398

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

Merged
merged 25 commits into from
Feb 10, 2025

Conversation

taraepp
Copy link
Collaborator

@taraepp taraepp commented Jan 30, 2025

Objective

  • put mine report definitions on their own table
  • make it its own request
  • take it out of core static content

TO DO Done:

  • some work with sorting and filtering
  • odd test failures locally, seeing if happens in pipeline (it was an import thing)
  • changed instances where we used the static content reducer to use the new slice, but those instances aren't fetching data
  • write more tests!

MDS-6255

Why are you making this change? Provide a short explanation and/or screenshots

@@ -0,0 +1,6 @@
export interface ISearchParams {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Feels strange that we don't already have this. Nice!

@@ -113,8 +112,6 @@ export const getMajorMinesApplicationStatusCodes = (state) =>
state[STATIC_CONTENT].majorMineApplicationStatusCodes;
export const getMajorMinesApplicationDocumentTypes = (state) =>
state[STATIC_CONTENT].majorMineApplicationDocumentTypes;
export const getMineReportDefinitionOptions = (state) =>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah!

matbusby-fw
matbusby-fw previously approved these changes Feb 6, 2025
Copy link
Collaborator

@matbusby-fw matbusby-fw left a comment

Choose a reason for hiding this comment

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

🤨 I tried to find something to pick apart...but it looks pretty solid. 😁

Copy link

sonarqubecloud bot commented Feb 7, 2025

Quality Gate Failed Quality Gate failed for 'bcgov-sonarcloud_mds_minespace-web'

Failed conditions
57.1% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Copy link

sonarqubecloud bot commented Feb 7, 2025

Quality Gate Failed Quality Gate failed for 'bcgov-sonarcloud_mds_common'

Failed conditions
68.2% Coverage on New Code (required ≥ 80%)
43.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Copy link

sonarqubecloud bot commented Feb 7, 2025

Quality Gate Failed Quality Gate failed for 'bcgov-sonarcloud_mds_core-web'

Failed conditions
77.9% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@matbusby-fw
Copy link
Collaborator

Looks like there's a possibly legit error in a backend test:

>           assert (start_date <= received_date.date())
E           TypeError: can't compare datetime.datetime to datetime.date

Copy link

sonarqubecloud bot commented Feb 7, 2025

@asinn134
Copy link
Collaborator

asinn134 commented Feb 7, 2025

Nice work!😃

@taraepp taraepp merged commit 9603938 into develop Feb 10, 2025
17 of 20 checks passed
@taraepp taraepp deleted the mds-6255-view-mine-report-definitions branch February 10, 2025 15:46
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.

3 participants