martinberlin / cale-integrations

CALE configurator to add APIs to your epaper screens - PHP/Symfony 4.4
https://cale.es
MIT License
6 stars 0 forks source link

98/99 Internal API to deliver content particles #13

Closed martinberlin closed 4 years ago

martinberlin commented 4 years ago

This will enable for example adding a logo in the header section of any Screen. Or having a 2 column calendar that in the left side shows a rotating photo. It should be implemented following the standard UserApi -> IntegrationApi configuration and in the last one, add properties:

imagePath string(255) html text

A small pool of max. 9 images (Rotate on each request maybe?)

Left on hold. Let's make this very simple, since at the beginning should be used only with the mission to add a company logo or free text

martinberlin commented 4 years ago

Made some progress with this yesterday. Added HTML and rendering endpoint. Now it's time to deal with a single image upload per HTML text area. And could be a great idea to add a imagePosition to the mix (left | center | right) Evaluating https://summernote.org/examples as rich textarea preview.

martinberlin commented 4 years ago
martinberlin commented 4 years ago

Implemented and live. Only this idea is missing:

Add a way to link this HTML api to the screenshot partial so the content can be updated with one click

martinberlin commented 4 years ago

Closing this since there is at the moment more important things to finish, reopening later