Skip to content

Commit 657390b

Browse files
Merge pull request #313 from TotallyInformation/v7.0.0
V7.0.0 - scans checked and resolved. 325 commits, 244 files changed. 12,598 total lines of code (22,400 including comments).
2 parents da35335 + 5982df6 commit 657390b

File tree

244 files changed

+20730
-26072
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+20730
-26072
lines changed

.eslintrc.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ module.exports = {
7474
'plugin:sonarjs/recommended',
7575
// 'plugin:prettier/recommended',
7676
// The n plugin reads the min. node.js version from package.json and error's any ES features not available in that version.
77+
// https://www.npmjs.com/package/eslint-plugin-n#-rules
7778
'plugin:n/recommended',
7879
],
7980
// settings: {
@@ -84,16 +85,6 @@ module.exports = {
8485
rules: {
8586
'n/no-process-exit': 'error',
8687

87-
// remove once min engines moves to node.js v14+
88-
// 'es/no-optional-chaining': 'error',
89-
// 'es/no-dynamic-import': 'error',
90-
// 'es/no-nullish-coalescing-operators': 'error',
91-
92-
// remove once min engines moves to node.js v15+
93-
'es/no-logical-assignment-operators': 'error',
94-
'es/no-promise-any': 'error',
95-
'es/no-numeric-separators': 'error',
96-
9788
// Tidy up some jsdoc oddities
9889
'jsdoc/multiline-blocks': 0,
9990
'jsdoc/newline-after-description': 0,

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 🆕 Request a feature
2-
description: File a bug/issue on the core of Node-RED
2+
description: Request for something new or improved
33
labels: [needs-triage]
44
body:
55
- type: markdown

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Node.JS |
1818
npm |
1919
Node-RED |
2020
uibuilder node |
21-
uibuilderFE |
21+
uibuilder client library |
2222
OS |
2323
Browser |
2424

.gitignore

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,10 @@ docs/.obsidian/snippets/attention-callout.css
133133
docs/.obsidian/themes/Minimal/manifest.json
134134
docs/.obsidian/themes/Minimal/theme.css
135135

136-
# Omit random test files.
137-
tests/execa/package-lock.json
138-
tests/execa/package.json
139-
tests/execa/test-execa-src.js
140-
tests/execa/test-execa-src.mjs
141-
tests/execa/test-execa.js
142-
tests/execa/test2.mjs
143-
tests/execa/test3.js
136+
# We don't need the lock file for Node-RED nodes
137+
package-lock.json
144138

145139
#
146140
tmp/_*
141+
docs/docs.md
142+
docs/.config/doctest.md

.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.github/
2+
.vscode/
3+
node_modules/
4+
tmp/
5+
tests/
6+
archive/

CHANGELOG.md

Lines changed: 309 additions & 912 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ UIBUILDER for Node-RED allows the easy creation of data-driven front-end web app
2222

2323
It includes many helper features that can reduce or eliminate the need to write code for building data-driven web applications and user interfaces integrated with Node-RED.
2424

25+
> [!NOTE]
26+
> UIBUILDER triggers a quality warning in the [Flows scorecard entry](https://flows.nodered.org/node/node-red-contrib-uibuilder/scorecard).
27+
>
28+
> "Number of Dependencies" is >6 - this is due to the large number of features in UIBUILDER and is expected. Even so, v7 only has 7 dependencies. 1 more is due to be removed in a future release.
29+
2530
## Installation
2631

2732
UIBUILDER is best installed using Node-RED's Palette Manager.
@@ -35,18 +40,18 @@ cd ~/.node-red
3540
npm install node-red-contrib-uibuilder
3641
```
3742

38-
To install old versions:
43+
To install old versions, provide the major version number:
3944

4045
```bash
4146
cd ~/.node-red
42-
npm install node-red-contrib-uibuilder@v5.1.1
47+
npm install node-red-contrib-uibuilder@v5
4348
```
4449

45-
To install development branches, please install from [GitHub](https://github.com/TotallyInformation/node-red-contrib-uibuilder):
50+
To install development branches, please install from [GitHub](https://github.com/TotallyInformation/node-red-contrib-uibuilder). Branchnames are future version numbers, check GitHub for available branches:
4651

4752
```bash
4853
cd ~/.node-red
49-
npm install totallyinformation/node-red-contrib-uibuilder#branchname
54+
npm install totallyinformation/node-red-contrib-uibuilder#v7.1.0
5055
```
5156

5257
You will need to restart Node-RED if installing manually.
@@ -56,17 +61,16 @@ You will need to restart Node-RED if installing manually.
5661

5762
The current [CHANGELOG](https://totallyinformation.github.io/node-red-contrib-uibuilder/#/CHANGELOG.md) contains all of the changes and requirement details for each version.
5863

59-
Older changes can be found in the previous change documents: [CHANGELOG-V5](https://totallyinformation.github.io/node-red-contrib-uibuilder/#/archived/CHANGELOG-v5.md), [CHANGELOG-V3/V4]([/docs](https://totallyinformation.github.io/node-red-contrib-uibuilder/#/archived/)/CHANGELOG-v3-v4.md), [CHANGELOG-v2](https://totallyinformation.github.io/node-red-contrib-uibuilder/#/archived/CHANGELOG-v2.md), and [CHANGELOG-v2](https://totallyinformation.github.io/node-red-contrib-uibuilder/#/archived/CHANGELOG-v1.md)
64+
Older changes can be found in the previous change documents: [CHANGELOG-V5](https://totallyinformation.github.io/node-red-contrib-uibuilder/#/archived/CHANGELOG-v6.md), [CHANGELOG-V5](https://totallyinformation.github.io/node-red-contrib-uibuilder/#/archived/CHANGELOG-v5.md), [CHANGELOG-V3/V4]([/docs](https://totallyinformation.github.io/node-red-contrib-uibuilder/#/archived/)/CHANGELOG-v3-v4.md), [CHANGELOG-v2](https://totallyinformation.github.io/node-red-contrib-uibuilder/#/archived/CHANGELOG-v2.md), and [CHANGELOG-v2](https://totallyinformation.github.io/node-red-contrib-uibuilder/#/archived/CHANGELOG-v1.md).
6065

6166
## Getting started
6267

6368
Once installed, The following is a typical simple flow to get going.
6469

6570
1. Add a `uibuilder` node. Open its settings and give it a "URL" which is used as the identifying name. Close the settings and click on the Deploy button.
66-
2. Add an inject node for some simple input data and two debug nodes on the two output ports so that you can see everything that is going on. Deploy the flow.
67-
3. Re-open the `uibuilder` node's settings and click the "Open" button to see the resulting web page.
71+
2. Re-open the `uibuilder` node's settings and click the "Open" button to see the resulting web page.
6872

69-
You are now ready to edit the front-end html/javascript/css if you wish and to add logic in Node-RED to provide inputs and handle outputs.
73+
You are now ready to edit the front-end html/javascript/css if you wish and to add logic in Node-RED to provide inputs and handle outputs. You can also use UIBUILDER's no-code features to create your UI as well or instead.
7074

7175
Please see the [First-timers walkthrough](https://totallyinformation.github.io/node-red-contrib-uibuilder/#/walkthrough1) in the documentation and the [Introduction Video](https://www.youtube.com/watch?v=IVWR_3cx05A) for more help to get started. Also try out the built-in example flows.
7276

@@ -228,6 +232,10 @@ You can also support the development of UIBUILDER by sponsoring the development.
228232
[GitHub Sponsorship](https://github.com/sponsors/TotallyInformation),
229233
[PayPal Sponsorship](https://paypal.me/TotallyInformation)
230234

235+
## Sponsors
236+
237+
- [@MagicJF](https://github.com/MagicJF)
238+
231239
## Developers/Contributors
232240

233241
- [Julian Knight](https://github.com/TotallyInformation) - the designer and main author.

0 commit comments

Comments
 (0)