Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Sys Info Widget Getting Out of Hand

    webGUI
    5
    9
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      NOYB
      last edited by

      The system information widget is getting out of hand.  It needs to be split out by info and operational.

      System/Serial number, BOIS, and CPU type could initiate  a new informational section.  No doubt there would be other future additions.

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        IIRC you can use the same widget multiple times in 2.4 and hide things as needed.

        https://redmine.pfsense.org/issues/7182

        1 Reply Last reply Reply Quote 0
        • N
          NOYB
          last edited by

          Guess I haven't been keeping up lately.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            We've tossed around the idea of splitting it up, putting the parts with data/graphs separate from the general info. No clear consensus on where to draw the line yet but it is getting a bit too large. Plus then we'd need upgrade code and everything else to handle the transition. Not difficult work but it hasn't made its way up anyone's list of priorities so far.

            Using multiple copies and filters can help for those who want to shrink it for the time being.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • N
              NOYB
              last edited by

              If I had to make a decision on something like this I would start by identifying which items are obvious for group A and which are obvious for group B.  Then for the not so obvious items I would.

              a) create a third group.
              b) stick them in one group or the other.
              c) rationalize each of them into group A or group B.  Whichever they seem to be best fit.

              1 Reply Last reply Reply Quote 0
              • P
                phil.davis
                last edited by

                Because you can now have multiple copies of the widget on the dashboard and choose which items you like to see in each copy, there is no need to explicitly make 2 "system widgets" and decide in a fixed way what items to put in each.

                You could just modify the default config so that it has 2 copies of the system widget on the default dashboard, with fields selected in some "reasonable" way. No "back-end" code is needed.

                Users who do not like the existing, or some new default dashboard layout can flexibly modify it anyway.

                Example: https://github.com/pfsense/pfsense/pull/3703

                As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                1 Reply Last reply Reply Quote 0
                • MikeV7896M
                  MikeV7896
                  last edited by

                  Yep, I played around with this, and it's cool… except I don't think I saw a way to rename the widget, or at least add some custom text to the title. For example, I might want all of the graph items to be labeled as "System resources" (if I could rename it), or "System Information - Resources" (if I could add some custom text to the end)...

                  The S in IOT stands for Security

                  1 Reply Last reply Reply Quote 0
                  • P
                    phil.davis
                    last edited by

                    @virgiliomi:

                    Yep, I played around with this, and it's cool… except I don't think I saw a way to rename the widget, or at least add some custom text to the title. For example, I might want all of the graph items to be labeled as "System resources" (if I could rename it), or "System Information - Resources" (if I could add some custom text to the end)...

                    Yeh, I have thought about that also - so I could rename "System Information" to "System Performance" for a filtered section, or filter OpenVPN to just show clients and name it "OpenVPN Clients" or… - I will have a quick look/think if there is an easy bit of code that can abstract that widget title easily.

                    As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                    If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                    1 Reply Last reply Reply Quote 0
                    • P
                      phil.davis
                      last edited by

                      PR https://github.com/pfsense/pfsense/pull/3707 adds the ability to customize the widget title, for widgets that currently have any customizable options.

                      (For widgets that do not have anything customizable, the user is not likely to want/need to change the widget tile. And widgets like this do not have any of the code to show the "wrench tool" and open the settings panel. I was basically too lazy to add that to those widgets.)

                      As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                      If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.