Skip to content

Commit 37c6dc0

Browse files
Merge pull request #539 from TotallyInformation/v7.3.0
V7.3.0
2 parents f2cbfde + 066c654 commit 37c6dc0

File tree

177 files changed

+3708
-5701
lines changed

Some content is hidden

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

177 files changed

+3708
-5701
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Updating Node.js via winget
2+
3+
## What I want to do
4+
I want to update Node.js to the latest version of my currently installed major version using Windows Package Manager (winget).
5+
6+
## Context
7+
- I'm using Windows 10/11
8+
- I have winget installed
9+
- I want to stay on the same major version of Node.js
10+
- I need to verify the update worked correctly
11+
12+
## Expected steps
13+
1. Check my current Node.js version
14+
2. Verify Node.js is installed via winget
15+
3. Update Node.js using winget
16+
4. Verify the update was successful
17+
18+
## References
19+
- Current version check command: `node -v`
20+
- Winget list command: `winget list nodejs-lts`
21+
- Winget update command: `winget upgrade nodejs-lts`
22+
- Alternative update with source: `winget upgrade OpenJS.NodeJS.LTS --source winget`
23+
- If needed, reinstall command: `winget uninstall OpenJS.NodeJS.LTS && winget install OpenJS.NodeJS.LTS`
24+
25+
## Example solution
26+
```powershell
27+
# Check current Node.js version
28+
node -v
29+
30+
# Check if Node.js is installed via winget
31+
winget list nodejs-lts
32+
33+
# Update Node.js to the latest version within same major version
34+
winget upgrade OpenJS.NodeJS.LTS
35+
36+
# Verify the update
37+
node -v
38+
npm -v
39+
40+
# Optional: Check global packages
41+
npm list -g --depth=0
42+
```
43+
44+
## Troubleshooting
45+
- If update fails, try specifying source with `--source winget`
46+
- If still failing, consider uninstalling and reinstalling
47+
- Remember to check global npm packages after major version changes

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,4 @@ package-lock.json
140140
tmp/_*
141141
docs/docs.md
142142
docs/.config/doctest.md
143+
docs/roadmap/.~readme.md

.stylelintrc

Lines changed: 0 additions & 11 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,67 @@ Please see the roadmap in the docs for the backlog of future planned development
2424

2525
<!-- ## [Unreleased](https://github.com/TotallyInformation/node-red-contrib-uibuilder/compare/v7.1.0...main) -->
2626

27-
## [v7.2.0](https://github.com/TotallyInformation/node-red-contrib-uibuilder/compare/v7.1.0...v7.2.0)
27+
## [v7.3.0](https://github.com/TotallyInformation/node-red-contrib-uibuilder/compare/v7.3.0...v7.2.0)
28+
29+
### 📌 Highlights
30+
31+
* A new documentation section called "Creating Web UI's" has been added. The idea is to provide quick-reference guides on how to create common page elements and layouts using UIBUILDER. Some of the articles that were pare of the "Using UIBUILDER" section have been moved to this new section for clarity. _What else needs to go here? Please let me know in the Node-RED Forum._
32+
33+
* UIBUILDER standard templates can now be external repositories, loaded via Degit. You could already load an arbitrary template this way but now some of the standard templates have been moved so that they can be more easily maintained. The selected template now also shows a description.
34+
35+
* Several templates have now been removed from core. They are now relegated to a [separate repository](https://github.com/TotallyInformation/deprecated-uibuilder-templates) and will no longer be updated. Of course, you can still copy the code yourself should you need a head-start and want to use them.
36+
* Most of the remaining templates are now external. They will reside in their own repositories on GitHub and can be maintained separately to UIBUILDER.
37+
* Templates now include a `tsconfig.json` file and a `/types` folder that describes the uibuilder client library. When writing front-end code, you should now get better code completion, descriptions and type checking.
38+
39+
* The templates now all have an updated `<div id="more" uib-topic="more"></div>` element. While this has been a staple of the templates and examples for a while, the addition of the `uib-topic="more"` attribute means that you can now show the content of a msg.payload without having to write any JavaScript code. Don't forget to set `msg.topic` to `"more"` so that the uibuilder client library knows where to send the message.
40+
41+
Don't forget to try loading the updated templates to see the improvements.
42+
43+
### Documentation
44+
45+
* **NEW** Section: "Creating Web UI's"
46+
* **NEW** (Draft) Creating a web app - How to create a web app using UIBUILDER
47+
* **NEW** Grid layouts - Creating a content-heavy grid layout using CSS Grid
48+
* **NEW** Dashboard layouts - Creating a dashboard-style layout using CSS Grid
49+
* **NEW** Forms: User input handling - Handling input using forms and other input elements
50+
* _SOON_ Tables
51+
* _SOON_ Charts
52+
* _SOON_ Maps
53+
* _SOON_ Articles
54+
* _SOON_ Lists
55+
* _SOON_ Cards
56+
57+
Please let me know if you want to see other content in this section.
58+
59+
### `uib-brand.css` styles & variables
60+
61+
* Improved default font specifications based on [Modern Font Stacks](https://github.com/system-fonts/modern-font-stacks).
62+
63+
### uibuilder client library
64+
65+
* TypeScript definition files now included. This gives a much better experience when using the client library. It works for JavaScript not just TypeScript. All of the templates now also contain copies.
66+
67+
### Runtime Plugin
68+
69+
* **FIX** Error in `RED.util.uib.dp` that always returned a single decimal place if zero dp's were requested.
70+
* **NEW** `RED.util.uib.truthy(val)` - Returns true if the value is truthy. This is useful for checking if a value is set or not. See the details in the documentation.
71+
72+
### Node: `uibuilder`
73+
74+
* Updated template processing to allow standard templates to be external.
75+
* Templates now show a description in the Editor config.
76+
* Removed templates: `esm-blank-client`, `esm-vue3-nobuild`, `iife-blank-client`, `iife-vue3-nobuild`, `svelte-basic`, `vue2-bootstrap`,`vue2-simple`. Reference copies placed in the [deprecated templates repository](https://github.com/TotallyInformation/deprecated-uibuilder-templates).
77+
* External templates added: "Extended IIFE example", "Simple external ES module", "External Svelte", "Vie3 no build step, IIFE client". Each with a link to the corresponding GitHub repository.
78+
* **FIXED** The `uibuilder` node's "Node details" button now correctly opens the instance settings page in the Node-RED Editor. It was previously trying to open a non-existent page.
79+
* **FIXED** The `uibuilder` node's "Node details" button now correctly opens the instance details page.
80+
81+
### Background code improvements
82+
83+
* Moved the uibuilder node's `uib` var to `nodes/libs/uibGlobalConfig.cjs` as a module. Enables being able to require it rather than pass it in libs and other nodes. Another step towards a more modular codebase.
84+
* Started renaming js files to better indicate whether they use script/CommonJS (`*.cjs`), or ESM (`*.mjs`). Mostly to help with ESLINT.
85+
* Lots of code cleanup and linting to make the code more readable and maintainable.
86+
87+
## [v7.2.0](https://github.com/TotallyInformation/node-red-contrib-uibuilder/compare/v7.2.0...v7.1.0)
2888

2989
### 📌 Highlights
3090

_.eslintrc.js

Lines changed: 0 additions & 229 deletions
This file was deleted.

docs/.config/creating-uis/articles.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Creating an articles view using UIBUILDER
3+
description: |
4+
Here we see how to create a blog-style list of articles on a page.
5+
created: 2025-05-26 17:32:21
6+
updated: 2025-05-26 17:32:29
7+
author: Julian Knight (Totally Information)
8+
---
9+
10+
> STATUS: Soon.

docs/.config/creating-uis/cards.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Creating an cards using UIBUILDER
3+
description: |
4+
Cards are a useful form of content wrapper.
5+
created: 2025-05-26 17:32:21
6+
updated: 2025-05-26 17:32:29
7+
author: Julian Knight (Totally Information)
8+
---
9+
10+
> STATUS: Soon.

docs/.config/creating-uis/charts.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Creating a chart using UIBUILDER
3+
description: |
4+
Here we see how to create a chart on a page using data from Node-RED and a charting library.
5+
created: 2025-05-26 17:32:21
6+
updated: 2025-05-26 17:32:29
7+
author: Julian Knight (Totally Information)
8+
---
9+
10+
> STATUS: Soon.

0 commit comments

Comments
 (0)