Skip to content

Raw Message Editor #1: Breakpoint Raw Tab Editor #279

@NghiaTranUIT

Description

@NghiaTranUIT

Description

From macOS insight, Many users prefer editing the Breakpoint With Raw Tab (To able to edit Response Header and status code)

⚠️ Ping @NghiaTranUIT to get the class BreakpointRawMessage and BreakpointData for code reference ⚠️

  • Video in action:
CleanShot.2023-08-01.at.13.14.32.mp4

Acceptance Criteria

  • Support Raw Tab Editor on Breakpoint Response

Important Logic

  1. Edit the Header Tab -> End Editing Event fired -> It will automatically update the Raw Message
  2. Edit the Raw Message -> End editing event fired -> Automatic parse the raw message to Header and Status code -> Make sure it updates the data in the Header + Status Code too
  3. Reuse the class HttpParserService to parse the data and get correct
  4. Auto-Completion for Header Key, Header Value, HTTP version, and HTTP Status Code (as a Video) -> Reference Monaco Editor for the implementation.

Note:

When implementing this ticket, please beware that we will have the Raw Tab Editor for the Request part too (Breakpoint Request and Compose). It's for future ticket

CleanShot 2023-08-01 at 13 22 18@2x

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