Skip to content

[Breakpoint] #4 Request / Response Editor & Breakpoint View (UI Only) #221

@NghiaTranUIT

Description

@NghiaTranUIT

Description

CleanShot 2023-04-10 at 13 41 30@2x

⚠️ Ping @NghiaTranUIT to get the BreakpointData class from macOS. It's responsible to handle all data changes from the Request/Response Editor.

⚠️ This ticket only works on the UI and BreakpointData. We don't actually do the breakpoint to modify the Request/Response (It's for the next ticket)

Waiting Breakpoint List View

  • Implement the DataGrid as the Flow Main Table View, which basic columns (See the screenshot)
  • No need to support the Customize Columns.
  • Show all waiting breakpoints in the Grid
  • Select a breakpoint -> Update the Request / Response Editor
  • Can select multiple breakpoints, but render the first item in the selected array.

Bottom Bar

  • Execute button with dropdown menu
  • Cancel button with dropdown menu
  • Continue button with dropdown menu
  • Work with single or multiple breakpoints
  • Disable buttons and menu if there is no selection

Request & Response Editor

  • ⚠️ Important: Write a Request Editor in a way that we can reuse it later (For the Compose View)
    CleanShot 2023-04-10 at 13 49 38@2x

⚠️ Important: Each Tab: Header, Query, Body, ... can be reused in the Request & Response.

  • Select a breakpoint -> If it's a Request Breakpoint -> Show the Request Editor (Hide the Response Editor)
  • Select a breakpoint -> If it's a Response Response -> Show the Request View (Read-only), and show the Response Editor
    CleanShot 2023-04-10 at 13 52 11@2x

Header Tab

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request✅ DoneTicket is resolved

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions