Skip to content

Commit 1fcdb82

Browse files
committed
Update showcase name for rebranding
Signed-off-by: jamshale <jamiehalebc@gmail.com>
1 parent 4a87330 commit 1fcdb82

19 files changed

Lines changed: 39 additions & 39 deletions

File tree

.github/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@ helm install my-showcase bc-wallet-showcase/showcase --version <chart-version>
142142
## Related docs
143143

144144
- Root [README.md](../README.md) — run and Docker overview for developers.
145-
- [DEVELOPER/BC Wallet Showcase.md](../DEVELOPER/BC%20Wallet%20Showcase.md) — Traction, env files, and OpenShift-oriented notes.
145+
- [DEVELOPER/BC Digital Trust Showcase.md](../DEVELOPER/BC%20Digital%20Trust%20Showcase.md) — Traction, env files, and OpenShift-oriented notes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# BC Wallet Showcase Developer Documentation
1+
# BC Digital Trust Showcase Developer Documentation
22

33
https://github.com/bcgov/BC-Wallet-Demo
44

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cp server/.env.example server/.env
1818
cp frontend/.env.example frontend/.env
1919
```
2020

21-
The placeholder values in `.env.example` are enough to start the app locally. To issue or verify **real** credentials you need a [Traction](https://digital.gov.bc.ca/digital-trust/technical-resources/traction/) tenant — set `TRACTION_TENANT_ID`, `TRACTION_TENANT_API_KEY`, `TRACTION_URL`, `TRACTION_DID`, and `WEBHOOK_SECRET` in `server/.env`. To test with a mobile wallet, run `ngrok http 5000` and set `SHOWCASE_PUBLIC_ORIGIN` to the ngrok URL — the same tunnel handles both Traction webhooks and short QR invitation URLs. See [DEVELOPER/BC Wallet Showcase.md](DEVELOPER/BC%20Wallet%20Showcase.md) for the full setup.
21+
The placeholder values in `.env.example` are enough to start the app locally. To issue or verify **real** credentials you need a [Traction](https://digital.gov.bc.ca/digital-trust/technical-resources/traction/) tenant — set `TRACTION_TENANT_ID`, `TRACTION_TENANT_API_KEY`, `TRACTION_URL`, `TRACTION_DID`, and `WEBHOOK_SECRET` in `server/.env`. To test with a mobile wallet, run `ngrok http 5000` and set `SHOWCASE_PUBLIC_ORIGIN` to the ngrok URL — the same tunnel handles both Traction webhooks and short QR invitation URLs. See [DEVELOPER/BC Digital Trust Showcase.md](DEVELOPER/BC%20Digital%20Trust%20Showcase.md) for the full setup.
2222

2323
### 2. Start the stack
2424

cypress/e2e/admin_page_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe('Admin Portal Authentication', () => {
6262

6363
it('shows the login page with the Admin Log In button', () => {
6464
cy.visit(ADMIN_PATH)
65-
cy.contains('BC Wallet Showcase').should('be.visible')
65+
cy.contains('BC Digital Trust Showcase').should('be.visible')
6666
cy.contains('button', 'Admin Log In').should('be.visible')
6767
})
6868

cypress/e2e/home_page_spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
describe('Landing Page', () => {
2-
it('loads and shows the BC Wallet Showcase heading', () => {
2+
it('loads and shows the BC Digital Trust Showcase heading', () => {
33
cy.visit('/')
4-
cy.contains('BC Wallet Showcase').should('be.visible')
4+
cy.contains('BC Digital Trust Showcase').should('be.visible')
55
})
66

77
it('has a Get started button that navigates to the onboarding page', () => {

cypress/e2e/usecase_page_spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ describe('Protected Routes', () => {
55
// Visiting directly without completing onboarding should redirect to the landing page.
66
cy.visit(`${BASE_ROUTE}/uc/some-use-case`)
77
cy.url().should('include', BASE_ROUTE).and('not.include', '/uc/')
8-
cy.contains('BC Wallet Showcase').should('be.visible')
8+
cy.contains('BC Digital Trust Showcase').should('be.visible')
99
})
1010

1111
it('redirects to the landing page when visiting the dashboard without onboarding', () => {
1212
cy.visit(`${BASE_ROUTE}/dashboard`)
1313
cy.url().should('include', BASE_ROUTE).and('not.include', '/dashboard')
14-
cy.contains('BC Wallet Showcase').should('be.visible')
14+
cy.contains('BC Digital Trust Showcase').should('be.visible')
1515
})
1616
})

frontend/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@
77
<meta id="myViewport" name="viewport" content="width=device-width" />
88
<meta name="theme" content="#F5F5F4" media="(prefers-color-scheme: light)" />
99
<meta name="theme" content="#202223" media="(prefers-color-scheme: dark)" />
10-
<title>BC Wallet Showcase</title>
10+
<title>BC Digital Trust Showcase</title>
1111
<meta
1212
name="description"
1313
content="Explore how you can use BC Wallet to prove things about yourself, in a way that's safe and secure."
1414
/>
1515

1616
<meta property="og:type" content="website" />
17-
<meta property="og:title" content="BC Wallet Showcase" />
17+
<meta property="og:title" content="BC Digital Trust Showcase" />
1818
<meta
1919
property="og:description"
2020
content="Explore how you can use BC Wallet to prove things about yourself, in a way that's safe and secure."
2121
/>
2222
<meta property="og:image" content="/seo-logo.jpg" />
2323

2424
<meta name="twitter:card" content="summary_large_image" />
25-
<meta name="twitter:title" content="BC Wallet Showcase" />
25+
<meta name="twitter:title" content="BC Digital Trust Showcase" />
2626
<meta
2727
name="twitter:description"
2828
content="Explore how you can use BC Wallet to prove things about yourself, in a way that's safe and secure."

frontend/src/admin/pages/LoginPage.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useAuth } from 'react-oidc-context'
22
import { useLocation } from 'react-router-dom'
33

4-
import landingScreen from '../../client/assets/light/landing-screen.svg'
4+
import landingScreen from '../../client/assets/light/landing.png'
55

66
export function LoginPage() {
77
const auth = useAuth()
@@ -28,11 +28,11 @@ export function LoginPage() {
2828
<div className="flex flex-col md:flex-row flex-grow">
2929
<div className="flex-1 text-left text-bcgov-black font-semibold text-4xl lg:text-5xl xl:text-6xl m-auto">
3030
<div className="overflow-hidden py-1 leading-tight">
31-
<h1>BC Wallet Showcase</h1>
31+
<h1>BC Digital Trust Showcase</h1>
3232
</div>
3333
<div className="overflow-hidden">
3434
<p className="text-base lg:text-lg font-normal mt-6 text-bcgov-darkgrey">
35-
Administration portal for the BC Wallet Showcase.
35+
Administration portal for the BC Digital Trust Showcase.
3636
</p>
3737
</div>
3838
<div className="flex flex-row text-base font-normal mt-6">
@@ -45,8 +45,8 @@ export function LoginPage() {
4545
</div>
4646
</div>
4747

48-
<div className="flex justify-center flex-grow">
49-
<img className="m-5 max-w-lg" src={landingScreen} alt="bc-wallet-showcase" />
48+
<div className="flex justify-center flex-shrink-0 md:w-1/2">
49+
<img className="m-5 max-w-lg h-auto object-contain" src={landingScreen} alt="bcgov-phone-light" />
5050
</div>
5151
</div>
5252

frontend/src/admin/pages/__tests__/LoginPage.test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ vi.mock('react-oidc-context', () => ({
1010
useAuth: () => ({ signinRedirect: mockSigninRedirect }),
1111
}))
1212

13-
vi.mock('../../../client/assets/light/landing-screen.svg', () => ({ default: 'landing-screen.svg' }))
13+
vi.mock('../../../client/assets/light/landing.png', () => ({ default: 'landing.png' }))
1414

1515
const renderLoginPage = (url = '/') =>
1616
render(
@@ -22,12 +22,12 @@ const renderLoginPage = (url = '/') =>
2222
describe('LoginPage', () => {
2323
it('renders the page heading', () => {
2424
renderLoginPage()
25-
expect(screen.getByRole('heading', { name: 'BC Wallet Showcase' })).toBeInTheDocument()
25+
expect(screen.getByRole('heading', { name: 'BC Digital Trust Showcase' })).toBeInTheDocument()
2626
})
2727

2828
it('renders the admin portal description', () => {
2929
renderLoginPage()
30-
expect(screen.getByText('Administration portal for the BC Wallet Showcase.')).toBeInTheDocument()
30+
expect(screen.getByText('Administration portal for the BC Digital Trust Showcase.')).toBeInTheDocument()
3131
})
3232

3333
it('renders the Admin Log In button', () => {
224 KB
Loading

0 commit comments

Comments
 (0)