ZORALab / Hestia

One Peaceful Frontend+Backend Software Library Suite.
https://hestia.zoralab.com
Other
19 stars 1 forks source link

Add picture_hestiaUI HTML Codes Renderer #92

Closed hollowaykeanho closed 1 year ago

hollowaykeanho commented 1 year ago

Description

Please provide a short description of what feature you're looking forward to
enhance below. Please include the story behind your idea as well to give a
better visualization of your idea.

The HTML <picture> is too cumbersome to ask users for manually creating one. Since we're providing picture_hestiaUI component, we can proceed to provide its HTML code render first to reduce the burden.

Expected Behavior

Please specify the expected behavior of your requested enhancement. Some great
and helpful pointers are your expected interface (e.g. command patterns,
simple sketches of the user interface, etc).

User can use {{- partial "Hestia/functions/render/components/picture_hestiaUI.html" $image -}} to easily render an image from a given $image dataset.

Current Behavior

Please specify the current behavior (e.g. workaround, blockage, etc).

User have to manually construct the rendering algorithm for rendering image consistently (lots of complicated duplications).

Attachment

Please drag and drop the necessary data files (e.g. screenshot, logs, etc)
below.
hollowaykeanho commented 1 year ago

Developed in 6670a118435bee77325caa406ad51abff687b6cf

hollowaykeanho commented 1 year ago

ARIA feature is supported.

hollowaykeanho commented 1 year ago

Released in version v.1.2.0.