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

Adding a click action to oh-gauge #1107

Closed
TheGreyDiamond opened this issue Jun 19, 2021 · 1 comment
Closed

Adding a click action to oh-gauge #1107

TheGreyDiamond opened this issue Jun 19, 2021 · 1 comment
Labels
enhancement New feature or request main ui Main UI

Comments

@TheGreyDiamond
Copy link
Contributor

TheGreyDiamond commented Jun 19, 2021

The problem

The gauge widget does not support adding a click action.

Your suggestion

I would suggest adding a click action to the oh-gauge widget. It would make a few things better, as you are for example able to open a graph page, etc.

Your environment

untimeInfo:
  version: 3.0.2
  buildString: Release Build
locale: de-DE
systemInfo:
  configFolder: /etc/openhab
  userdataFolder: /var/lib/openhab
  logFolder: /var/log/openhab
  javaVersion: 11.0.9.1
  javaVendor: Raspbian
  osName: Linux
  osVersion: 5.10.17-v7l+
  osArchitecture: arm
  availableProcessors: 4
  freeMemory: 88392072
  totalMemory: 290455552
clientInfo:
  device:
    ios: false
    android: false
    androidChrome: false
    desktop: true
    iphone: false
    ipod: false
    ipad: false
    edge: false
    ie: false
    firefox: false
    macos: false
    windows: true
    cordova: false
    phonegap: false
    electron: false
    nwjs: false
    webView: false
    webview: false
    standalone: false
    os: windows
    pixelRatio: 1
    prefersColorScheme: light
  isSecureContext: false
  locationbarVisible: true
  menubarVisible: true
  navigator:
    cookieEnabled: true
    deviceMemory: N/A
    hardwareConcurrency: 10
    language: en-US
    languages:
      - en-US
      - en
      - de
    onLine: true
    platform: Win32
  screen:
    width: 1920
    height: 1080
    colorDepth: 24
  support:
    touch: false
    pointerEvents: true
    observer: true
    passiveListener: true
    gestures: false
    intersectionObserver: true
  themeOptions:
    dark: light
    filled: true
    pageTransitionAnimation: default
    bars: filled
    homeNavbar: default
    homeBackground: default
    expandableCardAnimation: default
  userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
    like Gecko) Chrome/91.0.4472.106 Safari/537.36
timestamp: 2021-06-19T14:37:53.610Z

Additional information

I started to try to implement it here: https://github.com/TheGreyDiamond/openhab-webui/tree/oh-guage-clickAction

@TheGreyDiamond TheGreyDiamond added enhancement New feature or request main ui Main UI labels Jun 19, 2021
@TheGreyDiamond
Copy link
Contributor Author

TheGreyDiamond commented Oct 6, 2021

Addressed in #1175 , now waiting for review

@ghys ghys closed this as completed in 4b02142 Oct 13, 2021
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

1 participant