Interaction Settings
About 599 wordsAbout 2 min
2025-01-11
Interaction settings allow you to customize FolkPatch's behavior when installing and deleting modules, as well as application debug mode, providing an operation experience more in line with personal usage habits.
Function Description
FolkPatch provides multiple interaction-related setting options to help you optimize usage flow:
- Web Debugging Mode: Enable WebView debugging function for development debugging
- Installation Confirmation Dialog: Show confirmation prompt before installing module
- Stay on Current Page: Stay on current page after module operation instead of returning to home page
Setting Options
Web Debugging Mode
Enable debugging function of WebView component, allowing remote debugging via Chrome DevTools.
Option Description:
- On: Enable WebView debugging, can connect Chrome DevTools via USB debugging
- Off: Disable debugging function (Recommended for normal users to keep off)
Default Value: Off
Recommended Setting: Off (Unless you need to perform development debugging)
Applicable Scenes:
- Developers debugging WebView related functions
- Checking page loading issues
- Analyzing network requests and page rendering
Developer Hint
After enabling, you can debug in-app web components via browser developer tools.
Installation Confirmation Dialog
Pop up confirmation dialog before installing APM module, displaying module information and requiring confirmation.
Option Description:
- On: Show confirmation dialog before installation, displaying module info (Recommended)
- Off: Install directly, no confirmation prompt shown
Default Value: On
Recommended Setting: On
Pros:
- Prevent Misoperation: Avoid accidentally installing wrong modules
- View Module Info: Confirm module details before installation
- Enhance Security: Give you a chance to think
Usage Example:
- Enter Settings → Behavior
- Turn on Installation Confirmation Dialog
- When you click install APM module
- A dialog will pop up displaying module information
- Click "Confirm" to start installation after confirming no errors
Tip
If you frequently install modules and are familiar with operations, you can turn off this option to speed up installation flow. But novice users are recommended to keep it on.
Stay on Current Page
Control whether to automatically exit page after completing operation when operating APM modules. Recommended to turn on to avoid missing some information.
Usage Example:
- Turn on Stay on Current Page
- Operate a module with operation nature in APM list
- After operation is completed, page stays, return manually
Tip
Enabling this option can prevent some modules from automatically returning to home page, preventing information from being missed.
Single Page Superuser Authorization
Switch the display and interaction mode of the superuser list.
Option Description:
- On: Use the classic single-page list style, manage authorization directly on the list page.
- Off: Use the default pagination design, click on the app to enter the secondary details page for more detailed settings.
Default Value: Off
Recommended Setting: Choose according to personal preference.
Usage Scenes:
- Quick troubleshooting of problematic modules
- Temporarily disable all modules before system updates
How to Use:
- Enter APM module page
- Click the three-dot menu in the top right
- Select "Disable All Modules"
- All modules will be disabled
Tip
This feature is always available on the APM module page, no need to enable it in settings.
Technical Details
Setting Storage
All interaction settings are automatically saved.
WebView Debugging Implementation
Web debugging mode is implemented via system interface.
Module Operation Flow
Installation Confirmation Flow: User selects module → Check setting → Show dialog → Wait for confirmation → Execute installation
Stay Page Flow: Execute operation → Check setting → Decide whether to return → Update interface
Developer Info
All interaction settings take effect immediately without restarting application. Modified settings will immediately affect subsequent operation behaviors.
Copyright
Copyright Ownership:FolkPatch Team
License under:Attribution 4.0 International (CC-BY-4.0)
