-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f13f4c
commit 423ce20
Showing
58 changed files
with
20,596 additions
and
2,576 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
title: Ideas for future components and enhancements | ||
description: | | ||
Where might we go? | ||
created: 2024-09-25 02:04:04 | ||
updated: 2024-09-28 13:24:19 | ||
--- | ||
|
||
## Possible future components | ||
|
||
### Version of uib-var | ||
|
||
* Shows content from a JavaScript variable. | ||
* Possibly allows dynamic overrides of attributes. | ||
* Test with component version text. | ||
|
||
### `light-switch` - on/off, level, colour. Location. | ||
|
||
### `layout-area` - Switch between a few core layouts such as blog & dash | ||
#### `area-*` - Define an area for a layout, e.g. `area-main`, `area-head`, `area-foot`, `area-sidebar` - all included in the parent component's package. | ||
|
||
### `smart-list` - 2-way data controllable list wrapper | ||
|
||
* Wraps around lists to easily add different entry formats including numbering (nested), icons, checkboxes, prefixes (e.g. dates) | ||
* Dynamic property to store contents - ideally 2-way | ||
* Multiple ways to update content: DOM changes, custom event, proxied property. For uibuilder: auto-topic updates | ||
* Optionally drag/drop to re-order with data property updated | ||
* Optionally content editable - double-click on icon, prefix and text to edit | ||
* Optional checkbox with data store | ||
* UIBUILDER data enabled. Controllable updates back to Node-RED (e.g. when no longer visible or immediate) | ||
|
||
### `smart-report` - Like collapsible-headings but also data controllable | ||
|
||
* Wraps around a collection of `<hx>` and `<p>`/`<div>`/`<img>` tags adding smarter formatting and control | ||
* Optional collapsible headings | ||
* Optional numbered headings (including nested numbers), format controllable | ||
* Dynamic property to store contents - ideally 2-way | ||
* Multiple ways to update content: DOM changes, custom event, proxied property. For uibuilder: auto-topic updates | ||
* *Maybe - Optional drag/drop re-oder* | ||
* *Maybe - double-click to content edit* | ||
|
||
### `linear-gauge` | ||
|
||
* horizontal/vertical | ||
* Segmented (led style) or smooth | ||
* Multiple colour segments | ||
* Optional current value with positioning | ||
|
||
Refs: [1](https://discourse.nodered.org/t/gauges-for-dashboard-2-0-made-with-ui-template/85955), Discourse vert indicators. | ||
|
||
|
||
## Thoughts | ||
|
||
* Any way to have a component that is able to get meta-data from another component. Eg version, docs, etc? | ||
|
||
* Article with heading should be collapsible | ||
|
||
* Each component could have a getter to output their own TODO lists! |
Oops, something went wrong.