Skip to content

Conversation

@Grafikart
Copy link
Collaborator

@Grafikart Grafikart commented Apr 4, 2025

Some lunatic users want to display a "recap" component that display collected data. I tried to make it as generic as possible to make it usable for many use-case.

Preview

image

Source

{
	"componentType": "Loop",
	"paginatedLoop": false,
	"iterations": { "value": "count(PRENOM)", "type": "VTL" },
	"conditionFilter": { "value": "true", "type": "VTL" },
	"label": {
		"value": "\"Récapitulatif\"",
		"type": "VTL|MD"
	},
	"id": "recap1",
	"page": "4",
	"components": [
		{
			"componentType": "Recap",
			"label": {
				"value": "\"Information sur \" || PRENOM",
				"type": "VTL|MD"
			},
			"fields": [
				{
					"label": "Prénom: ",
					"value": {
						"value": "PRENOM",
						"type": "VTL|MD"
					}
				},
				{
					"label": "Age: ",
					"value": {
						"value": "AGE",
						"type": "VTL|MD"
					}
				},
				{
					"label": "Relations: ",
					"pairwise": "LINKS",
					"value": {
						"value": "PRENOM || \" est \" || LINKS",
						"type": "VTL|MD"
					}
				}
			],
			"conditionFilter": { "value": "true", "type": "VTL" },
			"id": "recap2"
		}
	]
},

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 4, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
11.2% Coverage on New Code (required ≥ 50%)
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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.

2 participants