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

Sys Info Widget Getting Out of Hand

Scheduled Pinned Locked Moved webGUI
9 Posts 5 Posters 1.6k Views
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 Apr 15, 2017, 3:46 AM

    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 Apr 15, 2017, 8:18 AM

      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 Apr 15, 2017, 7:24 PM

        Guess I haven't been keeping up lately.

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Apr 17, 2017, 2:48 PM

          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 Apr 20, 2017, 9:43 PM

            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 Apr 21, 2017, 9:51 AM Apr 21, 2017, 9:24 AM

              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
              • M
                MikeV7896
                last edited by Apr 25, 2017, 3:01 AM

                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 Apr 25, 2017, 4:18 AM

                  @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 Apr 25, 2017, 12:52 PM

                    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
                    9 out of 9
                    • First post
                      9/9
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received