Skip to content

Commit db9fd1e

Browse files
updates
1 parent 921c5d1 commit db9fd1e

File tree

4 files changed

+29
-7
lines changed

4 files changed

+29
-7
lines changed

.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

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ Please see the roadmap in the docs for the backlog of future planned development
2828

2929
### 📌 Highlights
3030

31+
### `uib-brand.css` styles & variables
32+
33+
* Improved default font specifications based on [Modern Font Stacks](https://github.com/system-fonts/modern-font-stacks).
34+
3135
### Background code improvements
3236

3337
* 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.

docs/roadmap/next.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,25 @@ title: Possible Future Features
33
description: |
44
What is being worked on for the next release.
55
created: 2025-01-05 12:34:47
6-
updated: 2025-04-22 12:09:54
6+
updated: 2025-05-04 12:00:53
77
author: Julian Knight (Totally Information)
88
---
99

10+
## In Progress
11+
12+
* [ ] Move all nodes editor html to use modules. [Ref](https://discourse.nodered.org/t/text-javascript-vs-module-in-html/94215/4)
13+
* [ ] No need to pass uib var now it is in a module, can simply require it.
14+
1015
## To Fix
1116

12-
* Docs - need to make the title and meta-data dynamic to the page/link.
13-
* ui.js - applyTemplate - config.onceOnly not config.onlyOnce
17+
* Failed rename of instance folder gets stuck.
1418
* Form CSS:
1519
* Input fields should not have a black background in light mode.
1620

1721
## To Do
1822

19-
* [ ] **Started**. Move all nodes editor html to use modules. [Ref](https://discourse.nodered.org/t/text-javascript-vs-module-in-html/94215/4)
20-
* [ ] Improve brand.css font specification based on [Modern Font Stacks](https://github.com/system-fonts/modern-font-stacks).
23+
* [ ] Allow standard templates to be loaded from a URL, not just external ones.
2124
* [ ] Allow overriding of the JSON max upload size for the custom Express server. [Ref](https://discourse.nodered.org/t/json-payloads-larger-than-100kb-are-refused-when-using-ui-builder/95988)
22-
* [ ] No need to pass uib var now it is in a module, can simply require it.
2325

2426
* Documentation
2527
* [ ] Properly document file uploads and how to handle them. [Ref](https://discourse.nodered.org/t/input-file-in-uibuilder-v7/96196)
@@ -57,6 +59,8 @@ author: Julian Knight (Totally Information)
5759
## Ideas
5860

5961
* Move uib-brand.css to a new sub-package. Publish separately.
62+
* Enhance CSS with ideas from [OpenProps](https://open-props.style).
63+
* Move all runtime code to ESM's and rely on ESBUILD to build the runtime. This will allow us to use the latest JS features but retain backwards compatibility.
6064

6165
## New documentation
6266

docs/roadmap/readme.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: uibuilder Roadmap
33
description: |
44
This page outlines the future direction of uibuilder. Including specific things that will almost certainly happen as well as more speculative ideas.
55
created: 2022-02-01 11:15:27
6-
updated: 2025-01-19 15:52:40
6+
updated: 2025-05-04 12:17:51
77
---
88

99
Is there something in this list you would like to see prioritised? Is there something you could help with? Please get in touch via the [Node-RED forum](https://discourse.nodered.org/). Alternatively, you can start a [discussion on GitHub](https://github.com/TotallyInformation/node-red-contrib-uibuilder/discussions) or [raise a GitHub issue](https://github.com/TotallyInformation/node-red-contrib-uibuilder/issues). Please note that I no longer have the time to monitor the #uibuilder channel in the Node-RED slack.
@@ -122,6 +122,17 @@ Vars moved to editor-common (replace): node.urlPrefix, node.nodeRoot, paletteCat
122122

123123
*Ref editor-common.js/css* - now moved to a plugin so only loaded once.
124124

125+
### Node core/library refactoring
126+
127+
| Refactor | admin-api-v2 | admin-api-v3 | fs | low-code | package-mgt | socket | tilib | uiblib | web |
128+
| ----------------- | ------------ | ------------ | ---- | -------- | ----------- | ------ | ----- | ------ | ---- |
129+
| uib var to module | | | | | | | | | |
130+
| | | | | | | | | | |
131+
| | | | | | | | | | |
132+
| | | | | | | | | | |
133+
134+
135+
125136
### Node Runtime Refactoring
126137

127138
| Refactor / Node: | uibuilder | uib-cache | uib-element | uib-file-list | uib-html | uib-save | uib-sender | uib-tag | uib-update | *uib-uplot* |
@@ -133,6 +144,8 @@ Vars moved to editor-common (replace): node.urlPrefix, node.nodeRoot, paletteCat
133144
| Move FS to lib(3) | | | | | | | | | | |
134145
| Remove fs-extra(4) | | | | | | | | | | |
135146
| Modules(5) | ✔️ | | | | | | | | | |
147+
| uib var to module | ✔️ | | | | | | | | | |
148+
| | | | | | | | | | | |
136149
| Notes | | | | | | | | | | check this for other needed updates |
137150

138151
(1) https://github.com/ryanmcdermott/clean-code-javascript?tab=readme-ov-file#set-default-objects-with-objectassign

0 commit comments

Comments
 (0)