Skip to content

Participation split up into multiple sections#92

Open
Davads123 wants to merge 54 commits into
mainfrom
Davads123-participant-split
Open

Participation split up into multiple sections#92
Davads123 wants to merge 54 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 and others added 8 commits May 20, 2026 15:02
Updated the title and added detailed information about the DP-Next project, including its purpose, methods, and contact information.
Updated the document to provide information about the DP-Next project in Faroese, including details on participation, data protection, and contact information.
@Davads123
Copy link
Copy Markdown
Contributor Author

I have changed it to participants with menu for different languages with different qmd files for each section that are not visible from the navbar. Let me know what you think of it

@lwjohnst86
Copy link
Copy Markdown
Member

lwjohnst86 commented May 20, 2026

@Davads123 ah, yea, the menu globe on the side also makes sense! 👍 But yea, agreed with @CHRTJO1112

Copy link
Copy Markdown
Member

@lwjohnst86 lwjohnst86 left a comment

Choose a reason for hiding this comment

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

You can remove the ending -en, etc from the file names.

Comment thread _quarto.yml Outdated
Comment on lines +19 to +21
- text: "luttakari 🇫🇴"
href: fo/participant-fo.qmd
- text: "peqataasoq 🇬🇱"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
- text: "luttakari 🇫🇴"
href: fo/participant-fo.qmd
- text: "peqataasoq 🇬🇱"
- text: "Luttakari 🇫🇴"
href: fo/participant-fo.qmd
- text: "Peqataasoq 🇬🇱"

?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good point, done

@Davads123 Davads123 requested a review from lwjohnst86 May 20, 2026 13:32
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