Structuring the outputs

Everything related to the development of modules in jamovi
Post Reply
sle
Posts: 9
Joined: Mon May 07, 2018 2:33 pm

Structuring the outputs

Post by sle »

Dear all,
I have a question about how to structure the menu of the outputs to be displayed.
If you have a look at the first module for exploration, you will see that it’s divided into statistics and plots and then divided as well into sub-topics.
In the same manner, but less complex, if you look at what has been done for PCA, it is structured into different topics, method, number of components, assumption checks…and obviously if you want to structure your outputs you have to play with the header file and/or the ui definition: I looked carefully at the code and the way the interface is displayed in terms of outputs is not in the analysis definition, nor the results, nor the analysis implementation.
My main question is, how can I structure « easily » the different outputs I want to display? Am I supposed to play with the header file or the ui definition?

Thanks for your answer, best,
Sébastien
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Structuring the outputs

Post by jonathon »

hi sébastien,

this is handled in the .u.yaml files

https://dev.jamovi.org/ui-basic-design.html

here's descriptives for example:

https://github.com/jamovi/jmv/blob/mast ... ves.u.yaml

what you want is a 'CollapseBox'.

https://dev.jamovi.org/api_ui-definition.html

let us know if you have any more queries

jonathon
Post Reply