Skip to content

Help page per questionaire#61

Open
Darkshadenl wants to merge 12 commits into
developfrom
feature/SOF-357-help-pagina-tonen-per-onderzoek
Open

Help page per questionaire#61
Darkshadenl wants to merge 12 commits into
developfrom
feature/SOF-357-help-pagina-tonen-per-onderzoek

Conversation

@Darkshadenl
Copy link
Copy Markdown
Contributor

Closes #XX

Description

When no questionaire is loaded into the application, help page shows a general help page for Accessibility.
When Questionaire is present, help text gets loaded above standard help page.

Review focus

At the moment of writing this I just realised I haven't added accessibility helpers. Should be there in half an hour from opening this PR :).
Check the code, if anything can be improved (especially the way I use "ParticipantCode.ts") visually or on a coding level. Suggestions are appreciated.

Checklist

  • [ x] I have run yarn format
  • [x ] I have run yarn eslint and fixed any issues
  • [ x] This PR does not add any errors to the console

A build will automatically be run by GitHub actions when any changes are made on this PR. This must complete successfully before merging.

Screenshots or videos

@GewoonJaap GewoonJaap enabled auto-merge June 15, 2022 08:50
customTitle = `Hulp bij ${title.slice(title.indexOf('"') + 1, title.lastIndexOf('"'))}`;
}
}),
ParticipantCode.getCurrentQuestionaireHelp().then((h) => {
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.

Als je op de homescreen komt dan word je vragenlijst niet gereset dus op de homepagina hoort dit niet te verschijnen als je net uit een vragenlijst komt.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Dit kun je oplossen door in deze methode de vragenlijst te resetten
image

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.

@milovdpas idk hoe dat moet. Helppage checkt als je hem laadt of er een questionairetitle is. Als ie leeg is komt er geen extra stuk tekst bij. Dus ik vul in die return van jou een lege title in voor participantcode, maar hij runt dat stukje helemaal niet.
image

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.

4 participants