kuma-gui icon indicating copy to clipboard operation
kuma-gui copied to clipboard

chore: add DataCollection#item, EmptyBlock:type

Open johncowen opened this issue 9 months ago • 1 comments

Adds an item slot to DataCollection, to be used instead of :find="true"

Previously when using DataCollection:find="true" you then also needed to do items[0] to always refer to the first and only item in the list. Now you can use the #item="{ item }" slot instead of :find="true", eventually we can remove :find entirely.


Adds EmptyBlock:type and then uses that and makes use of t inside of a reusable component.

DataCollection also has DataCollection:type which is just passed through to EmptyBlock

There is a fair amount of decisions here based on supporting what we currently/used to have, whilst moving forwards with a different approach.

johncowen avatar Apr 30 '24 11:04 johncowen

Deploy Preview for kuma-gui ready!

Name Link
Latest commit 9d94c4ca263efce16bbcb3297e4250a34c051047
Latest deploy log https://app.netlify.com/sites/kuma-gui/deploys/6632394832971a0008ab180c
Deploy Preview https://deploy-preview-2528--kuma-gui.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Apr 30 '24 11:04 netlify[bot]