[GH-ISSUE #939] Feature request: Add buttons to toolbar for quickly disabling/enabling breakpoints, map remote, map local and network conditions #933

Open
opened 2026-03-03 19:23:07 +03:00 by kerem · 14 comments
Owner

Originally created by @cameroncooke on GitHub (Jul 15, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/939

Originally assigned to: @NghiaTranUIT on GitHub.

Would be useful to have easy to access buttons to globally enable and disable:

  • Breakpoints
  • Map Remote
  • Map Local
  • Network Conditions

Quick often I want to disable and enable breakpoints many times in testing and at the moment it's 4 clicks to do so. On Charles, it's a single click on the breakpoints toolbar icon.

It would be useful to be able to do this for all other features that have a global on/off switch.

While you can turn off some features from the status bar it's still two clicks and you can't turn on that feature from there. Be able to toggle quickly would be really handy.

These buttons wouldn't present the configuration interface they would just enable and disable the entire feature based on current rules and configurations.

Proxyman version? (Ex. Proxyman 1.4.3)

2.29.0 (22900)

macOS Version? (Ex. mac 10.14)

12.0 Beta (21A5284e)

Steps to reproduce

Expected behavior

Screenshots (optional)

Originally created by @cameroncooke on GitHub (Jul 15, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/939 Originally assigned to: @NghiaTranUIT on GitHub. Would be useful to have easy to access buttons to globally enable and disable: - Breakpoints - Map Remote - Map Local - Network Conditions Quick often I want to disable and enable breakpoints many times in testing and at the moment it's 4 clicks to do so. On Charles, it's a single click on the breakpoints toolbar icon. It would be useful to be able to do this for all other features that have a global on/off switch. While you can turn off some features from the status bar it's still two clicks and you can't turn on that feature from there. Be able to toggle quickly would be really handy. These buttons wouldn't present the configuration interface they would just enable and disable the entire feature based on current rules and configurations. ### Proxyman version? (Ex. Proxyman 1.4.3) 2.29.0 (22900) ### macOS Version? (Ex. mac 10.14) 12.0 Beta (21A5284e) ### Steps to reproduce ### Expected behavior ### Screenshots (optional)
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 15, 2021):

Thanks for your valuable insight from the Charles 👍

Instead of putting these toggles on the status bar (4 toggle buttons), which might make the app is too more complicated, I think that we can:

  1. Add a global shortcut for toggling all tools.
    For instance, OPT+CMD+B will open the Breakpoint window. SHIFT+CMD+B will toggle the feature (ON/OFF).
    OPT+CMD+L will open the Map Local Window => SHIFT+CMD+L to toggle the feature.
  2. Add a toggle button on the System Menu Bar
    Screen Shot 2021-07-15 at 18 03 41

You can workaround by click on the Tool Badge on the Bottom Bar. The tool window will show up. Then, you can click to disable a tool. Sorry again, there is no shortcut at the moment. We will add it 😿

Screen_Shot_2021-07-15_at_17_55_17
<!-- gh-comment-id:880605053 --> @NghiaTranUIT commented on GitHub (Jul 15, 2021): Thanks for your valuable insight from the Charles 👍 Instead of putting these toggles on the status bar (4 toggle buttons), which might make the app is too more **complicated**, I think that we can: 1. Add a global shortcut for toggling all tools. For instance, OPT+CMD+B will open the Breakpoint window. SHIFT+CMD+B will toggle the feature (ON/OFF). OPT+CMD+L will open the Map Local Window => SHIFT+CMD+L to toggle the feature. 2. Add a toggle button on the System Menu Bar <img width="224" alt="Screen Shot 2021-07-15 at 18 03 41" src="https://user-images.githubusercontent.com/5878421/125777992-ce570d6d-5d27-4175-910c-374bd750e2a7.png"> --------------- You can workaround by click on the Tool Badge on the Bottom Bar. The tool window will show up. Then, you can click to disable a tool. Sorry again, there is no shortcut at the moment. We will add it 😿 <img width="1432" alt="Screen_Shot_2021-07-15_at_17_55_17" src="https://user-images.githubusercontent.com/5878421/125778127-d36d6c43-a576-47ca-b71e-a5e9ddcced53.png">
Author
Owner

@cameroncooke commented on GitHub (Jul 15, 2021):

I have a terrible memory for shortcut keys so by all means add them but I wouldn't use them. I do better with icons so if there were buttons on the main toolbar and/or the ProxyMan menu bar that would be great.

<!-- gh-comment-id:880606643 --> @cameroncooke commented on GitHub (Jul 15, 2021): I have a terrible memory for shortcut keys so by all means add them but I wouldn't use them. I do better with icons so if there were buttons on the main toolbar and/or the ProxyMan menu bar that would be great.
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 15, 2021):

Yes, it's a trade-off. Most people don't remember a shortcut.

I suppose that I can support "Customize ToolBar" as the Finder app does 😄

I will implement this feature, and you can drag the tool button you like on the status bar as you need 👍

By doing this way, it doesn't mess up the UI in general and can serve you better 👍

Screen Shot 2021-07-15 at 18 09 12 Screen Shot 2021-07-15 at 18 09 18
<!-- gh-comment-id:880608909 --> @NghiaTranUIT commented on GitHub (Jul 15, 2021): Yes, it's a trade-off. Most people don't remember a shortcut. I suppose that I can support "Customize ToolBar" as the Finder app does 😄 I will implement this feature, and you can drag the tool button you like on the status bar as you need 👍 By doing this way, it doesn't mess up the UI in general and can serve you better 👍 <img width="216" alt="Screen Shot 2021-07-15 at 18 09 12" src="https://user-images.githubusercontent.com/5878421/125778627-cbe9f719-7c36-49c1-acec-e00c4789d11d.png"> <img width="693" alt="Screen Shot 2021-07-15 at 18 09 18" src="https://user-images.githubusercontent.com/5878421/125778613-32281d72-a095-42e9-9ec9-e330b93356e8.png">
Author
Owner

@cameroncooke commented on GitHub (Jul 15, 2021):

Yes, it's a trade-off. Most people don't remember a shortcut.

I suppose that I can support "Customize ToolBar" as the Finder app does 😄

I will implement this feature, and you can drag the tool button you like on the status bar as you need 👍

By doing this way, it doesn't mess up the UI in general and can serve you better 👍

Screen Shot 2021-07-15 at 18 09 12 Screen Shot 2021-07-15 at 18 09 18

Excellent, that was the first thing I looked for, I was right-clicking the toolbar like a crazy person! haha

<!-- gh-comment-id:880644842 --> @cameroncooke commented on GitHub (Jul 15, 2021): > Yes, it's a trade-off. Most people don't remember a shortcut. > > I suppose that I can support "Customize ToolBar" as the Finder app does 😄 > > I will implement this feature, and you can drag the tool button you like on the status bar as you need 👍 > > By doing this way, it doesn't mess up the UI in general and can serve you better 👍 > > <img alt="Screen Shot 2021-07-15 at 18 09 12" width="216" src="https://user-images.githubusercontent.com/5878421/125778627-cbe9f719-7c36-49c1-acec-e00c4789d11d.png"> > > <img alt="Screen Shot 2021-07-15 at 18 09 18" width="693" src="https://user-images.githubusercontent.com/5878421/125778613-32281d72-a095-42e9-9ec9-e330b93356e8.png"> Excellent, that was the first thing I looked for, I was right-clicking the toolbar like a crazy person! haha
Author
Owner

@robmathers commented on GitHub (Jul 16, 2021):

I'll just add my +1 for a customizable toolbar with more options. It makes sense that the default configuration would be simpler, but adding more options to it would be great, as well as good practice for a Mac app!

<!-- gh-comment-id:881645729 --> @robmathers commented on GitHub (Jul 16, 2021): I'll just add my +1 for a customizable toolbar with more options. It makes sense that the default configuration would be simpler, but adding more options to it would be great, as well as good practice for a Mac app!
Author
Owner

@NghiaTranUIT commented on GitHub (Jul 17, 2021):

Thanks @robmathers. I'm working on this feature and soon sent you guys a Beta build 😄

<!-- gh-comment-id:881794050 --> @NghiaTranUIT commented on GitHub (Jul 17, 2021): Thanks @robmathers. I'm working on this feature and soon sent you guys a Beta build 😄
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 27, 2021):

Hey @cameroncooke @robmathers @sleeve if you guys don't mind, please try this BETA build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.31.0_Customize_Toolbar.dmg

From now, you can customize the Toolbar and add your favorite Tool Toggle (Where you can enable/disable the tool easily) 👍

You can open it by right-clicking on the Toolbar -> Customize Toolbar...

Screen_Shot_2021-08-27_at_20_55_48

Please let me know if it solves your problem 😄

<!-- gh-comment-id:907270054 --> @NghiaTranUIT commented on GitHub (Aug 27, 2021): Hey @cameroncooke @robmathers @sleeve if you guys don't mind, please try this BETA build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.31.0_Customize_Toolbar.dmg From now, you can customize the Toolbar and add your favorite Tool Toggle (Where you can enable/disable the tool easily) 👍 You can open it by right-clicking on the Toolbar -> Customize Toolbar... <img width="1879" alt="Screen_Shot_2021-08-27_at_20_55_48" src="https://user-images.githubusercontent.com/5878421/131148195-171af75d-639a-4ae5-ad5d-c9b3ba7afba1.png"> Please let me know if it solves your problem 😄
Author
Owner

@cameroncooke commented on GitHub (Aug 27, 2021):

Looks good only thing I would change is maybe some of the icons are a
little unclear and the "small size" option doesn't really do anything much,
might be good to have an option to show labels instead of the small option?

Cameron.

On Fri, 27 Aug 2021 at 16:05, Nghia Tran @.***> wrote:

Hey @cameroncooke https://github.com/cameroncooke @robmathers
https://github.com/robmathers @sleeve https://github.com/sleeve if
you guys don't mind, please try this BETA build:
https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.31.0_Customize_Toolbar.dmg

From now, you can customize the Toolbar and add your favorite Tool Toggle
(Where you can enable/disable the tool easily) 👍

You can open it by right-clicking on the Toolbar -> Customize Toolbar...

[image: Screen_Shot_2021-08-27_at_20_55_48]
https://user-images.githubusercontent.com/5878421/131148195-171af75d-639a-4ae5-ad5d-c9b3ba7afba1.png

Please let me know if it solves your problem 😄


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ProxymanApp/Proxyman/issues/939#issuecomment-907270054,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEZ6SIXIXEPMRLPAPKPLOTT66STBANCNFSM5ANJMC3Q
.

<!-- gh-comment-id:907299175 --> @cameroncooke commented on GitHub (Aug 27, 2021): Looks good only thing I would change is maybe some of the icons are a little unclear and the "small size" option doesn't really do anything much, might be good to have an option to show labels instead of the small option? Cameron. On Fri, 27 Aug 2021 at 16:05, Nghia Tran ***@***.***> wrote: > Hey @cameroncooke <https://github.com/cameroncooke> @robmathers > <https://github.com/robmathers> @sleeve <https://github.com/sleeve> if > you guys don't mind, please try this BETA build: > https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.31.0_Customize_Toolbar.dmg > > From now, you can customize the Toolbar and add your favorite Tool Toggle > (Where you can enable/disable the tool easily) 👍 > > You can open it by right-clicking on the Toolbar -> Customize Toolbar... > > [image: Screen_Shot_2021-08-27_at_20_55_48] > <https://user-images.githubusercontent.com/5878421/131148195-171af75d-639a-4ae5-ad5d-c9b3ba7afba1.png> > > Please let me know if it solves your problem 😄 > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/ProxymanApp/Proxyman/issues/939#issuecomment-907270054>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAEZ6SIXIXEPMRLPAPKPLOTT66STBANCNFSM5ANJMC3Q> > . >
Author
Owner

@sleeve commented on GitHub (Aug 27, 2021):

Amazing work @NghiaTranUIT on adding this feature! I think people are going to love it!

It seems to work pretty well for me but I would agree with @cameroncooke that the Small Size option seems unnecessary and some users will want and Icon and Text option just like the Finder app has. As a user, it's hard to remember what those icons do without text labels. This may make the toolbar UI a bit more busy with text labels for all the buttons, users should still have the option to do that though. Hovering over the button to read the tooltip text is also a workaround for this but it's still a little annoying to constantly do, and there is also a slight delay until the tooltip text is displayed.

Here are a few other minor issues I see with the beta build:

customize_toolbar_beta_feedback
  1. The "Toggle Pannel" text has a typo, it should be "Toggle Panel".
  2. All of the new buttons/icons don't have a light grey rounded rectangle background when hovering over them like the older button icons do. It feels like all the buttons should have the same grey background on the hover state for consistency.
  3. The buttons within the Customize Toolbar screen feel like should all be the default grey color and not have the green color if they are already enabled. Once you move them to the toolbar though its fine if they display as green if they're enabled. It just looks a little confusing and busy seeing multiple colored icons within the Customize Toolbar screen. I think it would simplify the UX a bit if just the default grey color icons were always displayed within the Customize screen.

macOS Monterey 12.0 beta 5 (21A5304g)

<!-- gh-comment-id:907504189 --> @sleeve commented on GitHub (Aug 27, 2021): Amazing work @NghiaTranUIT on adding this feature! I think people are going to love it! It seems to work pretty well for me but I would agree with @cameroncooke that the `Small Size` option seems unnecessary and some users will want and `Icon and Text` option just like the Finder app has. As a user, it's hard to remember what those icons do without text labels. This may make the toolbar UI a bit more busy with text labels for all the buttons, users should still have the option to do that though. Hovering over the button to read the tooltip text is also a workaround for this but it's still a little annoying to constantly do, and there is also a slight delay until the tooltip text is displayed. Here are a few other minor issues I see with the beta build: <img width="1548" alt="customize_toolbar_beta_feedback" src="https://user-images.githubusercontent.com/499487/131193851-dffe7f29-7991-4574-a7b6-cb50d94b2483.png"> 1. The "Toggle Pannel" text has a typo, it should be "Toggle Panel". 2. All of the new buttons/icons don't have a light grey rounded rectangle background when hovering over them like the older button icons do. It feels like all the buttons should have the same grey background on the hover state for consistency. 3. The buttons within the `Customize Toolbar` screen feel like should all be the default grey color and not have the green color if they are already enabled. Once you move them to the toolbar though its fine if they display as green if they're enabled. It just looks a little confusing and busy seeing multiple colored icons within the `Customize Toolbar` screen. I think it would simplify the UX a bit if just the default grey color icons were always displayed within the Customize screen. macOS Monterey 12.0 beta 5 (21A5304g)
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 28, 2021):

Thanks for your detailed feedback @sleeve @cameroncooke, I appreciate it 🙇
All of your points are reasonable, and I'm fixing it now 👍

<!-- gh-comment-id:907546978 --> @NghiaTranUIT commented on GitHub (Aug 28, 2021): Thanks for your detailed feedback @sleeve @cameroncooke, I appreciate it 🙇 All of your points are reasonable, and I'm fixing it now 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 28, 2021):

Hey @sleeve and @cameroncooke, I've fixed all your mentioned issues. However, there is a problem:

In order to use Icon + Label, Icon Only, or Label Only, the main window must be use .toolbarStyle = .unified. As a result, the toolbar size will become bigger than the original toolbar (.unifiedCompact). See the screenshot to see the difference.

If I use the .unifiedCompact mode, macOS doesn't display the "Icon + Label, Icon Only, or Label Only" menu, only Use Small Sizes.

IMO, the unified style is a really bad design because the toolbar now takes more space.

To fix it, I did a little hack, and add the "Use Compact Mode" in Customize Toolbar Palette window. When we enable it, it will become the original mode, but it also lets you select an "Icon and Label" as usual.

Screenshot

compare Screen_Shot_2021-08-28_at_21_16_31 Screen_Shot_2021-08-28_at_21_16_16

Video:

https://www.dropbox.com/s/nutyd85dqpc1yht/CleanShot%202021-08-28%20at%2017.39.47.mp4?dl=0


If you'd like to test, please try this Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.31.0_Improve_Customize_Toolbar_v2.dmg

It works seamlessly on macOS 11, but has a little issue on macOS 12 (I'm finding a solution)

<!-- gh-comment-id:907635387 --> @NghiaTranUIT commented on GitHub (Aug 28, 2021): Hey @sleeve and @cameroncooke, I've fixed all your mentioned issues. However, there is a problem: In order to use Icon + Label, Icon Only, or Label Only, the main window must be use `.toolbarStyle = .unified`. As a result, the toolbar size will become bigger than the original toolbar (.unifiedCompact). See the screenshot to see the difference. If I use the `.unifiedCompact` mode, macOS doesn't display the "Icon + Label, Icon Only, or Label Only" menu, only Use Small Sizes. IMO, the `unified` style is a really bad design because the toolbar now takes more space. To fix it, I did a little hack, and add the "Use Compact Mode" in Customize Toolbar Palette window. When we enable it, it will become the original mode, but it also lets you select an "Icon and Label" as usual. ### Screenshot <img width="1116" alt="compare" src="https://user-images.githubusercontent.com/5878421/131221367-fbb84c5c-e511-4473-9715-2fc23ef37ffa.png"> <img width="1945" alt="Screen_Shot_2021-08-28_at_21_16_31" src="https://user-images.githubusercontent.com/5878421/131221183-a56f8b6a-5b46-40be-a91c-5ed0b5bdc39f.png"> <img width="1951" alt="Screen_Shot_2021-08-28_at_21_16_16" src="https://user-images.githubusercontent.com/5878421/131221173-1056ea38-e473-426b-973d-4f42c490b464.png"> ### Video: https://www.dropbox.com/s/nutyd85dqpc1yht/CleanShot%202021-08-28%20at%2017.39.47.mp4?dl=0 ----------- If you'd like to test, please try this Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.31.0_Improve_Customize_Toolbar_v2.dmg It works seamlessly on macOS 11, but has a little issue on macOS 12 (I'm finding a solution)
Author
Owner

@sleeve commented on GitHub (Aug 28, 2021):

@NghiaTranUIT Looking a lot better! That seems like a good solution to support the multiple view/toolbar sizes. I don't personally mind the taller toolbar but it would be nice to retain the smaller toolbar size that users are familiar with.

Just a few more minor issues that I see with this build. I'm only using macOS 12.0 beta 5 so not sure if these also occur on macOS 11.x. I'm also not sure if these are the "little issue" that you're still working on.

  1. Still seeing the "Use Small Size" option in the right click toolbar menu after both "Icon Only" and "Use Compact Mode" are selected. I would expect the right click toolbar menu options to always show the same options (Icon and Text, Icon Only, Text Only).

  2. Compact mode only seems to work with "Icon Only"? Would it make more sense to add a new Show/View option of Icon Only (Compact) that does the same thing? Instead of having a checkbox to enable it within the customize toolbar screen?

  3. Clicking on any toolbar button while on "Text Only" mode instantly switches the view back to "Icon and Text". So the "Text Only" mode still seems pretty broken.

Thanks for the quick work on this!

<!-- gh-comment-id:907663849 --> @sleeve commented on GitHub (Aug 28, 2021): @NghiaTranUIT Looking a lot better! That seems like a good solution to support the multiple view/toolbar sizes. I don't personally mind the taller toolbar but it would be nice to retain the smaller toolbar size that users are familiar with. Just a few more minor issues that I see with this build. I'm only using macOS 12.0 beta 5 so not sure if these also occur on macOS 11.x. I'm also not sure if these are the "little issue" that you're still working on. 1. Still seeing the "Use Small Size" option in the right click toolbar menu after both "Icon Only" and "Use Compact Mode" are selected. I would expect the right click toolbar menu options to always show the same options (Icon and Text, Icon Only, Text Only). 2. Compact mode only seems to work with "Icon Only"? Would it make more sense to add a new Show/View option of `Icon Only (Compact)` that does the same thing? Instead of having a checkbox to enable it within the customize toolbar screen? 3. Clicking on any toolbar button while on "Text Only" mode instantly switches the view back to "Icon and Text". So the "Text Only" mode still seems pretty broken. Thanks for the quick work on this!
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 29, 2021):

Thanks for your useful feedback @sleeve, I love it 🥇

  1. It's a built-in menu context from Apple, which I could not prevent 😕. I tried to find the menu, which is located deeply in Apple's views, but no luck. It might not work for new macOS too.
  2. It's a good idea to add "Icon Only (Compact)". I will consider use it and remove the checkbox
  3. It's a bug on macOS 12. It works fine on macOS 11 and I'm working on it 👍
<!-- gh-comment-id:907713398 --> @NghiaTranUIT commented on GitHub (Aug 29, 2021): Thanks for your useful feedback @sleeve, I love it 🥇 1. It's a built-in menu context from Apple, which I could not prevent 😕. I tried to find the menu, which is located deeply in Apple's views, but no luck. It might not work for new macOS too. 2. It's a good idea to add "Icon Only (Compact)". I will consider use it and remove the checkbox 3. It's a bug on macOS 12. It works fine on macOS 11 and I'm working on it 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 29, 2021):

Here is an update for macOS 12 @sleeve if you have encountered some crashes https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.31.0_Toolbar_v3.dmg 👍

I will release today and find a better solution for macOS 12 in the next updates 😄

<!-- gh-comment-id:907740089 --> @NghiaTranUIT commented on GitHub (Aug 29, 2021): Here is an update for macOS 12 @sleeve if you have encountered some crashes https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.31.0_Toolbar_v3.dmg 👍 I will release today and find a better solution for macOS 12 in the next updates 😄
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#933
No description provided.