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

Create Auto Save Event #250

Merged
merged 47 commits into from
Aug 16, 2020
Merged

Conversation

miteshgoplani
Copy link
Contributor

@miteshgoplani miteshgoplani commented Jul 2, 2020

Added AutoSave Event for Angular, React and Iframe Apps

Dependent on: https://github.com/zowe/zlux-platform/pull/62/files

Signed-off-by: miteshgoplani [email protected]

@miteshgoplani miteshgoplani changed the title [WIP] Create Auto Save Event Create Auto Save Event Jul 16, 2020
@1000TurquoisePogs
Copy link
Member

I noticed a performance problem: When you close a window, DELETE is called. But, if the window never had autosave data, then the DELETE is not needed. It would be good to have a simple map of each app and whether the app saved data. We could even add this property to the pluginDefinition.json of apps that support the feature
webContent: {
autosave: true
}

Because, if its not supported, then it is not useful to make the server do extra work.

@miteshgoplani
Copy link
Contributor Author

miteshgoplani commented Jul 26, 2020

I noticed a performance problem: When you close a window, DELETE is called. But, if the window never had autosave data, then the DELETE is not needed. It would be good to have a simple map of each app and whether the app saved data. We could even add this property to the pluginDefinition.json of apps that support the feature
webContent: {
autosave: true
}

Because, if its not supported, then it is not useful to make the server do extra work.

@1000TurquoisePogs

  1. Resolved this by adding autosave: true property to pluginDefinition
  2. Updated the Sample Apps PRs

Copy link
Member

@1000TurquoisePogs 1000TurquoisePogs left a comment

Choose a reason for hiding this comment

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

This looks good to me!

1000TurquoisePogs and others added 18 commits July 31, 2020 02:25
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Leanid Astrakou <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Leanid Astrakou <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Leanid Astrakou <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Nakul Manchanda <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Nakul Manchanda <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Nakul Manchanda <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Nakul Manchanda <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Nakul Manchanda <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Nakul Manchanda <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Leonty Chudinov <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Leonty Chudinov <[email protected]>
Signed-off-by: Mitesh <[email protected]>
DivergentEuropeans and others added 24 commits July 31, 2020 02:26
Signed-off-by: Leanid Astrakou <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Leanid Astrakou <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Leanid Astrakou <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Leonty Chudinov <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Leanid Astrakou <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Leonty Chudinov <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Leanid Astrakou <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Leanid Astrakou <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Leanid Astrakou <[email protected]>
Signed-off-by: Mitesh <[email protected]>
… slashes in a row

Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Mitesh <[email protected]>
Signed-off-by: Mitesh <[email protected]>
@1000TurquoisePogs 1000TurquoisePogs merged commit a2e30cf into zowe:staging Aug 16, 2020
@sonarcloud
Copy link

sonarcloud bot commented Aug 16, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

warning The version of Java (1.8.0_242) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11.
Read more here

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.

3 participants