You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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.
0 commit comments