-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Add env vars and i18n translations (#184)
* update env.sample * update vault env * fix auth web var name * update runtime config with env vars * add urls from runtime config * update cards to use links from config * update french md files with new card config * fix homebanner responsive sizing * ppr sizing * add i18n * add french i18n * add i18n for component test
- Loading branch information
Showing
78 changed files
with
939 additions
and
1,375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
# This is based on Vue's great RFC template https://github.com/vuejs/rfcs/blob/master/0000-template.md | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please fill out this Request For Comment - feature request! | ||
Fill out the following sections in as much detail as you can, then encourage others to join in. | ||
- type: dropdown | ||
id: Product | ||
attributes: | ||
label: Select Release Product | ||
options: | ||
- Business Registry | ||
- Personal Property | ||
- Manufactured Homes | ||
- Business Search | ||
- Director Search | ||
- Names Request or Examination | ||
- type: textarea | ||
attributes: | ||
label: Summary | ||
description: Brief explanation of the issue or problem to solve. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Basic Example | ||
description: If the proposal involves anything new or changed, include a basic example. | ||
|
||
- type: textarea | ||
attributes: | ||
label: Motivation | ||
description: | | ||
Why are we doing this? What use cases does it support? What is the expected outcome? | ||
Please focus on explaining the motivation so that if this RFC is not accepted, the motivation could be used to develop alternative solutions. In other words, enumerate the constraints you are trying to solve without coupling them too closely to the solution you have in mind. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Detailed Design | ||
description: | | ||
This is the bulk of the RFC. Explain the design in enough detail for somebody familiar with the BC Registry applications to understand, and for somebody familiar with the implementation to implement. This should get into specifics and corner-cases, and include examples of how the feature is used. Any new terminology should be defined here. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Requirements List | ||
value: | | ||
### Must Have: | ||
- A | ||
- B | ||
### Should Have: | ||
- C | ||
### Could Have: | ||
- D | ||
### Won't Have: | ||
- E | ||
description: | | ||
What is required to make this feature a success? | ||
Please use [the MoSCoW method](https://en.wikipedia.org/wiki/MoSCoW_method) to describe the requirements. | ||
You can use [gherkin](https://cucumber.io/docs/gherkin/reference/) to desribe the acceptance criteria. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Drawbacks | ||
description: | | ||
Why should we **not** do this? Please consider: | ||
- implementation cost, both in term of code size and complexity | ||
- whether the proposed feature can be implemented in user space | ||
- the impact on teaching people | ||
- integration of this feature with other existing and planned features | ||
- cost of migrating existing applications (is it a breaking change?) | ||
There are tradeoffs to choosing any path. Attempt to identify them here. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Alternatives | ||
description: | | ||
What other designs have been considered? What is the impact of not doing this? | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Adoption Strategy | ||
description: | | ||
If we implement this proposal, how will existing developers adopt it? Is this a breaking change? Can we write a migration? How will this affect other projects in the BC Registry or SBC-Connect ecosystem? | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Unresolved Questions | ||
description: | | ||
What parts of this request are still unknown? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: BCREGISTRY UI CD | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
inputs: | ||
target: | ||
description: "Deploy To" | ||
required: true | ||
type: choice | ||
options: | ||
- dev | ||
- test | ||
- sandbox | ||
- prod | ||
|
||
jobs: | ||
bcregistry-ui-cd: | ||
uses: bcgov/bcregistry-sre/.github/workflows/frontend-cd.yaml@main | ||
with: | ||
target: ${{ inputs.target }} | ||
node_version: "20.15.0" | ||
app_name: "bcregistry" | ||
working_directory: "." | ||
secrets: | ||
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }} | ||
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: BCREGISTRY UI CI | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
bcregistry-ui-ci: | ||
uses: bcgov/bcregistry-sre/.github/workflows/frontend-ci.yaml@main | ||
with: | ||
node_version: "20.15.0" | ||
app_name: "bcregistry" | ||
working_directory: "." | ||
codecov_flag: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,59 @@ | ||
<script setup lang="ts"> | ||
const MAILTO_HREF = '' | ||
const BCROS_HREF = '' | ||
const MAILTO_HREF = 'mailto:[email protected]?subject=BC%20Registries%20Support%20Request' | ||
const BCROS_HREF = 'https://www2.gov.bc.ca/gov/content/governments/organizational-structure/' + | ||
'ministries-organizations/ministries/citizens-services/bc-registries-online-services' | ||
</script> | ||
<template> | ||
<div class="w-full bg-bcGovColor-footer p-4 text-white sm:py-9"> | ||
<div class="mx-auto flex max-w-bcGovLg flex-col gap-4 md:flex-row"> | ||
<div class="flex-1"> | ||
<h3 class="border-b border-blue-300 py-2 text-center text-xl font-semibold sm:text-left"> | ||
Need more information? | ||
{{ $t('labels.needMoreInfo') }} | ||
</h3> | ||
<p class="py-6"> | ||
To learn more about BC Registries and Online Services, please | ||
<a | ||
:href="BCROS_HREF" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<span class="underline">visit the BC Registries and Online Services information page</span> | ||
</a> | ||
<UIcon name="i-mdi-open-in-new" class="ml-1 size-5 align-middle" /> | ||
</p> | ||
<i18n-t keypath="contactInfo.bcros.moreInfo.link.p" tag="p" scope="global" class="py-6 text-white"> | ||
<template #link> | ||
<a class="text-white underline" target="_blank" :href="BCROS_HREF" rel="noopener noreferrer"> | ||
{{ $t('contactInfo.bcros.moreInfo.link.link') }} | ||
</a> | ||
<span class="ml-1 inline-flex pb-1 align-middle"> | ||
<UIcon name="i-mdi-open-in-new" class="size-4 shrink-0 text-white" /> | ||
</span> | ||
</template> | ||
</i18n-t> | ||
</div> | ||
<div class="flex-1 md:max-w-md lg:max-w-lg"> | ||
<h3 class="border-b border-blue-300 py-2 text-center text-xl font-semibold sm:text-left"> | ||
Contact Us | ||
{{ $t('labels.contactUs') }} | ||
</h3> | ||
<div class="space-y-7 py-6 pb-0 sm:pb-6"> | ||
<p> | ||
For support or questions, contact us at: | ||
{{ $t('contactInfo.bcros.support.general') }} | ||
</p> | ||
<ul class="space-y-1"> | ||
<li> | ||
<span>Toll Free: <a class="underline" href="tel:+1-877-526-1526">1-877-526-1526</a></span> | ||
<span> {{ $t('contactInfo.bcRegGeneral.tollFree.title') }} <a class="underline" href="tel:+1-877-526-1526">1-877-526-1526</a></span> | ||
</li> | ||
<li> | ||
<span>Victoria Office: <a class="underline" href="tel:+1-250-387-7848">250-387-7848</a></span> | ||
<span> {{ $t('contactInfo.bcRegGeneral.victoriaOffice.title') }} <a class="underline" href="tel:+1-250-387-7848">250-387-7848</a></span> | ||
</li> | ||
<li> | ||
<span>Email: <a class="underline" :href="MAILTO_HREF">[email protected]</a></span> | ||
<span> {{ $t('contactInfo.bcRegGeneral.email.title') }} <a class="underline" :href="MAILTO_HREF">[email protected]</a></span> | ||
</li> | ||
</ul> | ||
|
||
<p> | ||
For account setup and login support, contact us at: | ||
{{ $t('contactInfo.bcros.support.account') }} | ||
</p> | ||
<ul> | ||
<li> | ||
<span>Toll Free: <a class="underline" href="tel:+1-877-370-1033">1-877-370-1033</a></span> | ||
<span> {{ $t('contactInfo.bcRegGeneral.tollFree.title') }} <a class="underline" href="tel:+1-877-370-1033">1-877-370-1033</a></span> | ||
</li> | ||
</ul> | ||
|
||
<p> | ||
<strong>Hours of Operation:</strong> | ||
<strong>{{ $t('contactInfo.bcRegGeneral.hours.title') }}</strong> | ||
<br> | ||
Monday to Friday, 8:30am - 4:30pm Pacific time | ||
{{ $t('contactInfo.bcRegGeneral.hours.value') }} | ||
</p> | ||
</div> | ||
</div> | ||
|
Oops, something went wrong.