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

Introduce env var to hide frontend elements and features specific to the Singapore Government #7562

Open
LoneRifle opened this issue Aug 2, 2024 · 3 comments

Comments

@LoneRifle
Copy link
Collaborator

opengovsg/formsg-on-cdk was created to allow the rapid deployment of FormSG onto an AWS account. This would allow someone to set up their own instance of FormSG for evaluation and to explore whether it would be suitable for their use case.

We thus wish to provide the means to easily hide elements and features that are of no relevance to the deploying user. In particular, frontend elements like the Singapore Government masthead as well as Singapore-specific integrations like Singpass/MyInfo should be hidden from the platform interface.

Related to #7454.

@adriangohjw
Copy link
Contributor

To what extent are we making this configurable? For example there's placeholder for input fields that uses [email protected] and mentioning FormSG - should those be included in this scope?

@LoneRifle
Copy link
Collaborator Author

I think so? We could rethink what we use as placeholders as part of this exercise. In that example, those placeholders could be invariant to some degree

@SeanChinJunKai
Copy link
Contributor

Hi @KenLSM, regarding this issue the idea that comes to mind is to use some sort of feature flags to toggle visibility of certain Singapore Government elements. What do you think?

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

No branches or pull requests

3 participants