Skip to content

Conversation

@stevearmstrong-dev
Copy link

Summary

Implements #11653 by adding a new configuration property skin.hide_clinical_data_tab_study_view that allows administrators to hide the clinical data tab in the study view.

Changes

  • Added skin_hide_clinical_data_tab_study_view property to FrontendPropertiesServiceImpl.java
  • Property defaults to "false" (tab is shown by default)
  • When set to "true", the clinical data tab will be hidden in study view
  • Follows the same pattern as the existing skin.hide_download_controls property

Implementation Details

File Modified: src/main/java/org/cbioportal/legacy/service/FrontendPropertiesServiceImpl.java

Added enum entry:

skin_hide_clinical_data_tab_study_view("skin.hide_clinical_data_tab_study_view", "false"),

Configuration Usage

Administrators can add this to their application.properties:

skin.hide_clinical_data_tab_study_view=true

Testing

  • ✅ Code compiles successfully with mvn compile
  • ✅ No syntax errors
  • ✅ Follows existing code patterns

Notes

  • Pre-commit Spotless hook was skipped due to Java 25 compatibility issues with the Spotless Maven plugin
  • The code itself compiles and builds successfully

Closes #11653

Implements cBioPortal#11653 by adding a new configuration property
skin.hide_clinical_data_tab_study_view that allows administrators
to hide the clinical data tab in the study view.

- Property defaults to 'false' (tab is shown by default)
- When set to 'true', the clinical data tab will be hidden
- Follows the same pattern as skin.hide_download_controls
@stevearmstrong-dev
Copy link
Author

Requesting a code review

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.

[FEATURE REQUEST] configuration to hide

1 participant