Skip to content

Commit

Permalink
21130 - Add STRR to My Registry Dashboard (#199)
Browse files Browse the repository at this point in the history
* add STRR to My Registry Dashboard

* 2.1.12

* add STRR_URL to vaults
  • Loading branch information
Jxio authored Dec 18, 2024
1 parent 4e6d41a commit 3547537
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
3 changes: 2 additions & 1 deletion devops/vaults.env
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ REGISTRIES_API_GATEWAY_URL="op://web-url/$APP_ENV/bcregistry/REGISTRIES_API_GATE
PPR_URL="op://web-url/$APP_ENV/ppr-ui/PPR_WEB_URL"
SITEMINDER_LOGOUT_URL="op://web-url/$APP_ENV/siteminder/SITEMINDER_LOGOUT_URL"
SUPPORT_FILING_URL="op://web-url/$APP_ENV/bcregistry/SUPPORT_FILING_URL"
STRR_URL="op://web-url/$APP_ENV/bcregistry/STRR_URL"

#vaults API
AUTH_API_URL="op://API/$APP_ENV/auth-api/AUTH_API_URL"
Expand All @@ -48,4 +49,4 @@ KEYCLOAK_CLIENTID="op://keycloak/$APP_ENV/ppr-web/UI_KEYCLOAK_RESOURCE_NAME"
#google analytic
GTAG_ID="op://google-analytics/$APP_ENV/developer/GTAG"
GTAG_DEBUG="op://google-analytics/$APP_ENV/developer/GTAG_DEBUG"
GTM_ID="op://google-analytics/$APP_ENV/developer/GTM"
GTM_ID="op://google-analytics/$APP_ENV/developer/GTM"
3 changes: 2 additions & 1 deletion enums/productCode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export enum ProductCode {
VS = 'VS',
BCA = 'BCA',
ESRA = 'ESRA',
NDS = 'NDS'
NDS = 'NDS',
STRR = 'STRR'
}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bc-registry",
"version": "2.1.11",
"version": "2.1.12",
"private": true,
"scripts": {
"dev": "nuxt",
Expand Down
Binary file added static/img/STRR_dashboard_thumbnail_image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions utils/user-product-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ export function getProductInfo (config, type: ProductCode): ProductI {
text: 'Search for B.C. government information on the environmental condition of land.',
title: 'Site Registry'
} as ProductI
case ProductCode.STRR:
return {
image: 'img/STRR_dashboard_thumbnail_image.jpg',
link: appendAccountId(config?.strrURL) || 'link_not_configured',
text: 'Register your short-term rental property, platform service provider, or ' +
'strata-titled hotel or motel with the province.',
title: 'Short-Term Rental Registry'
} as ProductI
case ProductCode.VS:
return {
image: 'img/VS_dashboard_thumbnail_image.jpg',
Expand Down

0 comments on commit 3547537

Please sign in to comment.