Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export Logic on the Right Menu Context #36

Open
NghiaTranUIT opened this issue Jul 17, 2022 · 0 comments
Open

Export Logic on the Right Menu Context #36

NghiaTranUIT opened this issue Jul 17, 2022 · 0 comments
Assignees
Labels
✅ Done Ticket is resolved enhancement New feature or request

Comments

@NghiaTranUIT
Copy link
Member

NghiaTranUIT commented Jul 17, 2022

Description

We should be able to export the Request / Response Body on the selected flow.

Acceptance Criteria

  • Only implement the Request Body and Response Body
  • If we select on the flow -> Right Click -> Export -> Show Request Body and Response body
  • If the Request body is empty -> Request Body must be disabled
  • If the Response body is empty -> Response Body must be disabled
  • Request Body -> Export the Body to file. File Name = Request_Body_${host}_${date_time}
  • Response Body -> Export the Body to file. File Name = Response_Body_${host}_${date_time}
  • Get the file extension by https://www.npmjs.com/package/mime-types
  • User is able to select the folder to export. Default export folder is ~/Desktop
  • If the user selects a different folder, persist the user choice. Next time, we open this folder by default. If it's not exists, fallback the ~/Desktop
  • Default folder to export is the User Desktop

File name example: Request_Body_httpbin.org_07_17_2022_21_35_32

@NghiaTranUIT NghiaTranUIT added the enhancement New feature or request label Jul 17, 2022
@NghiaTranUIT NghiaTranUIT added this to the Proxyman 0.1 💫 milestone Jul 18, 2022
@kics223w1 kics223w1 self-assigned this Aug 11, 2022
@kics223w1 kics223w1 added the ✅ Done Ticket is resolved label Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ Done Ticket is resolved enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants