Skip to content

Feature: Make User Cloud tab hideable#9

Open
rafalkosla101 wants to merge 2 commits into
devfrom
feature/remove_cloud_tab_when_using_hdn_extension
Open

Feature: Make User Cloud tab hideable#9
rafalkosla101 wants to merge 2 commits into
devfrom
feature/remove_cloud_tab_when_using_hdn_extension

Conversation

@rafalkosla101
Copy link
Copy Markdown
Member

When using HealthDataNexus instance of Physionet it seems that the "Cloud" tab inside of account page is redundant. We are using out internal flow to integrate with Google Cloud Services and having such page under account page may be misleading for the user. This PR should not be merged until we introduce appropriate settings that were already mentioned in Karol's PR.

The PR itself removes one of the tabs when the alternative flow of getting Google identity is enabled.

Comment on lines +11 to +12
if settings.ENABLE_RESEARCH_ENVIRONMENTS:
default_tabs.remove('Cloud')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think this logic is correct - having research environments enabled does not necessarily imply that we won't have Cloud integrations. This looks more like a completely new setting.

Maybe in the future we should align the CloudInformation model with the CloudIdentity model?

Copy link
Copy Markdown
Member

@kshalot kshalot left a comment

Choose a reason for hiding this comment

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

We'll at least need a new setting.

@rafalkosla101 rafalkosla101 force-pushed the feature/remove_cloud_tab_when_using_hdn_extension branch from 89585f1 to a9cee10 Compare March 8, 2023 10:57
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