PiStats icon indicating copy to clipboard operation
PiStats copied to clipboard

Consider NSSwitch to Enable/Disable Pi-hole

Open Bunn opened this issue 4 years ago • 3 comments

Bunn avatar May 13 '20 16:05 Bunn

Would be pretty sweet if you could mirror the Big Sur design of the Wi-Fi and Bluetooth menus. Big label on the left, toggle on the right, instant open on click. And clicking the individual stats could open the appropriate views in the web admin panel :)

Dexwell avatar Jul 14 '21 12:07 Dexwell

@Dexwell that's a good suggestion and I am in fact working on a redesign to make it feel at home on Big Sur. Here's a preview (ignore the icon, just a placeholder) image

And it does opens without the popover animation (see video). I just need time to implement the other things 😅.
The bigger title + toggle might look cool indeed, I'll investigate

https://user-images.githubusercontent.com/782316/125628829-b9681289-6915-4dbf-b715-f031e792926b.mov

Bunn avatar Jul 14 '21 13:07 Bunn

Awesome to hear and see! Yeah, if you want to go for near-pixel perfect consistency, I suggest:

  • Bold title in the top left that shows the Pi's name; if more than one is configured, add a little chevron next to it indicating that it's a pop-up button allowing you to switch
  • Smaller corner radius on the platter similar to the Wi-Fi and BT menus
  • No spacing between the menu bar and the platter
  • Turn the two bottom buttons into regular horizontal menu items
  • Similar to how the BT menu has a semibold, vibrant Devices label, you could do the same above the first group of stats that says Statistics, and another one in the second group that says Device

Good work!

Dexwell avatar Jul 14 '21 14:07 Dexwell