mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #1494] Shared State Reset #1487
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1487
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rstone4-chwy on GitHub (Jan 11, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1494
Originally assigned to: @NghiaTranUIT on GitHub.
Description
I often have to use shared state to set a bool based on a condition. For example, while working on auto-login behavior I set a bool to true once the auto-login process has completed so I don't create an infinite auto-login loop. The only way to my knowledge to reset shared state is to close Proxyman completely. The request is for the ability to reset the shared state back to defaults without having to reboot.
Why this feature/change is important?
Increase developer velocity
@NghiaTranUIT commented on GitHub (Jan 11, 2023):
You can use clearSharedState(); to clear the shared state.
Ref: https://docs.proxyman.io/scripting/environment-variables#1.-shared-state
@rstone4-chwy commented on GitHub (Jan 11, 2023):
Doing so requires setting up a script and then having to enable/disable it. I'm looking for a button in the toolbar or menu item that let's me reset without opening 2 UI windows or restarting the app
@NghiaTranUIT commented on GitHub (Jan 12, 2023):
Ah, I get it. I will add a hidden menu to manually reset all shared state @rstone4-chwy 👍
@NghiaTranUIT commented on GitHub (Jan 12, 2023):
@rstone4-chwy let's try this build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.15.0_Reset_SharedState_by_button.dmg
You can manually reset the
sharedStatefrom the More Menu Button 👍@rstone4-chwy commented on GitHub (Jan 12, 2023):
Amazing, thank you so much