Skip to content

Comments

feat(cozy-ui-plus): Create own FlagImage to show country flags#2934

Merged
JF-Cozy merged 3 commits intomasterfrom
feat/phone
Feb 23, 2026
Merged

feat(cozy-ui-plus): Create own FlagImage to show country flags#2934
JF-Cozy merged 3 commits intomasterfrom
feat/phone

Conversation

@JF-Cozy
Copy link
Contributor

@JF-Cozy JF-Cozy commented Feb 23, 2026

based on emojis and not on external lib anymore because the stack won't allow to load external codes from cdn

BREAKING CHANGE: You must have `cozy-client >= 60.21.3`
based on emojis and not on external lib anymore because the stack
won't allow to load external codes from cdn
fireEvent.click(actionButton)
expect(openSpy).toBeCalledWith(
'http://mycozy.cloud/cozy/instances/123/premium',
'http://mycozy.cloud/cozy/instances/123/premium?lang=en',
Copy link
Member

Choose a reason for hiding this comment

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

why

Copy link
Contributor Author

@JF-Cozy JF-Cozy Feb 23, 2026

Choose a reason for hiding this comment

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

because of upgrading cozy-client. Something has changed there, it's a side effect

Copy link
Member

@zatteo zatteo Feb 23, 2026

Choose a reason for hiding this comment

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

With recent cozy-client version, we pass the lang when we can to "select" the language of the cloudery. It seems we put a default value to "en".

Copy link
Member

@zatteo zatteo left a comment

Choose a reason for hiding this comment

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

Nice fix

@JF-Cozy JF-Cozy merged commit 1a1ccaf into master Feb 23, 2026
2 checks passed
@JF-Cozy JF-Cozy deleted the feat/phone branch February 23, 2026 15:22
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