v.0.8

On 2022.08.01

triangle-exclamation
triangle-exclamation
circle-info

To get the new version πŸͺ„

pip install --upgrade shimoku-api-python
pip install --upgrade shimoku-components-catalog
circle-info

Created a Bento boxarrow-up-right component that allow to group components in the grid without gaps, opening up a new galaxy of grid configurations 🍱🍱

Fixes

  • Added time sleep to the POST operations for table rows which allows now to put large tables of thousands of rows avoiding Too many requests error

Improvements

  • Now reports could be hidden and unhidden easily with a new method.

First create a component

report_id: str = s.plt.html(
    html=html,
    menu_path=menu_path,
    order=0,
    rows_size=2, cols_size=6,
)

Now, to hide it use hide_report()

Now the report cannot be seen in the FrontEnd web app

To unhide it just undo the operation with unhide_report()

Combined with the Input forms this allow users to see the components they want to.

New

  • Now all the components have an input attribute bentobox_data that allow to group multiple components in a Bento box.

Some behaviour considerations:

  • If two or more Reports have the same bentoboxId, they are grouped inside the Bento Group Component.

  • Report Group has its Grid. Every Report inside the Report Group must be distributed like the available Grid. This Grid inside Report Group must be:

    a) 24 columns - NO gap b) Row size 16 px height - NO gap

  • If bentoBoxId has been informed, but not sizeRows was not informed:

    • Indicators reports will have, by default, eight rows.

    • Other reports will have, by default, 14 rows.

  • If bentoBoxId has been informed, but not sizeColumns was not informed:

    • Indicators reports will have, by default, 12 cols.

    • Other reports will have, by default, 24 cols.

  • The Report with bentoboxOrder with the smallest number was the "master.” This Report defines the bentoboxSizeRows and the bentoboxSizeColumns.

Example:

And create stuff such as:

Enjoy your meal grid!

Last updated

Was this helpful?