Skip to content

Participation split up into multiple sections#92

Merged
lwjohnst86 merged 67 commits into
mainfrom
Davads123-participant-split
May 29, 2026
Merged

Participation split up into multiple sections#92
lwjohnst86 merged 67 commits into
mainfrom
Davads123-participant-split

Conversation

@Davads123
Copy link
Copy Markdown
Contributor

@Davads123 Davads123 commented May 20, 2026

Description

Daniel and Gunnar wish to split up the participation section so we can send links to our website specific for the different parts. As I remembered, we cannot change the navbar for the different language why I have tried to get around this - see explanation

Explanation

participation part, instead of everything together, I have split it up into overview, questionnaire, clinical, intervention.
I have done that for all four language.
Navbar is only for the english part but the change language get you to overview (for the specific language) and from there, one can choose the different sections

This PR needs a thorough review.

Davads123 added 14 commits May 20, 2026 10:55
The questionnaire collects information on factors influencing type 2 diabetes risk, covering health history, lifestyle, mental wellbeing, and family history.
Added details about the clinical examination process and its purpose.
Added content outlining the intervention strategies for diabetes prevention.
Removed sections detailing the questionnaire, clinical examinations, and interventions related to type 2 diabetes prevention.
Updated the questionnaire text to Danish, translating all relevant sections and ensuring clarity in the language used.
Introduced a new document outlining the intervention strategies for preventing type 2 diabetes, including goals and methods.
Develop intervention strategies for type 2 diabetes prevention based on various data sources.
Added a new document outlining the details of a clinical study, including participant requirements and measurements involved.
Added a new document outlining the clinical study process and objectives at Steno Diabetes Center.
@Davads123 Davads123 self-assigned this May 20, 2026
@lwjohnst86
Copy link
Copy Markdown
Member

This is a big reason I suggested putting languages under a folder. For instance, if you wanted to send a link to someone in e.g. Greenland, you could send them the link dp-next.github.io/kl/ and they would have information under that heading.

@Davads123
Copy link
Copy Markdown
Contributor Author

Hi Luke. If I remember correctly I also suggested that prior, but since we agreed that only the participant information should be in other language than english, we moved away from that. So currently, it is only the different participation section that will be translated.
Would you still suggest different folder since we now have 4 qmd files for each language? And would that make a difference, like a possibility for different nav bar for the different languages?

@lwjohnst86
Copy link
Copy Markdown
Member

Hm, I don't think I suggested not to do for each folder, I think I said that we can't really change the navbar to different languages. E.g. you could have the "Participant" menu be a list of languages to select and in each folder have LANGUAGE/index.qmd as the landing page e.g. en/index.qmd. And then on the sidebar have links to the other pages.

@Davads123
Copy link
Copy Markdown
Contributor Author

Davads123 commented May 20, 2026

Hmm, maybe me with bad memory but at least we decided, at that time to not do the folder, as it did not make sence back then, when there would only be one document in each folder (participant.qmd). Now that we have split up the participant.qmd file, I think it makes sence to do folder structure, to keep it simple.

My thoughts are to do the "participant" menu in the navbar with following sections

  • Overview
  • Questionnaire
  • Clinical examination
  • Intervention

At the end of overview do links from overview to the other sections under participants:
Questionnaire Gives an overview of the questionnaire

At the globe, when picking e.g. danish, you go to the danish overview and from there are able to navigate to the right page (questionnaire, clinical examination, intervention).
This will give us the possibility to add a link in participation information for questionnaire for each language (and for clinical examination at that time)

The reason I have not done the participant with menu option being different languages are due to the wish, that participation section would be split up.
We could of course just have "Participant" with different language options linking to each language overview where they can navigate further to questionnaire, clinical examination, intervention (that are not visible from the navbar).
This will still give the possibility to a link for participant information (eboks material)

Let me know what sollution you recommend @lwjohnst86 @CHRTJO1112

@CHRTJO1112
Copy link
Copy Markdown
Contributor

I think the last solution might be the best option. My main concern with having a dropdown menu with 'participant overview', 'Questionnaire', 'Clinical examination', and 'Intervention' directly in the navbar is that a Danish participant who receives a link to the Danish questionnaire page may accidentally click on one of these dropdown options and end up on the English version of that page. With the last solution, where 'Participants' only shows language options, they will always land on the Danish overview first and can navigate from there, and if they do get lost, they can simply click 'Participants' and then "dansk oversigt" with a small flag maybe and then get back to the Danish overview.

@Davads123 Davads123 requested a review from lwjohnst86 May 20, 2026 13:32
@Davads123
Copy link
Copy Markdown
Contributor Author

@lwjohnst86 It keeps saying changes requested, and I cannot remove it (I think it is due to the fact that I have not made the changes in here but in the branch).
Anyway, I want another review when possible. Your requested changes should be incorporated

Copy link
Copy Markdown
Contributor Author

@Davads123 Davads123 left a comment

Choose a reason for hiding this comment

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

Changes approved

Comment thread _quarto.yml Outdated
@CHRTJO1112
Copy link
Copy Markdown
Contributor

Hi @Davads123
Gunnar and Daniel think we should remove the "Intervention" option from the "Participants" menu on the website. They think it is a good idea since we will not be conducting any trials, making the intervention section irrelevant for participants.

@Davads123
Copy link
Copy Markdown
Contributor Author

Davads123 commented May 26, 2026

Fair enough, it was included for wp4. But it is a good point that we do not have any interventions for out participants in wp3, so we can remove it.

@CHRTJO1112
Copy link
Copy Markdown
Contributor

@Davads123
Furthermore, the subpages 'questionnaire', 'clinical examination', 'spørgeskema' etc. do not render correctly. The pages are not found and it seems like the Quarto automatically adds the folder prefix, resulting in duplicate paths like da/da/participant-questionnaire.qmd. Removing da, en, fo and kl from the links fixes the issue.

Comment thread _quarto.yml
lwjohnst86 and others added 10 commits May 28, 2026 16:46
Removed the intervention overview link from the participant document.
Removed the overview link for the interventions section.
Removed intervention section from participant document.
Removed the section about 'Intervention' from the participant document.
Removed 'participant-intervention.qmd' from multiple language sections.
@Davads123 Davads123 requested a review from lwjohnst86 May 28, 2026 16:12
@Davads123
Copy link
Copy Markdown
Contributor Author

@lwjohnst86 Is it ready to be merged? Sorry for the rush but preferably 29/5 as we then can use the link for participation information as well as VEK
The bot says error due typo (all vs danish alle) and I cannot see that in the typo file.

@lwjohnst86
Copy link
Copy Markdown
Member

Ugh, right. I wantwd to actually fix that workflow. I'll do that tomorrow morning 👍

@lwjohnst86 lwjohnst86 merged commit 2ac3be7 into main May 29, 2026
1 check passed
@lwjohnst86 lwjohnst86 deleted the Davads123-participant-split branch May 29, 2026 07:26
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