Skip to content

Conversation

PatStLouis
Copy link
Contributor

This PR adds the ability to provide image URLs through env vars to enable basic app branding.

Signed-off-by: PatStLouis <patrick.st-louis@opsecid.ca>
Signed-off-by: PatStLouis <patrick.st-louis@opsecid.ca>
Signed-off-by: PatStLouis <patrick.st-louis@opsecid.ca>
@PatStLouis PatStLouis requested review from esune, loneil and jamshale July 19, 2025 17:30
Copy link

@esune esune left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a couple of comments for future consideration.

While currently it's only a couple more environment variables, it might be worth switching to a configuration file if/when we decide to have more UI/behaviour customization in order to avoid proliferation of envvars. As of now, this is perfectly fine though.

Comment on lines +21 to +26
"PYDENTITY_WALLET_APP_ICON",
"https://raw.githubusercontent.com/openwallet-foundation-labs/PyDentity-Wallet/refs/heads/main/assets/pydentity-icon.png",
)
APP_LOGO = os.getenv(
"PYDENTITY_WALLET_APP_LOGO",
"https://raw.githubusercontent.com/openwallet-foundation-labs/PyDentity-Wallet/refs/heads/main/assets/pydentity-logo.png",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could reference the assets served as static resources instead of an external resource, as default.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will look into this. perhaps a "branding" directory could be mounted which contains images and maybe css configurations in the future.

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.

3 participants