Skip to content

Commit

Permalink
Feedback implementation (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravimeijerrig authored Nov 13, 2024
1 parent 039a79c commit 93864e0
Show file tree
Hide file tree
Showing 8 changed files with 700 additions and 694 deletions.
2 changes: 1 addition & 1 deletion categories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

- questionId: "1.6"
category: AI verordening van toepassing?
subcategory: Soort toepassing
subcategory: Risicogroep

- questionId: "1.7"
category: AI verordening van toepassing?
Expand Down
1,377 changes: 691 additions & 686 deletions decision-tree.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/src/assets/categories.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"questionId": "1.2", "category": "AI verordening van toepassing?", "subcategory": "Soort toepassing"}, {"questionId": "1.3", "category": "AI verordening van toepassing?", "subcategory": "Rol"}, {"questionId": "1.4", "category": "AI verordening van toepassing?", "subcategory": "Operationeel"}, {"questionId": "1.5", "category": "AI verordening van toepassing?", "subcategory": "Soort toepassing"}, {"questionId": "1.6", "category": "AI verordening van toepassing?", "subcategory": "Soort toepassing"}, {"questionId": "1.7", "category": "AI verordening van toepassing?", "subcategory": "Soort toepassing"}, {"questionId": "1.8", "category": "AI verordening van toepassing?", "subcategory": "Soort toepassing"}, {"questionId": "2", "category": "Welke risicogroep?", "subcategory": "Risicogroep"}, {"questionId": "2.4.1", "category": "Welke risicogroep?", "subcategory": "Conformiteitsbeoordeling"}, {"questionId": "2.4.2", "category": "Welke risicogroep?", "subcategory": "Conformiteitsbeoordeling"}, {"questionId": "2.8", "category": "Welke risicogroep?", "subcategory": "Systeemrisico"}, {"questionId": "2.9", "category": "Welke risicogroep?", "subcategory": "Transparantieverplichting"}, {"questionId": "2.10", "category": "Welke risicogroep?", "subcategory": "Transparantieverplichting"}, {"questionId": "2.11", "category": "Welke risicogroep?", "subcategory": "Open source"}, {"questionId": "10", "category": "Conclusie", "subcategory": "Conclusie"}, {"questionId": "11", "category": "Conclusie", "subcategory": "Conclusie"}, {"questionId": "12", "category": "Conclusie", "subcategory": "Conclusie"}, {"questionId": "13", "category": "Conclusie", "subcategory": "Conclusie"}, {"questionId": "14", "category": "Conclusie", "subcategory": "Conclusie"}, {"questionId": "15", "category": "Conclusie", "subcategory": "Conclusie"}, {"questionId": "16", "category": "Conclusie", "subcategory": "Conclusie"}]
[{"questionId": "1.2", "category": "AI verordening van toepassing?", "subcategory": "Soort toepassing"}, {"questionId": "1.3", "category": "AI verordening van toepassing?", "subcategory": "Rol"}, {"questionId": "1.4", "category": "AI verordening van toepassing?", "subcategory": "Operationeel"}, {"questionId": "1.5", "category": "AI verordening van toepassing?", "subcategory": "Soort toepassing"}, {"questionId": "1.6", "category": "AI verordening van toepassing?", "subcategory": "Risicogroep"}, {"questionId": "1.7", "category": "AI verordening van toepassing?", "subcategory": "Soort toepassing"}, {"questionId": "1.8", "category": "AI verordening van toepassing?", "subcategory": "Soort toepassing"}, {"questionId": "2", "category": "Welke risicogroep?", "subcategory": "Risicogroep"}, {"questionId": "2.4.1", "category": "Welke risicogroep?", "subcategory": "Conformiteitsbeoordeling"}, {"questionId": "2.4.2", "category": "Welke risicogroep?", "subcategory": "Conformiteitsbeoordeling"}, {"questionId": "2.8", "category": "Welke risicogroep?", "subcategory": "Systeemrisico"}, {"questionId": "2.9", "category": "Welke risicogroep?", "subcategory": "Transparantieverplichting"}, {"questionId": "2.10", "category": "Welke risicogroep?", "subcategory": "Transparantieverplichting"}, {"questionId": "2.11", "category": "Welke risicogroep?", "subcategory": "Open source"}, {"questionId": "10", "category": "Conclusie", "subcategory": "Conclusie"}, {"questionId": "11", "category": "Conclusie", "subcategory": "Conclusie"}, {"questionId": "12", "category": "Conclusie", "subcategory": "Conclusie"}, {"questionId": "13", "category": "Conclusie", "subcategory": "Conclusie"}, {"questionId": "14", "category": "Conclusie", "subcategory": "Conclusie"}, {"questionId": "15", "category": "Conclusie", "subcategory": "Conclusie"}, {"questionId": "16", "category": "Conclusie", "subcategory": "Conclusie"}]
2 changes: 1 addition & 1 deletion frontend/src/assets/decision-tree.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions frontend/src/components/Conclusion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ defineEmits(['back'])
</p>
<div class="rvo-accordion">
<!-- Profile labels section -->
<SubResult :category="category" :labels="labels" title="Profiel" conclusion="conclusion" />
<SubResult :category="category" :labels="labels" title="AI Verordening Profiel" conclusion="conclusion" />

<!-- Accordion for Obligation/Verplichtingen section, visible only if there are obligations -->
<div v-if="obligation">
Expand All @@ -45,7 +45,7 @@ defineEmits(['back'])
role="img" aria-label="Delta omhoog"></span>
Verplichtingen
</h3>
<span class="rvo-accordion-teaser">Bekijk hier de verplichtingen die voor u gelden</span>
<span class="rvo-accordion-teaser">Hier kun je de voor jou geldende verplichtingen bekijken</span>
</summary>
<div class="rvo-accordion__content">
<p class="rvo-text--md --rvo-font-sans-serif-font-family">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const emit = defineEmits(['acceptDisclaimer'])
<h2 class="flex justify-center utrecht-heading-2">Beslisboom AI-verordering</h2>
<BetaversionLabel />
</div>
<div class="rvo-layout-column rvo-layout-gap--md">
<div class="rvo-layout-column rvo-layout-gap--md rvo-max-width-layout rvo-max-width-layout--lg">
<div class="utrecht-form-fieldset rvo-form-fieldset">
<fieldset
class="utrecht-form-fieldset__fieldset utrecht-form-fieldset--html-fieldset"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Question.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ defineEmits(['answered', 'back'])
<div class="rvo-layout-margin-vertical--xl">
<button
@click="$emit('back')"
v-if="id !== '0'"
v-if="id !== '1.2'"
type="button"
class="flex utrecht-button utrecht-button--secondary-action rvo-layout-row rvo-layout-gap--md utrecht-button--rvo-md rvo-link--no-underline "
>
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/SubResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function get_background_color(label: string | undefined) {
></span>
{{ title }}
</h3>
<span class="rvo-accordion-teaser">Bekijk hier je profiel tot nu toe</span>
<span class="rvo-accordion-teaser">Bekijk hier je AI Verordening profiel tot nu toe</span>
</summary>
<div class="rvo-accordion__content">
<div class="rvo-table--responsive py-5">
Expand Down Expand Up @@ -91,6 +91,7 @@ function get_background_color(label: string | undefined) {
></span>
{{ title }}
</h3>
<span class="rvo-accordion-teaser">Hier kun je het AI Verordening profiel bekijken dat voor jou van toepassing is</span>
</summary>
<div class="rvo-accordion__content">
<div class="rvo-table--responsive py-5">
Expand Down

0 comments on commit 93864e0

Please sign in to comment.