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

treatment_list url parameter lost when going from Oncoprint to Plots Tab #6737

Closed
pvannierop opened this issue Oct 24, 2019 · 7 comments · Fixed by cBioPortal/cbioportal-frontend#2726

Comments

@pvannierop
Copy link
Contributor

pvannierop commented Oct 24, 2019

Current behavior

Selecting a treatment response profile in oncoprint sets the treatment_list url parameter. Navigation to Plots Tab updates the url to be handled by session service.

https://www.cbioportal.org/results/plots?session_id=5da82b12e4b0656ac4cf4226

Because the the treatment_list parameter is not available for Plots Tab this components gives an error that notify the user has not selected treatments in oncoprint even though the treatments were added in this component (see movie below).

Desired behavior

By selecting a treatment response profile in oncoprint the treatment_list url parameter is set. When navigating to Plots Tab the treatment_list parameter persisted and is interpreted by the Plots Tab component and is used to populate the axis menu's for treatment entries.

Analysis

The update to handle the URL by session service seems incompatible with the way the treatments axis menu is populated.

Peek 2019-10-24 10-27

@adamabeshouse
Copy link
Contributor

@alisman lets address this with URLWrapper work

@alisman
Copy link
Contributor

alisman commented Oct 24, 2019

@adamabeshouse i agree. i wonder if it only happens when URL length is near threshold for conversion to session.

@alisman
Copy link
Contributor

alisman commented Oct 31, 2019

@pvannierop this is now fixed in the following PR. You can see here:

https://cbioportal-f-urlwrapper-uk1qmc.herokuapp.com/results/oncoprint?session_id=5da82b12e4b0656ac4cf4226

In addition all oncoprint sorting options are now read from/written to URL.

PR is not quite ready for review. But we're close. I will assign it to so you can have a look.

@Sjoerd-van-Hagen
Copy link

@alisman any updates on this?

@alisman
Copy link
Contributor

alisman commented Nov 6, 2019

@Sjoerd-van-Hagen there are some complications that have come up with my fix. i will consider merging @pvannierop fix temporarily

@Sjoerd-van-Hagen
Copy link

@alisman thanks for the update.

@adamabeshouse adamabeshouse removed their assignment Nov 25, 2019
@pvannierop
Copy link
Contributor Author

This issue is fixed with PR cBioPortal/cbioportal-frontend#2726.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants