-
Notifications
You must be signed in to change notification settings - Fork 733
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
Scheduled syncing updates #10748
Merged
rtibbles
merged 11 commits into
learningequality:develop
from
rtibbles:scheduled_syncing_updates
Jun 7, 2023
Merged
Scheduled syncing updates #10748
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
1961cf5
Properly calculate next sync time for scheduled syncs.
rtibbles 67eb9ee
Move handling of registration while selecting KDP into the SyncFacili…
rtibbles 122387b
Add handling of KDP syncing to manage schedule sync component.
rtibbles 2f439c0
Add handling for KDP syncing to edit device schedule.
rtibbles ab7bccf
Add better handling for scheduled tasks.
rtibbles 2cff899
Do existence check for nickname.
rtibbles f84e3f9
Update signature of composable function.
rtibbles a7bf6db
Don't show non-running scheduled tasks in the task panel UI.
rtibbles a605c9f
Don't show connection status for KDP.
rtibbles 1768bce
Add proper handling for showing scheduled tasks for unknown devices.
rtibbles 8224234
Add route facility_ids to back routes to maintain context in navigation.
rtibbles File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a facility tries to re-register to a project they are already registered to, should there be a check to see if it is already registered with the project before submission, which would change this data prop
alreadyRegistered
to true? Or is this line only meant to catch the error if the facility is found to already be registered?I'm asking because the parts where
alreadyRegistered
is used in the template are never really shown and could be removed. I manipulated the data in Vue.js devtools to see this view.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only meant to catch the case where there is an error with registration due to the facility already being registered to KDP.
In the case where we are directly doing a registration action by using the
Register
option from the dot menu, this emits a 'cancel' event. In the case that I am using it here, I wanted it to instead emit a success event in this case, as it is fine to carry on and try to sync to KDP because it is already registered, so this logic is intended to be handling that.