Skip to content
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

[actiontemplatehli] Simplify usage and add UI #14647

Closed

Conversation

GiviMAD
Copy link
Member

@GiviMAD GiviMAD commented Mar 21, 2023

This is a rework of this add-on.

Mayor difference is that it stops requiring file system configurations as it includes a small UI to configure the interpreter actions.

This UI is developed with a minimum amount of dependencies thinking on avoiding as much maintenance work as posible in the future. Still I used typescript and vite for the building process, axios and pkce-challenge (for supporting the authentication workflow), and also picocss to have some predefined styles.

Also there are some minor structure changes, now actions can target multiple item types and be restricted by its semantic and/or tags.

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
@GiviMAD
Copy link
Member Author

GiviMAD commented Mar 21, 2023

Some ui recodings:
actiontemplatehliUI

actiontemplatehliUI2

actiontemplatehliUI3

@GiviMAD
Copy link
Member Author

GiviMAD commented Mar 21, 2023

@lolodomo probably still a lot of room for improvement but I think its a bit easier to use now.

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
@GiviMAD GiviMAD force-pushed the actiontemplatehli/simplify_usage branch from eb26e10 to 30d19ec Compare March 21, 2023 21:51
@jlaur jlaur added the enhancement An enhancement or new feature for an existing add-on label Mar 21, 2023
@jlaur jlaur changed the title [actiontemplatehli] simplify usage and add UI [actiontemplatehli] Simplify usage and add UI Mar 21, 2023
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/actiontemplateinterpreter-next-3-4-0-4-0-0/142036/1

@GiviMAD
Copy link
Member Author

GiviMAD commented Apr 22, 2023

Another option, which will avoid the having a separate UI, can be create things that represent the actions that way the configuration can be done using the main UI.

Also after reading @dalgwen idea of adding an intent catalog, maybe is easier to remove all the target configuration from the actions and link them to the items using a metadata tag.

If someone have some feedback about it, please let me know.

@GiviMAD GiviMAD closed this Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants