[brainstorming] Mass-editing of Items #1737
Replies: 6 comments 16 replies
-
I came up with the following idea(s):
|
Beta Was this translation helpful? Give feedback.
-
A table view of all Items or all Items that match a given criteria showing the various properties of the Items. Except for the name, each field can be edited in place in the table. I'm not sure how that would work with metadata but even if we support everything but metadata it'd be an improvement. If not a table, populate the "create items from text" page with the .items file syntax of the Items where they can be edited in place (changing the name would cause a new Item to be created). |
Beta Was this translation helpful? Give feedback.
-
Complete the "Code" tabs by adding one to the Item's page. I think we now have everything in the REST API we need to actually do this, finally. I'm not sure if it will help as much with bulk editing but it sure would help a ton in providing support on the forum. |
Beta Was this translation helpful? Give feedback.
-
We have a way to create a bunch of Items from a Thing with "create equipment from thing" and "create points from thing". What if we could do that from a custom UI Widget or Rule Template too at instantiation time. Have a way for a developer to list all the Items their doodad needs to operate and the end admin user can select a preexisting Item or check a box to create the Item right there as they are filling out the properties for the doodad. When creating new, providing the ability to define Links and metadata would be really useful but even without it would be an improvement over what we have now. Even if it's as basic as popping over the screen the "create items from text file" instead of a nice form it would be useful. |
Beta Was this translation helpful? Give feedback.
-
For me most important would be "duplicate" (not only for items, also for things and maybe rules), and also a sort of "persistent" filter for the list. The searchbar is nice if you want to do exactly one edit (or lookup), but unfortunately immediately after you chose an item/thing/rule and go back to the items/things/rules page you have to type in the searchbar again. An example use-case: I have the heating set point items for all my rooms named "Heizung_Setpoint_" and the labels are all "" because the I originally designed it, I had them all in a group "Setpoint" on a single page in BasicUI. Now I would like to rename all the labels to " Sollwert". I can easily find those Items by typing "Heizung_Setp", but I have to do that several times because after editing one item, the searchbar is reset. |
Beta Was this translation helpful? Give feedback.
-
@florian-h05 thanks for opening up this as a discussion. I like all the ideas here. My personal request would be to have a text view of pages, rules, items, and things, similar to editing those when using file based configuration. Being able to mass edit, copy, search, etc.. would be huge, and would lessen the need to stick with file based configurations. While we could mimic the legacy item and things file format, i would also be open to json, yaml or other formats that might be easier to parse and format. i could almost imagine a VSCode style editor, where on the left side you have a file like explorer with virtual files or directories for "pages", "items", "things", "rules", etc.... and then a similar editor on the right, maybe we stick with yaml since that is used else where. Of course i'm a command line / text file junkie , so i realize i may be in the minority. And this is probably a HUGE scope creep request ;-) |
Beta Was this translation helpful? Give feedback.
-
I‘ve read the wish for mass-editing of Items in the UI several times on the forum (I currently cannot find the posts, I will probably add the links later) and I see the lack of such features in MainUI, so I started asking myself how we can improve the UI here.
Closely linked to mass-editing of Items is IMO the possibility to search over several UI-based entities like scripts, rules, scenes, Items, Things using a single search field: the developer sidebar. I have opened a PR to improve it‘s capabilities, see #1732.
This discussion here should be a brainstorming of what features you think are useful for mass-editing of Items inside the UI. Please create a new comment for each idea and discuss this idea by answering to that comment.
Beta Was this translation helpful? Give feedback.
All reactions