[GH-ISSUE #238] [Compose] #1 Basic layout and logic #240

Open
opened 2026-03-03 19:49:22 +03:00 by kerem · 2 comments
Owner

Originally created by @NghiaTranUIT on GitHub (May 16, 2023).
Original GitHub issue: https://github.com/ProxymanApp/proxyman-windows-linux/issues/238

Originally assigned to: @kics223w1 on GitHub.

Description

Since we've already implemented the Breakpoint, it's time to implement the Compose View.

1

Please play around with the Compose Tool in the macOS version to understand all expected behavior.

Acceptance Criteria

  • Add a new button to the Toolbar. Use SF Image Name: square.and.pencil
    CleanShot 2023-05-16 at 08 11 38@2x

  • Layout this Compose View
    1

  • Reuse the Request Panel from the Breakpoint

  • Able to modify: URL, Query, Header, and Body (Able to select file #233 ). For example: Editing the Query Table View -> Automatically update the URL, and vice versa.

  • ⚠️ Don't implement the RAW tab

  • If the URL is invalid -> Show the error
    3

  • If there is any error: Timeout, invalid host, ... show the alert with a friendly error message

CleanShot 2023-05-16 at 08 15 56@2x

  • Able to make a real HTTP Request -> Show the Response on the body. Make sure we reuse the Response panel from the main view -> Has customize Tab or the "+" button. Try not to duplicate the code -> Resue it

3

  • Show the loader.
    Screenshot 2023-05-16 at 08 15 17
Originally created by @NghiaTranUIT on GitHub (May 16, 2023). Original GitHub issue: https://github.com/ProxymanApp/proxyman-windows-linux/issues/238 Originally assigned to: @kics223w1 on GitHub. ## Description Since we've already implemented the Breakpoint, it's time to implement the Compose View. ![1](https://github.com/ProxymanApp/proxyman-windows-linux/assets/5878421/0e921395-da80-4070-a875-8d223c25a773) Please play around with the Compose Tool in the macOS version to understand all expected behavior. ## Acceptance Criteria - Add a new button to the Toolbar. Use SF Image Name: `square.and.pencil` ![CleanShot 2023-05-16 at 08 11 38@2x](https://github.com/ProxymanApp/proxyman-windows-linux/assets/5878421/d83666a7-9e4e-4802-8a2b-a995fb959e67) - Layout this Compose View ![1](https://github.com/ProxymanApp/proxyman-windows-linux/assets/5878421/68375c73-1231-44e5-b8e9-87a43f9a131b) - Reuse the Request Panel from the Breakpoint - Able to modify: URL, Query, Header, and Body (Able to select file #233 ). For example: Editing the Query Table View -> Automatically update the URL, and vice versa. - ⚠️ Don't implement the RAW tab - If the URL is invalid -> Show the error ![3](https://github.com/ProxymanApp/proxyman-windows-linux/assets/5878421/887ff602-d161-4f2b-afca-e737aa8f3521) - If there is any error: Timeout, invalid host, ... show the alert with a friendly error message ![CleanShot 2023-05-16 at 08 15 56@2x](https://github.com/ProxymanApp/proxyman-windows-linux/assets/5878421/a2232a69-e877-4114-a8b7-243be9211ec2) - Able to make a real HTTP Request -> Show the Response on the body. Make sure we reuse the Response panel from the main view -> Has customize Tab or the "+" button. Try not to duplicate the code -> Resue it ![3](https://github.com/ProxymanApp/proxyman-windows-linux/assets/5878421/7339e246-5333-4e95-9fc5-5607a1abe0e3) - Show the loader. <img width="276" alt="Screenshot 2023-05-16 at 08 15 17" src="https://github.com/ProxymanApp/proxyman-windows-linux/assets/5878421/d70981cd-2b6d-40c3-94a7-20e852c03817">
Author
Owner

@NghiaTranUIT commented on GitHub (May 16, 2023):

Requirement #2

  • After making a Request from the Compose View -> Verify that the new Request appears on the app properly.

For example: If I select the httpbin.org Pin item -> open the compose view -> Make a Request to httpbin.org -> New Request will appear on All Domain and httppin.org pin items.

<!-- gh-comment-id:1548830710 --> @NghiaTranUIT commented on GitHub (May 16, 2023): ### Requirement #2 - After making a Request from the Compose View -> Verify that the new Request appears on the app properly. For example: If I select the `httpbin.org` Pin item -> open the compose view -> Make a Request to httpbin.org -> New Request will appear on `All Domain` and `httppin.org` pin items.
Author
Owner

@NghiaTranUIT commented on GitHub (May 16, 2023):

Requirement 3

  • Make sure the Form and Body Tab appear properly.
  • If the Body is a form (Content-Type = application/x-www-form-urlencoded) -> Show the Form tab.
  • Edit the Form Tab -> Update the Body Tab -> Vice versa
<!-- gh-comment-id:1548834567 --> @NghiaTranUIT commented on GitHub (May 16, 2023): ### Requirement 3 - Make sure the Form and Body Tab appear properly. - If the Body is a form (Content-Type = application/x-www-form-urlencoded) -> Show the Form tab. - Edit the Form Tab -> Update the Body Tab -> Vice versa
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxyman-windows-linux#240
No description provided.