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

Update footer ternary to use publicRuntimeConfig value #705

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

krischarbonneau
Copy link
Contributor

@krischarbonneau krischarbonneau commented Jul 15, 2024

ADO-249261

Fixed AB#249261

Changelog

fix:Update ternary in footer component to use publicRuntimeConfig
fix:Add OTEL jaeger dependency to fix local errors

Description of proposed changes:

This PR updates the ternary operation for our footer links to use publicRuntimeConfig given it was returning undefined when swapping between languages when just referring the the environment variable directly. This PR also adds an otel dependency that was causing the terminal to be flooded, at least locally.

What to test for/How to test

  1. Pull in branch
  2. Ensure ENVIRONMENT is set to development in your local env
  3. Type npm run dev
  4. Navigate to the dashboard
  5. Ensure that the links contain srv241 on both EN and FR

@krischarbonneau krischarbonneau requested a review from a team as a code owner July 15, 2024 14:36
Copy link

@krischarbonneau krischarbonneau merged commit 60f725c into dev Jul 15, 2024
8 checks passed
@krischarbonneau krischarbonneau deleted the fix-footer-ternary branch July 15, 2024 14:41
krischarbonneau added a commit that referenced this pull request Jul 29, 2024
* Update footer ternary to use publicRuntimeConfig value (#705)

* Update contact us page to display SIN link (#706)

* Add Root Cert Structure to Dockerfile (#707)

* Pin base image version in Dockerfile (#709)

---------

Co-authored-by: lhr-git <[email protected]>
lhr-git added a commit that referenced this pull request Aug 21, 2024
* Update footer ternary to use publicRuntimeConfig value (#705)

* Update contact us page to display SIN link (#706)

* Add Root Cert Structure to Dockerfile (#707)

* Pin base image version in Dockerfile (#709)

* Update next-auth config to validate  SIN and UID (#710)

* Swapping from null to a catchall for falsy values (#711)

* Swapping from null to a catchall for falsy values (#711) (#712)

* Snyk updates bundled together (#714)

* Merging dev into staging August 19, 2024 (#715)

* Swapping from null to a catchall for falsy values (#711)

* Snyk updates bundled together (#714)

---------

Co-authored-by: Kris Charbonneau <[email protected]>
Co-authored-by: Kris Charbonneau <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants