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(*): prevent conflicts in progress dashboard component #1288

Merged
merged 4 commits into from
Jun 3, 2022

Conversation

TheSlimvReal
Copy link
Collaborator

The progress dashboard currently creates a new config before the sync is completed which results in a document update conflict whenever a user logs in for the first time.

Visible/Frontend Changes

--

Architectural/Backend Changes

  • Default progress dashboard config is only created if after the initial sync still no config can be found

@github-actions
Copy link

TheSlimvReal and others added 2 commits May 24, 2022 14:50
…creation

# Conflicts:
#	src/app/features/progress-dashboard-widget/progress-dashboard/progress-dashboard.component.spec.ts
this.data = new ProgressDashboardConfig(this.dashboardConfigId);
this.entityMapper
this.loadConfigFromDatabase().catch(() =>
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason not to wait for the state to be synced altogether?

@sleidig sleidig merged commit 506ebdc into master Jun 3, 2022
@sleidig sleidig deleted the progress-dashboard-creation branch June 3, 2022 18:12
@sonarcloud
Copy link

sonarcloud bot commented Jun 3, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.6.2-master.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.6.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.6.2-master.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

4 participants