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

fix(pci-private-network): fixed re-render issue on language change #12641

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

oalkabouss
Copy link
Contributor

@oalkabouss oalkabouss commented Aug 5, 2024

ref: PRB0041352

Question Answer
Branch? master
Bug fix? yes
New feature? no
Breaking change? no
Tickets Fix #PRB0041352
License BSD 3-Clause
  • Try to keep pull requests small so they can be easily reviewed.
  • Commits are signed-off
  • Only FR translations have been updated
  • Branch is up-to-date with target branch
  • Lint has passed locally
  • Standalone app was ran and tested locally
  • Ticket reference is mentioned in linked commits (internal only)
  • Breaking change is mentioned in relevant commits

Description

Related

@oalkabouss oalkabouss requested review from a team as code owners August 5, 2024 16:26
@oalkabouss oalkabouss requested review from kqesar and frenautvh August 5, 2024 16:26
@github-actions github-actions bot added universe-public-cloud bug Something isn't working labels Aug 5, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

General behavior is Manager refreshes when the user changes the language. What is the issue here?

Copy link
Contributor

Choose a reason for hiding this comment

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

For react apps changing the language updates the UI without hard refreshing the whole manager ; the manager refreshes only for angularjs apps

Copy link
Contributor

Choose a reason for hiding this comment

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

In my opinion, even if we re-render the UI when changing the language, it won't change anything on the region list, because changing language is different than changing subsidiary

Copy link
Contributor

Choose a reason for hiding this comment

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

@qpavy the mapped region list is using translations (for macro region name) in an useEffect that's why i18n.language has been added to the useEffect dependencies list

Copy link
Contributor

Choose a reason for hiding this comment

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

ok sorry for the misunderstanding

@oalkabouss oalkabouss closed this Aug 6, 2024
@oalkabouss oalkabouss reopened this Aug 6, 2024
Copy link

sonarqubecloud bot commented Aug 6, 2024

Copy link
Contributor

github-actions bot commented Sep 6, 2024

This Pull Request is stale due to inactivity since 30 days. If no activity happens for 15 more days from now, it will be closed.

@github-actions github-actions bot added the stale No activity since a long time label Sep 6, 2024
Copy link
Contributor

This Pull Request is now closed due to inactivity.

@github-actions github-actions bot closed this Sep 22, 2024
@oalkabouss oalkabouss reopened this Sep 23, 2024
@github-actions github-actions bot removed the stale No activity since a long time label Sep 24, 2024
ref: PRB0041352
Signed-off-by: Omar ALKABOUSS MOUSSANA <[email protected]>
Copy link

@anooparveti anooparveti changed the base branch from master to release/public-cloud-w42 October 10, 2024 14:18
@anooparveti anooparveti merged commit b1aa16b into release/public-cloud-w42 Oct 10, 2024
16 checks passed
@anooparveti anooparveti deleted the fix/PRB0041352 branch October 10, 2024 14:34
@anooparveti anooparveti mentioned this pull request Oct 10, 2024
10 tasks
sachinrameshn pushed a commit that referenced this pull request Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants