8000 Filters for gl-disk-space and gl-network-interfaces widgets by Kryce49 · Pull Request #1833 · Lissy93/dashy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Filters for gl-disk-space and gl-network-interfaces widgets #1833

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
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Kryce49
Copy link
@Kryce49 Kryce49 commented Mar 22, 2025

Kryce49 Medium Kryce49 /master → Lissy93/dashy Commits: 3 | Files Changed: 3 | Additions: 62 Label Powered by Pull Request Badge

Category:

One of: Build related changes

Overview
Added the posibility to filter disks and add friendly name in gl-disk-space. Same for gl-network-interfaces.
Updated docs.
Example:

widgets:

  - type: gl-disk-space
    options:
      hostname: http://192.168.xxx.xx:61208
      Disks:
        - /dev/mapper/md1p1: HDD 1
        - /dev/mapper/md2p1: HDD 2
        - /dev/mapper/md3p1: HDD 3
    id: 0_919_gldiskspace
  - type: gl-network-interfaces
    options:
      hostname: http://192.168.xxx.xx:61208
      Interfaces:
        - bond0: LAN
        - docker0: Docker

Issue Number (if applicable) #1712

New Vars (if applicable)
No new Vars

Code Quality Checklist (Please complete)

  • All changes are backwards compatible
  • All lint checks and tests are passing
  • There are no (new) build warnings or errors
  • (If a new config option is added) Attribute is outlined in the schema and documented
  • (If a new dependency is added) Package is essential, and has been checked out for security or performance
  • (If significant change) Bumps version in package.json

Kryce49 added 3 commits March 22, 2025 11:35
Added possibility to use filters and a friendly name in the config to show only relevant disks.
Example config:
widgets:
      - type: gl-disk-space
        options:
          hostname: http://192.168.100.40:61208
          Disks:
            - /dev/mapper/md1p1: HDD 1
            - /dev/mapper/md2p1: HDD 2
            - /dev/mapper/md3p1: HDD 3
Added possibility to use filters and a friendly name in the config to show only relevant interfaces.
Example config:
widgets:
      - type: gl-network-interfaces
        options:
          hostname: http://192.168.100.40:61208
          Interfaces:
            - bond0: LAN
            - docker0: Docker
Edited docs for new filter options in gl-disk-space and gl-network-interfaces.
@Kryce49 Kryce49 requested a review from Lissy93 as a code owner March 22, 2025 10:56
Copy link

Deploy Preview for dashy-dev ready!

Name Link
🔨 Latest commit fa4a3d6
🔍 Latest deploy log https://app.netlify.com/sites/dashy-dev/deploys/67de974fbfbccd000821f334
😎 Deploy Preview https://deploy-preview-1833--dashy-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0