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

#2059 - Rename Item in Regulatory Dropdown Field for Institutions #2077

Merged

Conversation

sh16011993
Copy link
Collaborator

@sh16011993 sh16011993 commented Jul 4, 2023

As a part of this PR, updated the ITA to Skilled Trades BC label in the Regulatory Program Dropdown of the Create Program Institution page.

Screenshot of the dropdown menu for Create Program page:
image

Screenshot of the dropdown menu for Institution Create Profile page:
image

There is also database migration to change the existing ita values in the database to skilledTradesBC value for both the institutions and education programs relations.

@sh16011993 sh16011993 added Form.io Form IO definitions changed. DB DB migration involved labels Jul 4, 2023
@sh16011993 sh16011993 self-assigned this Jul 4, 2023
await queryRunner.query(
getSQLFileData(
"Update-regulatory-body-ita-code.sql",
"EducationPrograms",
Copy link
Contributor

Choose a reason for hiding this comment

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

just wondering, since the migration affects 2 different entities. how about creating 2 .sql files in the respective entity folders, and add in the same migration file? something like this,
image

Copy link
Collaborator

Choose a reason for hiding this comment

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

For history, I think that it would be better as @ann-aot mentioned.
The idea to have the SQL files more table centered is to check the changes along the time with a particular entity, so it would make sense.

Copy link
Contributor

@ann-aot ann-aot left a comment

Choose a reason for hiding this comment

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

LGTM. Just one comment

Copy link
Collaborator

@andrewsignori-aot andrewsignori-aot left a comment

Choose a reason for hiding this comment

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

Great work, please add the missing institutionprofile.json.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link

github-actions bot commented Jul 5, 2023

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 17.89% ( 2127 / 11890 )
Methods: 8.32% ( 126 / 1515 )
Lines: 20.68% ( 1863 / 9008 )
Branches: 10.1% ( 138 / 1367 )

@github-actions
Copy link

github-actions bot commented Jul 5, 2023

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 49.81% ( 267 / 536 )
Methods: 41.56% ( 32 / 77 )
Lines: 55.33% ( 218 / 394 )
Branches: 26.15% ( 17 / 65 )

@github-actions
Copy link

github-actions bot commented Jul 5, 2023

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 71% ( 399 / 562 )
Methods: 61.97% ( 44 / 71 )
Lines: 72.97% ( 351 / 481 )
Branches: 40% ( 4 / 10 )

Copy link
Collaborator

@guru-aot guru-aot left a comment

Choose a reason for hiding this comment

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

LGTM, please split the migration file.

@github-actions
Copy link

github-actions bot commented Jul 5, 2023

E2E SIMS API Coverage Report

Totals Coverage
Statements: 50.18% ( 3543 / 7061 )
Methods: 45.63% ( 418 / 916 )
Lines: 55.38% ( 2915 / 5264 )
Branches: 23.84% ( 210 / 881 )

Copy link
Collaborator

@dheepak-aot dheepak-aot left a comment

Choose a reason for hiding this comment

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

Looks Good 👍

Copy link
Contributor

@ann-aot ann-aot left a comment

Choose a reason for hiding this comment

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

Thanks for doing the changes 👍 LGTM

Copy link
Collaborator

@andrewsignori-aot andrewsignori-aot left a comment

Choose a reason for hiding this comment

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

Thanks for doing the changes, looks good 👍

Copy link
Collaborator

@guru-aot guru-aot left a comment

Choose a reason for hiding this comment

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

LGTM

@sh16011993 sh16011993 merged commit e3b3ee7 into main Jul 5, 2023
@sh16011993 sh16011993 deleted the 2059_institutions_rename_item_in_regulatory_dropdown_field branch July 5, 2023 18:53
@sh16011993 sh16011993 temporarily deployed to DEV July 5, 2023 19:18 — with GitHub Actions Inactive
@sh16011993 sh16011993 temporarily deployed to DEV July 5, 2023 19:21 — with GitHub Actions Inactive
@sh16011993 sh16011993 temporarily deployed to DEV July 5, 2023 19:21 — with GitHub Actions Inactive
@sh16011993 sh16011993 temporarily deployed to DEV July 5, 2023 19:21 — with GitHub Actions Inactive
@sh16011993 sh16011993 temporarily deployed to DEV July 5, 2023 19:21 — with GitHub Actions Inactive
@sh16011993 sh16011993 temporarily deployed to DEV July 5, 2023 19:24 — with GitHub Actions Inactive
@sh16011993 sh16011993 temporarily deployed to DEV July 5, 2023 19:24 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DB DB migration involved Form.io Form IO definitions changed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants