proxyman-windows-linux icon indicating copy to clipboard operation
proxyman-windows-linux copied to clipboard

Upgrade to Pro License design

Open NghiaTranUIT opened this issue 2 years ago • 7 comments

Description

Problem: Proxyman Windows doesn't show what is different between the Free and Pro versions. We should implement it.

Beta build:

  • Download from https://github.com/ProxymanApp/Proxyman/issues/1784

UI

  • Replace the License Screen with a new one:
  • Beta build with a working UI will be provided this week 👍
Screenshot 2023-09-27 at 14 15 15

Logic

  • Implement a new design: Please notice the font size, font family, and padding. Make it similar to the macOS.
  • Use ShadCN UI
  • Use new menu: Buy Proxyman Pro… (If there is no activated license key), and Proxyman Pro… if there is an activated license.
Screenshot 2023-09-27 at 14 17 59
  • Click on the "Free Version" button will now show the Proxyman Pro Screen Screenshot 2023-09-27 at 14 18 27

  • Click on the Arrow button will show the corresponding Docs page: Screenshot 2023-09-27 at 14 21 12

  • Use Dialog: However, disable the dismiss action when clicking on the outside Background.

  • Click X to hide the dismiss, or use the ESC shortcut.

  • Verify whenever the Proxyman Pro Screen, we will call the API to verify the license key -> Save the key to a local file (I assume this logic is already done in the License Screen, but please double check it).

NghiaTranUIT avatar Sep 25 '23 02:09 NghiaTranUIT

Lock some features:

  • Add a lock button on some features
  • Click on the Lock button will open the Pro Screen
  • Make sure to observe the license notification change -> If I activate the license key -> The lock button must be hidden, and we can use the feature.

CleanShot 2023-09-27 at 14 22 30@2x

NghiaTranUIT avatar Sep 27 '23 07:09 NghiaTranUIT

Scenario 1: Activated License Key

  • Show the license info:
Screenshot 2023-09-27 at 14 25 30

CleanShot 2023-09-27 at 14 25 17@2x

  • More button: Destructive Unlink Device button
Screenshot 2023-09-27 at 14 26 30

NghiaTranUIT avatar Sep 27 '23 07:09 NghiaTranUIT

Activate with Expired License Key:

  • Use alert dialog: https://ui.shadcn.com/docs/components/alert-dialog
  • Implement the same UI (No need to have the Proxyman icon). Just had the same Title and Description. Use the default font of the ShadCN
Screenshot 2023-09-27 at 14 27 21
  • Download the Old Build URL: "https://proxyman.io/release/osx/Proxyman.dmg?license_key=" ⚠️ I will provide the Windows and Linux URL: Please use a switch case to get a correct URL.
  • Renew URL: https://proxyman.io/order/renew-license?license_key=<>
  • ⚠️ When passing the License Key into the URL, please safely check: If it's empty or undefined, don't include the Query. Just open the URL (without Query)

NghiaTranUIT avatar Sep 27 '23 07:09 NghiaTranUIT

Run out of seats

  • New UI

  • Extend URL: https://proxyman.io/order/extend-seats?license_key=<key> Screenshot 2023-09-27 at 14 34 16

  • ⚠️ When passing the License Key into the URL, please safely check: If it's empty or undefined, don't include the Query. Just open the URL (without Query)

NghiaTranUIT avatar Sep 27 '23 07:09 NghiaTranUIT

Expired License key

How to setup:

  1. Change the Build Number of the app build.config.ts to the old build. Please open the Github Release, and see the correct build number / version
  2. Start the app
  3. Activate with an expired license key (Ping @NghiaTranUIT )

Logic

  • Implement new UI
  • Show number of build behind correctly

CleanShot 2023-09-27 at 14 37 30@2x

  • Make sure this feature is working fine:
Screenshot 2023-09-27 at 14 37 13

NghiaTranUIT avatar Sep 27 '23 07:09 NghiaTranUIT

Hit Limit UI

  • Implement new Design with Alert Dialog: https://github.com/ProxymanApp/proxyman-windows-linux/issues/308
  • No need to show the Proxyman Icon
  • Use the same Font size, font family with the Previous Alert Dialog
  • Make sure it applies with all current limited features, such as Map Local, Breakpoint, Diff, Multiple Filter, ...
Screenshot 2023-09-27 at 16 01 01

NghiaTranUIT avatar Sep 27 '23 09:09 NghiaTranUIT

New Beta build updated: https://github.com/ProxymanApp/Proxyman/issues/1784#issuecomment-1738409655

NghiaTranUIT avatar Sep 28 '23 04:09 NghiaTranUIT