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

21130 - Add STRR to My Registry Dashboard #199

Merged
merged 3 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading