nextcloud-vue icon indicating copy to clipboard operation
nextcloud-vue copied to clipboard

Add a skeleton/placeholder component

Open edward-ly opened this issue 8 months ago • 2 comments

A similar component has already been implemented in the Talk app, but it would be nice if this component could be available in the library so that other apps could use it too.

Perhaps for a generic component, the chat message skeleton above can be broken down into individual shapes (e.g. like this) so that it can also be used in other contexts outside of chat.

Related: https://github.com/nextcloud/assistant/issues/214

edward-ly avatar Apr 24 '25 17:04 edward-ly

I'd consider making it CSS first. This allows using placeholders during app loading:

  • Example: https://github.com/nextcloud/spreed/pull/12839

ShGKme avatar Apr 25 '25 09:04 ShGKme

Or SVG

ShGKme avatar Apr 25 '25 09:04 ShGKme