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

Thing page: Support invoking Thing actions & Viewing their output #2818

Merged
merged 3 commits into from
Oct 22, 2024

Commits on Oct 21, 2024

  1. Thing page: Add support for invoking Thing actions & Viewing action o…

    …utput
    
    Refs openhab/openhab-core#4392.
    Closes openhab#2817.
    
    This adds a new section "Actions" to the Thing tab of the Thing page,
    which provides a button for each UI-supported Thing action.
    Clicking on that button will open a popup,
    where action input can be configured and action output can be viewed.
    
    Currently, action output is displayed pretty for the `result`, `qrPairingCode` and `manualPairingCode` keys of the response object.
    In addition to that, the raw output can be viewed.
    
    Signed-off-by: Florian Hotze <dev@florianhotze.com>
    florian-h05 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    e2d6cc7 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Thing page: Fix navbar style issue when handler not available

    Signed-off-by: Florian Hotze <dev@florianhotze.com>
    florian-h05 committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    ad14417 View commit details
    Browse the repository at this point in the history
  2. Improve rendering logic of action outputs

    Signed-off-by: Florian Hotze <dev@florianhotze.com>
    florian-h05 committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    cd8abd9 View commit details
    Browse the repository at this point in the history