Skip to content
This repository was archived by the owner on Mar 21, 2022. It is now read-only.

Conversation

@dan0x09
Copy link
Contributor

@dan0x09 dan0x09 commented Jun 13, 2019

This pull request belongs to ExplorViz-Archive/explorviz-backend#77.
Instead of creating all user records and userpreference records in the frontend, we now only create a single userbatchrequest record and save it, which results in a single request to the user-service.
The mocks were also changed accordingly.

Furthermore, a 'use default settings' option was added, which allows the user to enable default settings or the admin user to create users with default settings (no user preferences).

dan0x09 added 6 commits June 12, 2019 19:35
To create multiple users, it is no longer necesarry to create
a record for every single user + their corresponding user preferences.
We only need one userbatchrequest record and save it.
Additionally, the function saveUser and saveMultipleUsers were
refactored to be ember-concurrency tasks, which saves the need of
the showSpinner property.
When creating a new user, enabling default settings button will not
create any user preferences. When editing a user, using default settings
results in the user preferences being deleted.
@Alexander-Krause-Glau Alexander-Krause-Glau merged commit 140316b into dev-1 Jun 14, 2019
@Alexander-Krause-Glau Alexander-Krause-Glau deleted the user-batch branch June 14, 2019 07:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants