Add Listener Option to Settings Menu for Enhanced Proxy Management

Transform your app's settings with a new Listener feature for enhanced proxy

Workflow Stage:
Use Case
Save Prompt
Prompt Saved

Overview

This prompt aims to guide developers in implementing a new “Listener” feature in a programming application. Programmers and UI/UX designers will benefit from the structured requirements and clear implementation steps.

Prompt Overview

Purpose: The Listener option enhances user control over proxy settings within the application.
Audience: This feature is designed for developers and users who require advanced proxy configurations.
Distinctive Feature: The popup includes two distinct tabs, allowing for organized management of SSL proxify settings and proxy port configurations.
Outcome: Users will efficiently manage proxy settings, improving the application’s functionality and user experience.

Quick Specs

Variables to Fill

No inputs required — just copy and use the prompt.

Example Variables Block

No example values needed for this prompt.

The Prompt


You are an expert coder and UI/UX designer, renowned for perfection and bug-free implementations. Your task is to update the menubar by adding a “Listener” option under the “Settings” menubar item, similar to the existing “Certificate Settings”.
**Listener Popup Requirements:**
– The Listener should open a popup similar to the existing SettingsModal, featuring two tabs:
– “SSL Proxify”
– “Proxy & Port”
**Details for Each Tab:**
1. Proxy & Port Tab:
– Contains a single number-input field styled according to the existing theme.ts.
– This field is for specifying the proxy port number.
2. SSL Proxify Tab:
– Layout: Split screen with two boxes side-by-side: “Include” and “Exclude”.
– Each box has a title at the top (“Include” on the left, “Exclude” on the right).
– Each box contains a table with rows having two columns:
– A checkbox (nameless) on the left.
– A “Location” column on the right displaying host:port.
– Below each table, provide “Add” and “Remove” buttons for managing entries.
**Add Popup for SSL Proxify Entries:**
– Must contain:
– A “Host” input that supports regex and wildcard characters (e.g., ‘*’) to match all hosts.
– A “Port” input that also supports wildcards.
**Backend Implementation Requirements:**
– The SSL Proxify logic dictates that hosts listed under “Include” are the only ones proxied; hosts not included should pass through without SSL proxying.
– The Proxy & Port change should be persisted in the backend with a method to update the listening port.
**Rules to Follow:**
– Follow all given rules meticulously.
– Provide full code for all modified files without comments.
– Prior to coding, ask for any necessary components, import code, or interface details required to fully understand the existing structure.
– Your code must be flawless, bug-free, and polished.
**# Steps**
3. Request any missing component or interface code relevant to the SettingsModal and menubar if needed.
4. Implement adding “Listener” to the Settings menubar.
5. Create the Listener popup with two tabs: SSL Proxify and Proxy & Port.
6. Implement the Proxy & Port tab with a themed number input for the port.
7. Implement the SSL Proxify tab as a split-screen layout with Include and Exclude boxes.
8. Each box should have a checkbox and Location columns in a table alongside Add and Remove buttons.
9. Create Add Popup dialogs supporting regex and wildcard inputs for Host and Port.
10. Integrate backend support to save/update SSL Proxy include/exclude rules and the proxy port.
**# Output Format**
Provide full updated source code files that have been modified or created during this task, strictly without any inline comments. If you require additional code or interface definitions to proceed, ask clearly before starting the implementation.

Screenshot Examples

How to Use This Prompt

  1. Copy the prompt.
  2. Identify necessary components for the SettingsModal and menubar.
  3. Implement the “Listener” option in the Settings menubar.
  4. Create the Listener popup with SSL Proxify and Proxy & Port tabs.
  5. Develop the Proxy & Port tab with a themed number input.
  6. Build the SSL Proxify tab with Include and Exclude tables.

Tips for Best Results

  • Plan Your Structure: Outline the components and their interactions before coding.
  • Use Consistent Styling: Ensure all UI elements follow the existing theme for a cohesive look.
  • Test Thoroughly: Validate both frontend and backend functionalities to catch any bugs early.
  • Document Your Code: Maintain clear documentation for future reference and team collaboration.

FAQ

  • What is the purpose of the Listener option in the menubar?
    The Listener option allows users to configure SSL proxy settings and manage proxy ports.
  • What tabs are included in the Listener popup?
    The Listener popup features two tabs: 'SSL Proxify' and 'Proxy & Port'.
  • What does the Proxy & Port tab contain?
    It contains a single themed number-input field for specifying the proxy port number.
  • How are hosts managed in the SSL Proxify tab?
    Hosts are managed in 'Include' and 'Exclude' boxes with tables for adding or removing entries.

Compliance and Best Practices

  • Best Practice: Review AI output for accuracy and relevance before use.
  • Privacy: Avoid sharing personal, financial, or confidential data in prompts.
  • Platform Policy: Your use of AI tools must comply with their terms and your local laws.

Revision History

  • Version 1.0 (February 2026): Initial release.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Used Prompts

Related articles

Improve C++MQL4 Code for Horizontal Line Management

Enhance your coding skills by optimizing financial charting applications.

Enhance Playwright Framework for Reliable User Sign-Ups

Improve automation reliability and maintainability for seamless user registration processes.

Improve financial management app code quality and robustness

This approach strengthens the application's reliability and long-term maintainability.

Prevent simultaneous boss menu activation conflicts.

Ensure stable and independent menu interactions for a seamless user experience.