FlowFuse / FlowFuse/node-red-dashboard

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

Open
#1,558 0 comments 0 reactions 0 assignees View on GitHub
good first issue size:M story
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

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

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.