Skip to content

Commit 714e161

Browse files
Migrate react-contextmenu menus to axo menus
Co-authored-by: Fedor Indutny <[email protected]>
1 parent 7d52f76 commit 714e161

37 files changed

+1360
-1687
lines changed

.eslint/rules/file-suffix.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ const DOM_PACKAGES = new Set([
157157
'react-aria',
158158
'react-aria-components',
159159
'react-blurhash',
160-
'react-contextmenu',
161160
'react-popper',
162161
'react-virtualized',
163162
// Note that: react-dom/server is categorized separately

ACKNOWLEDGMENTS.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5485,30 +5485,6 @@ Signal Desktop makes use of the following open source projects.
54855485

54865486
License: MIT
54875487

5488-
## react-contextmenu
5489-
5490-
The MIT License (MIT)
5491-
5492-
Copyright (c) 2015 Vivek Kumar Bansal
5493-
5494-
Permission is hereby granted, free of charge, to any person obtaining a copy
5495-
of this software and associated documentation files (the "Software"), to deal
5496-
in the Software without restriction, including without limitation the rights
5497-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5498-
copies of the Software, and to permit persons to whom the Software is
5499-
furnished to do so, subject to the following conditions:
5500-
5501-
The above copyright notice and this permission notice shall be included in all
5502-
copies or substantial portions of the Software.
5503-
5504-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5505-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5506-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
5507-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
5508-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
5509-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
5510-
SOFTWARE.
5511-
55125488
## react-dom
55135489

55145490
MIT License

_locales/en/messages.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9058,6 +9058,10 @@
90589058
"messageformat": "Edit history",
90599059
"description": "Modal title for the edit history messages modal"
90609060
},
9061+
"icu:EditHistoryMessagesModal__Message__ContextMenu__CopyTimestamp": {
9062+
"messageformat": "Copy timestamp",
9063+
"description": "Context menu item to help debugging"
9064+
},
90619065
"icu:ResendMessageEdit__body": {
90629066
"messageformat": "This edit could not be sent. Check your connection and try again",
90639067
"description": "Modal body for the confirmation dialog shown to user when attempting to resend message edit"

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@
201201
"react-aria": "3.35.1",
202202
"react-aria-components": "1.4.1",
203203
"react-blurhash": "0.3.0",
204-
"react-contextmenu": "2.14.0",
205204
"react-dom": "18.3.1",
206205
"react-intl": "7.1.11",
207206
"react-popper": "2.3.0",
@@ -377,9 +376,7 @@
377376
"canvas": "-",
378377
"jsdom": "-",
379378
"thenify-all>thenify": "3.3.1",
380-
"@electron/[email protected]>@electron/node-gyp": "10.2.0-electron.2",
381-
"react-contextmenu>react": "18.3.1",
382-
"react-contextmenu>react-dom": "18.3.1"
379+
"@electron/[email protected]>@electron/node-gyp": "10.2.0-electron.2"
383380
},
384381
"patchedDependencies": {
385382
"[email protected]": "patches/casual+1.6.2.patch",
@@ -390,7 +387,6 @@
390387
"[email protected]": "patches/qrcode-generator+1.4.4.patch",
391388
"@types/[email protected]": "patches/@types+node-fetch+2.6.12.patch",
392389
"[email protected]": "patches/fabric+4.6.0.patch",
393-
"[email protected]": "patches/react-contextmenu+2.14.0.patch",
394390
"@vitest/[email protected]": "patches/@vitest+expect+2.0.5.patch",
395391
"[email protected]": "patches/got+11.8.5.patch",
396392
"[email protected]": "patches/growing-file+0.1.3.patch",

patches/react-contextmenu+2.14.0.patch

Lines changed: 0 additions & 186 deletions
This file was deleted.

pnpm-lock.yaml

Lines changed: 0 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)