Skip to content

Commit

Permalink
22579 - Add FED Column & Tooltips (continuation table) (#2978)
Browse files Browse the repository at this point in the history
Signed-off-by: Qin <[email protected]>
  • Loading branch information
ArwenQin authored Aug 28, 2024
1 parent 24412dc commit 9b533ef
Show file tree
Hide file tree
Showing 9 changed files with 404 additions and 42 deletions.
1 change: 1 addition & 0 deletions auth-web/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ VUE_APP_BUSINESS_CREATE_URL="https://dev.create.business.bcregistry.gov.bc.ca/"
VUE_APP_CORPORATE_ONLINE_URL="https://www.corporateonline.gov.bc.ca"
VUE_APP_NRO_URL="https://dev.bcregistrynames.gov.bc.ca/nro/"
VUE_APP_REGISTRY_SEARCH_URL="https://dev.search.business.bcregistry.gov.bc.ca/"
VUE_APP_NAMEX_WEB_URL="https://dev.namex.bcregistry.gov.bc.ca/"

#vaults API
VUE_APP_AUTH_API_URL="https://auth-api-dev.apps.silver.devops.gov.bc.ca"
Expand Down
1 change: 1 addition & 0 deletions auth-web/devops/vaults.env
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ VUE_APP_CORP_FORMS_URL="op://web-url/$APP_ENV/bcregistry/CORP_FORMS_URL"
VUE_APP_LLP_FORMS_URL="op://web-url/$APP_ENV/bcregistry/LLP_FORMS_URL"
VUE_APP_LP_FORMS_URL="op://web-url/$APP_ENV/bcregistry/LP_FORMS_URL"
VUE_APP_XLP_FORMS_URL="op://web-url/$APP_ENV/bcregistry/XLP_FORMS_URL"
VUE_APP_NAMEX_WEB_URL="op://web-url/$APP_ENV/auth-web/NAMEX_WEB_URL"

#vaults API
VUE_APP_AUTH_API_URL="op://API/$APP_ENV/auth-api/AUTH_API_URL"
Expand Down
4 changes: 2 additions & 2 deletions auth-web/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 auth-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth-web",
"version": "2.6.77",
"version": "2.6.78",
"appName": "Auth Web",
"sbcName": "SBC Common Components",
"private": true,
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
>
<header class="view-header align-center justify-space-between mt-n1 mb-4">
<h2 class="view-header__title">
Continuation Applications
Continuation Authorization Reviews
</h2>
</header>

Expand Down
4 changes: 4 additions & 0 deletions auth-web/src/models/continuation-review.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export interface ContinuationReviewIF {
results: Array<ContinuationReviewResultIF>
status: ReviewStatus
submissionDate: string // 'YYYY-MM-DDTHH:MM.SS.000+00:00
futureEffectiveDate: string // 'YYYY-MM-DDTHH:MM.SS.000+00:00
nrExpiryDate: string // 'YYYY-MM-DDTHH:MM.SS.000+00:00
}

/** The Continuation In object in the filing API response. */
Expand Down Expand Up @@ -75,6 +77,8 @@ export interface ContinuationFilingIF {
export interface ReviewFilterParams {
startDate?: string // The start date for submission date range
endDate?: string // The end date for submission date range
startEffectiveDate?: string // The start date for future effective date range
endEffectiveDate?: string // The end date for future effective date range
page?: number
limit?: number
nrNumber?: string
Expand Down
4 changes: 4 additions & 0 deletions auth-web/src/util/config-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ export default class ConfigHelper {
return `${import.meta.env.VUE_APP_NAME_REQUEST_URL}`
}

static getNameXUrl () {
return `${import.meta.env.VUE_APP_NAMEX_WEB_URL}`
}

static getBceIdOsdLink () {
return `${import.meta.env.VUE_APP_BCEID_OSD_LINK}`
}
Expand Down
6 changes: 6 additions & 0 deletions auth-web/src/util/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ export const goToNameRequest = (nameRequest: NameRequest): void => {
window.location.href = appendAccountId(`${ConfigHelper.getNameRequestUrl()}nr/${nameRequest.id}`)
}

/** Navigation handler for NameX UI. */
export const goToNameXUI = (nrNumber: string): void => {
const cleanedNrNumber = nrNumber.replace(/^NR\s*/, '')
window.open(`${ConfigHelper.getNameXUrl()}examine?nr=${cleanedNrNumber}`)
}

/** Navigation handler for OneStop application */
export const goToOneStop = (): void => {
window.location.href = appendAccountId(ConfigHelper.getOneStopUrl())
Expand Down

0 comments on commit 9b533ef

Please sign in to comment.