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

Import snapshot to current case #727

Merged
merged 15 commits into from
May 16, 2023
Merged

Import snapshot to current case #727

merged 15 commits into from
May 16, 2023

Conversation

depahelix2021
Copy link
Member

Description

Motivation and Context

How Has This Been Tested?

Screenshots or GIFs (if appropriate):

Types of changes

  • [] Bug fix (non-breaking change which fixes an issue)
  • [] Improvement (non-breaking change which improves existing functionality)
  • [] New feature (non-breaking change which adds new functionality)
  • [] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [] My code follows the code style of this project.
  • [] My change requires a change to the documentation.
  • [] I have updated the documentation accordingly.
  • [] I have read the CONTRIBUTING document.
  • [] I have added tests to cover my changes.
  • [] All new and existing tests passed.

This operation WILL override your existing information needs. Proceed with caution!
</span>
<span ng-show="ctrl.snapshotsTypePicked()">
Copy link
Member

Choose a reason for hiding this comment

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

so, do we override? or do we just create missing queries?

Copy link
Member Author

Choose a reason for hiding this comment

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

good question!

@@ -23,23 +24,32 @@ angular.module('QuepidApp')
size: 'lg',
resolve: {
theCase: function() {
return ctrl.acase;
return caseSvc.getSelectedCase(); //TODO not sure why this is needed for import snapshot to work?
Copy link
Member

Choose a reason for hiding this comment

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

let's see if this is STILL needed... or can we go back to return ctrl.acase

return ctrl.acase;
return caseSvc.getSelectedCase(); //TODO not sure why this is needed for import snapshot to work?
},
querySnapshotSvc: function() {
Copy link
Member

Choose a reason for hiding this comment

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

Not positive, but because of dependency injection, I don't think you need htise... they are injected into the modal controller directly...

@epugh epugh merged commit e32c8fe into main May 16, 2023
@depahelix2021 depahelix2021 deleted the import_snapshot_to_current_case branch June 12, 2023 17:25
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.

2 participants