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

✨(frontend) refetch user profile after edition #2380

Merged
merged 2 commits into from May 17, 2024

Conversation

rlecellier
Copy link
Collaborator

On click on modify profile, we open a new window in OpenEdx profile page.
When modification are done, we would like to refresh informations display on this page.

This onWindowFocus event will be trigger the first time the user came back from OpenEdx profile page to refresh the informations. /!\ It's not perfect as it'll not work it he go and back from one tab to the other.

@rlecellier rlecellier force-pushed the rlecellier/refetch_profile_information_after_edit branch 14 times, most recently from 7b0ffa1 to 8ff9776 Compare April 25, 2024 15:14
@rlecellier rlecellier marked this pull request as ready for review April 25, 2024 15:20
CHANGELOG.md Outdated Show resolved Hide resolved
src/frontend/js/pages/DashboardOpenEdxProfile/index.tsx Outdated Show resolved Hide resolved
@rlecellier rlecellier force-pushed the rlecellier/refetch_profile_information_after_edit branch from 8ff9776 to d98783d Compare April 26, 2024 13:17
@rlecellier rlecellier force-pushed the rlecellier/refetch_profile_information_after_edit branch 2 times, most recently from b69a3b5 to 90e5476 Compare May 15, 2024 14:28
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
src/frontend/js/index.tsx Outdated Show resolved Hide resolved
src/frontend/js/pages/DashboardOpenEdxProfile/index.tsx Outdated Show resolved Hide resolved
@rlecellier rlecellier force-pushed the rlecellier/refetch_profile_information_after_edit branch 2 times, most recently from d2a017e to 7cafd82 Compare May 16, 2024 14:30
prefere using userEvent as act+fireEvent.
When a user go on OpenEdx profile form, it needs to see its data up to
date when coming back.
The click happend now in the same tab.
@rlecellier rlecellier force-pushed the rlecellier/refetch_profile_information_after_edit branch from 7cafd82 to e655159 Compare May 17, 2024 12:30
@rlecellier rlecellier merged commit d2927af into master May 17, 2024
20 checks passed
@rlecellier rlecellier deleted the rlecellier/refetch_profile_information_after_edit branch May 17, 2024 13:59
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.

None yet

2 participants