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

Add MET Survey banner in EPIC #593

Closed
dinesh-aot opened this issue Nov 1, 2022 · 1 comment
Closed

Add MET Survey banner in EPIC #593

dinesh-aot opened this issue Nov 1, 2022 · 1 comment
Assignees
Labels
EAO-EPIC All EPIC's issues

Comments

@dinesh-aot
Copy link
Collaborator

Overview
Integrate the survey banner in the landing page of EPIC public portal. The design can be found in the below URL
https://xd.adobe.com/view/e2831462-9efd-4312-9879-bb765be852bd-b7d0/specs/

The survey URL should be able to be integrated from externally, like using an environment variable.
We can add ENV variables in the deployment config and add the line code in the below mentioned file.

https://github.com/bcgov/eagle-public/blob/develop/openshift/templates/nginx-runtime/s2i/bin/run

Plus, we need to add this in the template file for future deployments.
https://github.com/bcgov/eagle-public/blob/develop/openshift/templates/angular-on-nginx/angular-on-nginx-deploy.json

This file will get executed and generate a js file, which will get bundled during the build process and cause the corresponding local storage item to be created in the browser. You can see, they have injected the backend api URL in the same way.

salabh-aot added a commit to salabh-aot/eagle-public that referenced this issue Nov 2, 2022
 - bcgov#591 Remove the white background from the left panel of project detail page
@salabh-aot salabh-aot mentioned this issue Nov 2, 2022
dinesh-aot pushed a commit that referenced this issue Nov 15, 2022
* - #593 Add MET Survey banner in EPIC
 - #591 Remove the white background from the left panel of project detail page

* surveys
  - changed the text according to latest design changes
  - added environment variable to show/hide survey banner
@dinesh-aot dinesh-aot added the EAO-EPIC All EPIC's issues label Dec 2, 2022
@carlygreenehill
Copy link
Collaborator

Code is done > it just hasn't been pushed yet > waiting on the SURVEY URL from team MET

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EAO-EPIC All EPIC's issues
Projects
None yet
Development

No branches or pull requests

4 participants