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

#11142 Fix download button in clinical tab #5058

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arishta-dev
Copy link

@arishta-dev arishta-dev commented Nov 28, 2024

Fixes cBioPortal/cbioportal#11142

Describe changes proposed in this pull request:

  • Handle case in CopyDownloadControls download function when the text is not valid JSON data

Please check the screen recording below for working proof.

Download.button.working.mp4

Checks

  • Has tests or has a separate issue that describes the types of test that should be created. If no test is included it should explicitly be mentioned in the PR why there is no test.
  • The commit log is comprehensible. It follows 7 rules of great commit messages. For most PRs a single commit should suffice, in some cases multiple topical commits can be useful. During review it is ok to see tiny commits (e.g. Fix reviewer comments), but right before the code gets merged to master or rc branch, any such commits should be squashed since they are useless to the other developers. Definitely avoid merge commits, use rebase instead.
  • Is this PR adding logic based on one or more clinical attributes? If yes, please make sure validation for this attribute is also present in the data validation / data loading layers (in backend repo) and documented in File-Formats Clinical data section!

Any screenshots or GIFs?

If this is a new visual feature please add a before/after screenshot or gif
here with e.g. Giphy CAPTURE or Peek

Notify reviewers

Read our Pull request merging
policy
. It can help to figure out who worked on the
file before you. Please use git blame <filename> to determine that
and notify them either through slack or by assigning them as a reviewer on the PR

Copy link

netlify bot commented Nov 28, 2024

Deploy Preview for cbioportalfrontend ready!

Name Link
🔨 Latest commit 4769960
🔍 Latest deploy log https://app.netlify.com/sites/cbioportalfrontend/deploys/6748465312b7260008f1bfdc
😎 Deploy Preview https://deploy-preview-5058.cancerrevue.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@arishta-dev
Copy link
Author

hi @inodb Please review the above PR (added the working screen recording as well)
Fix for the issue: cBioPortal/cbioportal#11142

Copy link

netlify bot commented Nov 28, 2024

Deploy Preview for cbioportalfrontend ready!

Name Link
🔨 Latest commit 61bef9b
🔍 Latest deploy log https://app.netlify.com/sites/cbioportalfrontend/deploys/674a89e748707000087c1de0
😎 Deploy Preview https://deploy-preview-5058.cancerrevue.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@arishta-dev arishta-dev changed the title Fix download button in clinical tab #11142 Fix download button in clinical tab Nov 29, 2024
@arishta-dev arishta-dev force-pushed the fix-clinical-data-tab-download-button branch from fb1314e to 61bef9b Compare November 30, 2024 03:43
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.

on study view clinical data tab's download is broken
1 participant