Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

[ENH] Implemented separate download buttons for participant and dataset #145

Merged
merged 6 commits into from
Jul 13, 2023

Conversation

rmanaem
Copy link
Collaborator

@rmanaem rmanaem commented Jul 12, 2023

Closes #141

Changes proposed in this pull request:

  • Implemented two buttons
    • One for downloading participant-level results tsv
    • One for downloading dataset-level results tsv
  • Removed the toggle checkbox
  • Removed toggleResultsTSV data property
  • Updated generateTSVString and downloadResults methods
  • Reworked component template
  • Updated styles to match the color pallet
  • Updated README.md
  • Updated tests

Checklist

  • PR has an interpretable title with a prefix ([ENH], [BUG], [DOC], [INFRA], [MAINT])
  • PR links to Github issue with mention Closes #XXXX
  • Tests pass
  • Code is properly formatted

For new features:

  • Tests have been added

For bug fixes:

  • There is at least one test that would fail under the original bug conditions.

rmanaem added 5 commits July 12, 2023 15:46
- Implemented two buttons
  - One for downloading participant-level results tsv
  - One for downloading dataset-level results tsv
- Removed the toggle checkbox
- Removed `toggleResultsTSV` data property
- Updated `generateTSVString` and `downloadResults` methods
- Reworked component template
@netlify
Copy link

netlify bot commented Jul 12, 2023

Deploy Preview for neurobagel-query-tool ready!

Name Link
🔨 Latest commit 13c66f0
🔍 Latest deploy log https://app.netlify.com/sites/neurobagel-query-tool/deploys/64b0257beed8c20008e35bc2
😎 Deploy Preview https://deploy-preview-145--neurobagel-query-tool.netlify.app
📱 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.

@surchs surchs self-requested a review July 12, 2023 21:54
Copy link
Contributor

@surchs surchs left a comment

Choose a reason for hiding this comment

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

Hey @rmanaem, thanks for the PR. I left some comments for you to look at and apply as you see fit. I would change the PR title to [ENH] Separate download buttons for dataset and participant to help us later find this change in the log.

With those, good to go 🧑‍🍳 !

cypress/component/DownloadResultsButton.cy.js Show resolved Hide resolved
cypress/component/ResultCard.cy.js Show resolved Hide resolved
cypress/component/ResultsContainer.cy.js Outdated Show resolved Hide resolved
cypress/component/ResultsContainer.cy.js Outdated Show resolved Hide resolved
cypress/component/ResultsContainer.cy.js Show resolved Hide resolved
cypress/e2e/DatasetResultsTSV.cy.js Show resolved Hide resolved
assets/css/main.css Show resolved Hide resolved
assets/css/main.css Show resolved Hide resolved
assets/css/main.css Show resolved Hide resolved
components/DownloadResultsButton.vue Outdated Show resolved Hide resolved
@rmanaem rmanaem changed the title [ENH] Reworked download results button [ENH] Implemented separate download buttons for participant and dataset Jul 13, 2023
@rmanaem rmanaem merged commit e9a71fd into main Jul 13, 2023
@rmanaem rmanaem deleted the feat-141 branch July 13, 2023 16:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make two buttons for dataset- and participant-level results
2 participants