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

live view: remove disabled -OnBattery-specifc views from DOM #372

Merged
merged 1 commit into from
Aug 10, 2023

Commits on Aug 9, 2023

  1. live view: remove disabled -OnBattery-specifc views from DOM

    instead of hiding views, we can also avoid adding them to the DOM. this
    has a couple of advantages:
    
    * no HTTP request for data is sent and no websocket connection is
      established for disabled features.
    * JavaScript that causes errors due to incomplete or incompatible data
      of features that are disabled anyways do not trigger the browser
      debugger.
    schlimmchen committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    123a6a8 View commit details
    Browse the repository at this point in the history