-
Notifications
You must be signed in to change notification settings - Fork 507
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
Implement Session Service 'user settings' for Results View #9450
Implement Session Service 'user settings' for Results View #9450
Conversation
961ee90
to
ccc979d
Compare
Kudos, SonarCloud Quality Gate passed! |
HttpServletResponse response) throws IOException { | ||
private void updatedPageSettingSession( | ||
PageSettings pageSettings, | ||
@RequestBody PageSettingsData body, |
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.
maybe name the variable pageSettings
instead of body
?
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.
The variable pageSettings is already declared on the previous line
web/src/main/java/org/cbioportal/web/parameter/PageSettingsData.java
Outdated
Show resolved
Hide resolved
web/src/main/java/org/cbioportal/web/parameter/ResultPageSettings.java
Outdated
Show resolved
Hide resolved
web/src/main/java/org/cbioportal/web/parameter/SessionPage.java
Outdated
Show resolved
Hide resolved
web/src/main/java/org/cbioportal/web/SessionServiceController.java
Outdated
Show resolved
Hide resolved
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.
Thanks for making this, the idea of adding results view page states to user settings is awesome. Can I test this locally? Do I also need to apply some front-end changes?
web/src/main/java/org/cbioportal/web/SessionServiceController.java
Outdated
Show resolved
Hide resolved
web/src/main/java/org/cbioportal/web/parameter/ResultPageSettings.java
Outdated
Show resolved
Hide resolved
web/src/main/java/org/cbioportal/web/SessionServiceController.java
Outdated
Show resolved
Hide resolved
Yes, the frontend changes are proposed in PR #9450 . For now this only relates to storing the clinical tracks layout of Oncoprint. |
546e532
to
e15f7c6
Compare
e15f7c6
to
d408b38
Compare
Rename result_view to results_view Update web/src/main/java/org/cbioportal/web/parameter/SessionPage.java Update web/src/main/java/org/cbioportal/web/parameter/ResultPageSettings.java Co-authored-by: Onur Sumer <s.onur.sumer@gmail.com>
- remove unused var - remove unthrown exception - make fields private & add getters setters
75e11f8
to
9e3dbaf
Compare
Kudos, SonarCloud Quality Gate passed! |
This PR will provide support in the cBioPortal backend to store user settings for Results View in Session Service. At the moment this is only done for user settings in Study View.
Changes:
results_view
toSessionPage
typeResultsPageSettings
containing result page configuration (at the moment onlyclinicallist
)SessionPage
-type toPageSettingsData
-implementation usingSessionServiceController.pageTypeToData
PageSettingsData body
toupdatedPageSettingSession