Skip to content

chore(catalogue): rename collections to resources #4178

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

Merged
merged 64 commits into from
Sep 18, 2024

Conversation

mswertz
Copy link
Member

@mswertz mswertz commented Sep 2, 2024

What are the main changes you did:

  • renamed collection to resource following discussion with project leads
  • renamed columns named 'collection(s)' to 'resource(s)'
  • renamed 'subcohorts' to 'subpopulations'

todo:

  • rename data model elements from collection to resource
  • fix test data
  • update UI to work with these changes
  • data manager has checked it all

todo following meeting:

  • remove Resource prefixes
  • rename Cohorts naar Subpopulations
  • rename back to '...Mappings' instead of 'Mapped ...'
  • mergen DAPs met "Organisation roles" zonder kolommen en toevoegen DAP als organisation role
  • Resource variables tabel komt terug, inclusief wat dataset naam is binnen de resource, en de derived variable kolom gaat weg
  • Support lead organisation checkbox to show lead seperately

@mswertz mswertz marked this pull request as draft September 2, 2024 22:15
@BrendaHijmans
Copy link
Contributor

The table 'Resource variables', which used to be 'Network variables' (linking e.g. LifeCycle variables to LongITools) is missing.

@mswertz
Copy link
Member Author

mswertz commented Sep 4, 2024

'Network variables' (linking e.g. LifeCycle variables to LongITools) is missing.

Ok. With leading principle we should minimize changes between the versions and otherwise being functionally equivalent afaik

@mswertz mswertz marked this pull request as ready for review September 12, 2024 15:04
File f =
new File(
this.getClass().getClassLoader().getResource("generated-catalogue-types.ts").getFile());
String schemaName = GeneratorTest.class.getSimpleName() + "Catalogue";
this.getClass().getClassLoader().getResource("generated-typetest-types.ts").getFile());
Copy link
Contributor

Choose a reason for hiding this comment

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

nice , but i looks like its missing a lot of the types , i.e. its not really a type test ( do think we need a type test ( als for forms and stuff))

Copy link
Member Author

Choose a reason for hiding this comment

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

It now includes quite some diversity; we could include all test data models we have that don't have data or improve the pet store to be feature complete?

@connoratrug connoratrug self-assigned this Sep 16, 2024
@EleanorHyde-UMCG
Copy link
Contributor

I see "cohort studies" where I used to see "cohorts", is this correct? (I thought they were going to be called 'resources')

Copy link

@EleanorHyde-UMCG
Copy link
Contributor

See the list of issues for comments and additional findings: here. This PR can't be merged just yet...

@connoratrug connoratrug removed their assignment Sep 17, 2024
@connoratrug connoratrug merged commit 3e67c4e into master Sep 18, 2024
6 checks passed
@connoratrug connoratrug deleted the fix/rename_collections_to_resources branch September 18, 2024 10:58
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.

5 participants