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

Feat/list of networks #232

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open

Conversation

svituz
Copy link
Contributor

@svituz svituz commented May 25, 2021

This PR adds the network view mode that displays the biobanks grouped by network and allows searching for networks.
The main changes are the following:

  1. View mode specified in url (default biobankview)
  2. Available filters are depends on the view mode
  3. Network view:
    3.1.it applies immediately the biobank_network and collection_network filters to get only biobanks and collections which are part of a network
    3.2 for the collections, it filters the collections which are directly part of the network or part of a biobank which is part of the network
    3.3 the network card has an embedded biobank explorer with the biobanks of the networks.
  4. Biobank view: Changed the biobank_network and collection_network filters to reflect the same behaviour of the network view.

Checklist

  • Functionality works & meets specifications
  • Code reviewed
  • Code unit/integration/system tested
  • User documentation updated
  • Clean commits
  • No warnings during install

@molgenis-jenkins
Copy link
Contributor

⭐ PR Preview available on https://preview-bbmri-pr-232.dev.molgenis.org

@codecov
Copy link

codecov bot commented May 25, 2021

Codecov Report

Merging #232 (ba5a0df) into master (0d86d14) will increase coverage by 3.9%.
The diff coverage is 95.3%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #232     +/-   ##
========================================
+ Coverage    87.1%   91.1%   +3.9%     
========================================
  Files          35      37      +2     
  Lines         937    1089    +152     
  Branches      199     241     +42     
========================================
+ Hits          817     993    +176     
+ Misses        111      87     -24     
  Partials        9       9             
Flag Coverage Δ
unit 91.1% <95.3%> (+3.9%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/components/ResultHeader.vue 100.0% <ø> (ø)
src/components/filters/ActiveFilterList.vue 58.3% <ø> (+41.6%) ⬆️
src/router/index.js 100.0% <ø> (ø)
src/store/state.js 100.0% <ø> (ø)
src/store/mutations.js 85.6% <81.2%> (+5.0%) ⬆️
src/store/getters.js 86.1% <93.1%> (+5.0%) ⬆️
src/components/BiobankExplorerContainer.vue 84.2% <100.0%> (+1.4%) ⬆️
src/components/cards/BiobankCardsContainer.vue 100.0% <100.0%> (+18.7%) ⬆️
src/components/cards/NetworkCard.vue 100.0% <100.0%> (ø)
src/components/cards/NetworkCardsContainer.vue 100.0% <100.0%> (ø)
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d86d14...ba5a0df. Read the comment docs.

@molgenis-jenkins
Copy link
Contributor

⭐ PR Preview available on https://preview-bbmri-pr-232.dev.molgenis.org

1 similar comment
@molgenis-jenkins
Copy link
Contributor

⭐ PR Preview available on https://preview-bbmri-pr-232.dev.molgenis.org

When the biobank network filters is selected, it gets the biobanks in the network and the also all
the collections in the found biobanks
… part of a network

because of the bug, biobanks that are not part of a network but that have collections part of it,
wasn't shown in the network tab. This commit fix it
…etwork

before this fix, if a biobank wasn't part of a network but one of its collection was, all the
collections of the biobank appeared in the network
@svituz svituz force-pushed the feat/list-of-networks branch from 64d703e to ba5a0df Compare September 9, 2021 10:51
@molgenis-jenkins
Copy link
Contributor

⭐ PR Preview available on https://preview-bbmri-pr-232.dev.molgenis.org

1 similar comment
@molgenis-jenkins
Copy link
Contributor

⭐ PR Preview available on https://preview-bbmri-pr-232.dev.molgenis.org

@jelmerveen
Copy link
Collaborator

For this to be merged, it needs to be contained to the existing network view, or in a separate view.
It can not change existing routes, because of other parties using the app and the current routing system.

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.

3 participants