FlowFuse/node-red-dashboard

template node should include practical code example related to node-red

Open

#1,558 opened on Dec 24, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)HTML (83 forks)auto 404
good first issuesize:Mstory

Repository metrics

Stars
 (350 stars)
PR merge metrics
 (PR metrics pending)

Description

Epic

No response

Description

As a: user

I want to: be able to a use template node and immediately see a practical code example that reflects a use-case in the context of node-red and not vue per se.

So that: Users can see how a template node can be used in the context of a node-red msg.payload with an object or array.

reasoning: Current default example does not help users in understanding the vue concept in context of node-red. A task list example with 2-way data binding could be more useful than a counter example that does not interact with node-red.

Which customers would this be availble to

All Users, (CE)

Acceptance Criteria

  • users can see the use of msg.payload within a template node
  • users can derive the use case of msg.payload in a loop, ie. v-for
  • users can see the use case of binding a payload property to an element, ie. v-text

Have you provided an initial effort estimate for this issue?

I can not provide an initial effort estimate

Contributor guide