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(directory): filtering in the directory landing page should keep on working with the new services data model #3770

Closed
esthervanenckevort opened this issue May 22, 2024 · 3 comments · Fixed by #4155
Labels
app:catalogue app:directory data-model priority Features/bugs that we should not let wait

Comments

@esthervanenckevort
Copy link
Member

esthervanenckevort commented May 22, 2024

Demo:

  • I can use the service filters using the new services data model (we expect to take new services data model in production when done)

Acc:

  • dropdown shows 'new' servicetypes grouped by their categories:
    e.g.

    • Category 1
      • Service type 1
      • Service type 2
    • Category 2
      • Service type 3
      • Service type 4
  • biobanks are filtered based on the new services relation table between servicetypes and biobanks (was direct ref)

  • biobank cards show the services provided and they can be added to the cart

Image

Is your feature request related to a problem? Please describe.
Services need to be a implemented with additional metadata describing the service offered. A single term from an ontology is not sufficient, we need space for things like a description, cost information, etc. This means the services will become a separate entity in the model and the services filter and display needs to be adjusted for that.

Describe the solution you'd like

  • Services filter should be adjusted to filter on the service type of the new entity that describes the service offered so that you can still filter on specific services.
  • Services are shown in biobank card

Data model is described in the following document:
https://docs.google.com/document/d/1kkPl8pqDnJw5izgVEX4Qr9nfOxuBQ3CSZ2n8Rl5kjOw/edit?tab=t.6e77w41w7g0r

Describe alternatives you've considered
We considered different models for the services. Described in this document:

https://docs.google.com/document/d/1C_43Qnd9Swx-7bSF2KD7exVUXVd6nlROLUYoNjKGDbw/edit?usp=share_link

Additional context
Work is lead by CS-IT WP4, especially Andrzej Strug

@mswertz
Copy link
Member

mswertz commented Jul 23, 2024

I suppose this one needs to be shortlisted. Why did you make this a 'dev' instead of 'catalogue' topic?

In any case I would like this one discussed in broader group so we properly understand goals and approach.

@esthervanenckevort
Copy link
Member Author

There are two related stories, one for each team. There is a data management and a code part

@mswertz mswertz changed the title Directory: refactor services feat(directory): refactor services Jul 26, 2024
@dtroelofsprins dtroelofsprins linked a pull request Aug 22, 2024 that will close this issue
4 tasks
@dtroelofsprins
Copy link
Contributor

DM part has finished (needs review from Esther), so this story is no longer blocked.

@mswertz mswertz changed the title feat(directory): refactor services feat(directory): filtering in the directory landing page should keep on working with the new services data model Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:catalogue app:directory data-model priority Features/bugs that we should not let wait
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants