Pulse icon indicating copy to clipboard operation
Pulse copied to clipboard

ConsoleView - Hide `Get Pulse Pro` menu option

Open travismmorgan opened this issue 1 year ago • 6 comments

Add the ability to hide the Get Pulse Pro menu option inside the ConsoleView

travismmorgan avatar Oct 02 '24 19:10 travismmorgan

Hey, you can hide it by setting UserDefaults.standard.bool(forKey: "pulse-disable-support-prompts"). It's worth adding it to the public AppSettings class too.

kean avatar Oct 02 '24 19:10 kean

@kean could we get an option to hide the Report Issue menu item too? We want these tools available for our builds distributed internally but don't want options that link out of the app.

travismmorgan avatar Oct 07 '24 17:10 travismmorgan

Thank you for the great library. Mr. @kean

Works for me.

UserDefaults.standard.set(true, forKey: "pulse-disable-support-prompts")

Can we also add below options if possible? This features not required in internal distribution within team. If you are busy, I can create PR if you're positive. Thank you in advance.

UserDefaults.standard.set(true, forKey: "pulse-disable-report-issue-prompts")
UserDefaults.standard.set(true, forKey: "pulse-disable-settings-prompts")

parmar-mehul avatar Apr 08 '25 07:04 parmar-mehul

I wouldn't mind adding these options, and I would appreciate if you could open a PR that adds them.

kean avatar Apr 08 '25 10:04 kean

Hello @kean ,

Thank you for positive & quick reply!

Here is PR https://github.com/kean/Pulse/pull/331

parmar-mehul avatar Apr 09 '25 15:04 parmar-mehul

Loking forward to your approval, Mr. @kean !

parmar-mehul avatar Apr 10 '25 11:04 parmar-mehul