Skip to content

Commit

Permalink
add copy and paste and video preview
Browse files Browse the repository at this point in the history
  • Loading branch information
davoxpa committed Jan 5, 2024
1 parent aa44a2c commit 94886bc
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ Add `http://localhost:3000/` as a prefix to your backend URL to use the mocking
![Page List mock](./screenshot/list-mock-api.png)
![Page edit mock](./screenshot/edit-mock-api.png)

<video width="100%" height="600" controls autoplay loop muted>
<source src="./screenshot/mockingbird-proxy-video-1.mp4" type="video/mp4">
Il tuo browser non supporta il tag video.
</video>

## Roadmap
- [x] Add functionality to modify responses.
- [x] Add functionality to modify status codes.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mockingbird-proxy",
"version": "1.0.6",
"version": "1.0.7",
"description": "mockingbird-proxy is a simple proxy server that allows you to mock API responses.",
"main": "./src/main.js",
"scripts": {
Expand Down
Binary file added screenshot/mockingbird-proxy-video-1.mp4
Binary file not shown.
12 changes: 12 additions & 0 deletions src/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ const menuTemplate = [
},
],
},
{
label: 'Edit',
submenu: [
{ label: 'Undo', accelerator: 'CmdOrCtrl+Z', selector: 'undo:' },
{ label: 'Redo', accelerator: 'Shift+CmdOrCtrl+Z', selector: 'redo:' },
{ type: 'separator' },
{ label: 'Cut', accelerator: 'CmdOrCtrl+X', selector: 'cut:' },
{ label: 'Copy', accelerator: 'CmdOrCtrl+C', selector: 'copy:' },
{ label: 'Paste', accelerator: 'CmdOrCtrl+V', selector: 'paste:' },
{ label: 'Select All', accelerator: 'CmdOrCtrl+A', selector: 'selectAll:' },
],
},
{
label: 'View',
submenu: [
Expand Down

0 comments on commit 94886bc

Please sign in to comment.