Skip to content

[MainUI] Allow selecting existing Items to add as points/properties from the Model config page #433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rkoshak opened this issue Oct 23, 2020 · 5 comments
Labels
enhancement New feature or request main ui Main UI

Comments

@rkoshak
Copy link

rkoshak commented Oct 23, 2020

When someone is starting from scratch or has already built a semantic model in OH 2 this isn't a big deal. But if someone imports a bunch of Things and Items, or creates a bunch of Things and Items without building the model it becomes awkward adding those already existing Items to the model. One has to leave the model page, find the parent Group Item to add the Items to the right Location or Equipment, then go to the individual Items and edit them to add the semantic tags which takes a ton of clicks.

@ghys ghys added enhancement New feature or request main ui Main UI labels Oct 23, 2020
@mherwege
Copy link
Contributor

Would be solved with model drag & drop: #2970

@rkoshak
Copy link
Author

rkoshak commented Feb 13, 2025

I don't think so. I'm referring to when you choose "Add equipment to thing" or "Add points to model" from the Thing's Channels page.

Image

Which leads to the form where you select the Location, select/create the Location, then choose the Channels to link to new Items.

Image

I want to link the Channel to an existing Item from here instead of only having the option to create a new Item.

#2970 helps with different use cases but not with this initial linking step.

@mherwege
Copy link
Contributor

OK, sorry, I misunderstood.

@mherwege
Copy link
Contributor

One has to leave the model page, find the parent Group Item to add the Items to the right Location or Equipment, then go to the individual Items and edit them to add the semantic tags which takes a ton of clicks.

Model drag/drop would allow you to do it from the model tree. You just drag the item to the right location or equipment. No need to add semantic tags manually.

@rkoshak
Copy link
Author

rkoshak commented Feb 13, 2025

Model drag/drop would allow you to do it from the model tree. You just drag the item to the right location or equipment. No need to add semantic tags manually.

True, but that's not the main focus of this issue. Though the way I worded the original issue I agree it kind of sounds like it. The whole issue of situating the Items into the model are indeed solved by the drag and drop PR. But it still would be great if we could select existing Items and not just create new Items from this form above and beyond the whole model discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request main ui Main UI
Projects
None yet
Development

No branches or pull requests

3 participants