From a88bcfeb73df2f760c225bb16e02f15dc0eaa1b6 Mon Sep 17 00:00:00 2001 From: Julian Knight <1591850+TotallyInformation@users.noreply.github.com> Date: Sat, 6 Jul 2024 15:18:00 +0100 Subject: [PATCH] Updates --- CHANGELOG.md | 98 +++++++++++++-------------- docs/roadmap/readme.md | 147 ++++++++++++++++++++++++++++------------- 2 files changed, 147 insertions(+), 98 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e982b1cb..a893072f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,14 +10,22 @@ Please see the documentation for archived changelogs - a new archive is produced ## Can Wait -* [ ] Add Docsify external libraries to `/docs/.config` to allow true offline use of docs. Add new gulp process to update them, possibly pack them all. - * [ ] How to create a single bundle? * [ ] Add instance descriptions to the index pages * [ ] Add automatic `search` handler for all uibuilder endpoints - [Ref](https://developer.mozilla.org/en-US/docs/Web/API/Window/location#example_5_send_a_string_of_data_to_the_server_by_modifying_the_search_property) -* [ ] New Node Idea: `uib-meta` - links to a uibuilder node and returns the instance metadata including URL's and folder locations and other settings. (e.g. use with [node-red-cleanup-filesystem](https://discourse.nodered.org/t/announce-node-red-cleanup-filesystem-request-for-testing/88135)) +* [ ] uib-element forms need some serious TLC! checkbox, radio +* [ ] Add endpoint creation apis +* [ ] Remove `writeJson` from package.mgt.js then remove `fs-extra` dependency +* [ ] Enhance JSON viewing using my own interpretation of the [json-view](https://github.com/pgrabovets/json-view) library. +* [ ] `ui.js` `applyTemplate` - Allow slot content to be changed. +* [ ] Remove all tiEvents - swap to RED.events. + * [ ] uibuilder: function externalEvents + * [ ] uibuilder: this.on('close' + * [ ] uib-sender + * [ ] package.json * `uibuilder` node * Editor panel - * [ ] Text in fieldset is fixed width + * [ ] Inputs on Files tab don't expand correctly + * [ ] Text in Template settings fieldset is fixed width * `uib-cache` node * Editor panel * [ ] Some inputs width not consistent @@ -27,6 +35,15 @@ Please see the documentation for archived changelogs - a new archive is produced * Documentation * [ ] Document a dashboard-like grid layout. +### Ideas + +* Change runtime parameter passes of `uib` to `globalThis['ti-uibuilder'].uib` +* Consider moving all handling of uib's package.json into a single lib. Only allow a single function to read/write/update +* Add Vue-style dynamic attributes: [ref1](https://claude.ai/chat/0c494f54-758c-4f14-a8c7-90dbe6b2c5d7), [ref2](https://chatgpt.com/c/7b797547-4e7e-455d-927b-926de42171aa). +* Provide a common location and some standards to enable people to craft and share custom elements. Install using library mgr? Or as an NR plugin? +* Consider adding an Editor plugin that adds a sidebar tab to show: All uibuilder instances (with links to the node AND the page), All library and other standard endpoint references. + * enableOnEdit (optional) If set to true, this tab will be accessible whilst the edit dialog is open. Default: false. +* Consider adding a uibuilder custom library - [ref](https://github.com/node-red/node-red-library-file-store). ### `uibuilder` node @@ -50,10 +67,6 @@ Initial thinking is that there will be a new but optional file in the / I will attempt to also trap a new project create to run the install if I can. Otherwise, it will display a notification for the user to run that manually. Not certain whether Node-RED will have to be restarted, I will try to avoid that but it might not be possible. Will have to test. -### **NEW COMPONENT** `` - -Starting with the code from the router, apply ANY `