Skip to content

Commit 37fb4ad

Browse files
committed
chore: cleanup examples related code
1 parent 627de10 commit 37fb4ad

File tree

4 files changed

+1
-178
lines changed

4 files changed

+1
-178
lines changed

data/examples/index.json

Lines changed: 0 additions & 168 deletions
Original file line numberDiff line numberDiff line change
@@ -27,62 +27,6 @@
2727
"documentation": ""
2828
}
2929
},
30-
{
31-
"name": "Clipboard access",
32-
"electron": {
33-
"gist": "https://gist.github.com/8ea53811186140e4c4c9d9729fcb2353",
34-
"status": "Available since 10-x-y with flag",
35-
"documentation": ""
36-
},
37-
"pwa": {
38-
"gist": "",
39-
"status": "https://crbug.com/897289",
40-
"documentation": "https://github.com/WICG/raw-clipboard-access/blob/master/explainer.md"
41-
},
42-
"react-native": {
43-
"gist": "",
44-
"status": "",
45-
"documentation": ""
46-
},
47-
"webview2": {
48-
"gist": "",
49-
"status": "",
50-
"documentation": ""
51-
},
52-
"xamarin": {
53-
"gist": "",
54-
"status": "",
55-
"documentation": ""
56-
}
57-
},
58-
{
59-
"name": "Compression codecs",
60-
"electron": {
61-
"gist": "https://gist.github.com/6038c9a6ad902b7b0dbab813dfbf600a",
62-
"status": "Available since 8-x-y",
63-
"documentation": ""
64-
},
65-
"pwa": {
66-
"gist": "",
67-
"status": "https://crbug.com/897298",
68-
"documentation": "https://github.com/WICG/compression/blob/master/explainer.md"
69-
},
70-
"react-native": {
71-
"gist": "",
72-
"status": "",
73-
"documentation": ""
74-
},
75-
"webview2": {
76-
"gist": "",
77-
"status": "",
78-
"documentation": ""
79-
},
80-
"xamarin": {
81-
"gist": "",
82-
"status": "",
83-
"documentation": ""
84-
}
85-
},
8630
{
8731
"name": "Custom title bar",
8832
"electron": {
@@ -223,34 +167,6 @@
223167
"documentation": ""
224168
}
225169
},
226-
{
227-
"name": "Human Interface access",
228-
"electron": {
229-
"gist": "https://gist.github.com/3239fa09314baae55ff2bab76e3285ed",
230-
"status": "https://github.com/electron/electron/pull/30213",
231-
"documentation": ""
232-
},
233-
"pwa": {
234-
"gist": "",
235-
"status": "https://crbug.com/890096",
236-
"documentation": "https://web.dev/hid/"
237-
},
238-
"react-native": {
239-
"gist": "",
240-
"status": "",
241-
"documentation": ""
242-
},
243-
"webview2": {
244-
"gist": "",
245-
"status": "",
246-
"documentation": ""
247-
},
248-
"xamarin": {
249-
"gist": "",
250-
"status": "",
251-
"documentation": ""
252-
}
253-
},
254170
{
255171
"name": "Idle detection",
256172
"electron": {
@@ -279,62 +195,6 @@
279195
"documentation": ""
280196
}
281197
},
282-
{
283-
"name": "Multi-screen window placement",
284-
"electron": {
285-
"gist": "",
286-
"status": "",
287-
"documentation": ""
288-
},
289-
"pwa": {
290-
"gist": "",
291-
"status": "https://crbug.com/897300",
292-
"documentation": "https://web.dev/multi-screen-window-placement/"
293-
},
294-
"react-native": {
295-
"gist": "",
296-
"status": "",
297-
"documentation": ""
298-
},
299-
"webview2": {
300-
"gist": "",
301-
"status": "",
302-
"documentation": ""
303-
},
304-
"xamarin": {
305-
"gist": "",
306-
"status": "",
307-
"documentation": ""
308-
}
309-
},
310-
{
311-
"name": "Notifications",
312-
"electron": {
313-
"gist": "",
314-
"status": "",
315-
"documentation": ""
316-
},
317-
"pwa": {
318-
"gist": "",
319-
"status": "",
320-
"documentation": "https://web.dev/push-notifications-overview/"
321-
},
322-
"react-native": {
323-
"gist": "",
324-
"status": "",
325-
"documentation": ""
326-
},
327-
"webview2": {
328-
"gist": "",
329-
"status": "",
330-
"documentation": ""
331-
},
332-
"xamarin": {
333-
"gist": "",
334-
"status": "",
335-
"documentation": ""
336-
}
337-
},
338198
{
339199
"name": "Run on OS login",
340200
"electron": {
@@ -475,34 +335,6 @@
475335
"documentation": ""
476336
}
477337
},
478-
{
479-
"name": "Using local fonts",
480-
"electron": {
481-
"gist": "",
482-
"status": "",
483-
"documentation": ""
484-
},
485-
"pwa": {
486-
"gist": "",
487-
"status": "https://crbug.com/535764 ",
488-
"documentation": "https://web.dev/local-fonts/"
489-
},
490-
"react-native": {
491-
"gist": "",
492-
"status": "",
493-
"documentation": ""
494-
},
495-
"webview2": {
496-
"gist": "",
497-
"status": "",
498-
"documentation": ""
499-
},
500-
"xamarin": {
501-
"gist": "",
502-
"status": "",
503-
"documentation": ""
504-
}
505-
},
506338
{
507339
"name": "Video codecs",
508340
"electron": {

docs/examples-list.pmd

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,16 @@
33
| Feature | Electron | React Native | WebView2 | Xamarin |
44
| --- | :---: | :---: | :---: | :---: |
55
| Bluetooth access |✅ | | | |
6-
| Clipboard access |✅ | | | |
7-
| Compression codecs |✅ | | | |
86
| Custom title bar |🛠 | | | |
97
| File System access |✅ | | | |
108
| Gamepad access | | | | |
119
| Generic sensor access | | | | |
1210
| Geolocation | | | | |
13-
| Human Interface access |🛠 | | | |
1411
| Idle detection | | | | |
15-
| Multi-screen window placement | | | | |
1612
| Notifications | | | | |
1713
| Run on OS login | | | | |
1814
| Serial access |✅ | | | |
1915
| URL handler | | | | |
2016
| [URL protocol handler](/docs/examples/url-protocol-handler) |✅ ([Docs](https://www.electronjs.org/docs/latest/tutorial/launch-app-from-url-in-another-app)) | | | |
2117
| USB access | | | | |
22-
| Using local fonts | | | | |
2318
| Video codecs | | | | |

scripts/examples/features-tracker.tsv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ QuicTransport https://web.dev/webtransport/ https://crbug.com/1011392 Data
99
IndexedDB https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API Data
1010
Streams API: transferable streams Transferable Streams Explainer Available since 11-x-y https://gist.github.com/jkleinsc/019452af710adab23bdf13a04ffae95f https://crbug.com/894838 Data/Streams
1111
WebSocketStream https://web.dev/websocketstream/ Available since 8-x-y https://gist.github.com/bc39d84ce53330c9502e8fd80aaf7b68 https://crbug.com/983030 Data/Streams
12-
PointerLock unadjustedMovement https://web.dev/disable-mouse-acceleration/ Available since 11-x-y https://gist.github.com/b48732f4d0580a2ad081ef0f86c4798f https://crbug.com/982379 Device pressing "ESC" to exit pointer lock requires a small bit of code to enable: document.addEventListener('keydown', function(event) { if (event.key === "Escape") { document.exitPointerLock(); } });
12+
PointerLock unadjustedMovement https://web.dev/disable-mouse-acceleration/ Available since 11-x-y https://gist.github.com/b48732f4d0580a2ad081ef0f86c4798f https://crbug.com/982379 Device pressing ESC to exit pointer lock requires a small bit of code to enable
1313
Web Serial API https://web.dev/serial/ Available since 12-x-y https://gist.github.com/284893c7f01d3cb4559508ca06919481 https://crbug.com/884928 Device
1414
WebHID (Human Interface Device) https://web.dev/hid/ https://github.com/electron/electron/pull/30213 https://gist.github.com/3239fa09314baae55ff2bab76e3285ed https://crbug.com/890096 Device
1515
Multi-Screen Window Placement https://web.dev/multi-screen-window-placement/ https://crbug.com/897300 Device

scripts/process-examples-sources.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ const globby = require('globby');
1717
* us to rename the feature to something more generic we can use for that goal.
1818
*/
1919
const ALIASES = new Map([
20-
['Compression codecs', 'Compression codecs'],
2120
['Web Serial API', 'Serial access'],
22-
['WebHID (Human Interface Device)', 'Human Interface access'],
23-
['Multi-Screen Window Placement', 'Multi-screen window placement'],
2421
['Web Bluetooth', 'Bluetooth access'],
2522
['Generic sensor API', 'Generic sensor access'],
2623
['Geolocation API', 'Geolocation'],
@@ -29,7 +26,6 @@ const ALIASES = new Map([
2926
['File System Access', 'File System access'],
3027
['WebCodecs', 'Video codecs'],
3128
['Push Notifications', 'Notifications'],
32-
['Local Font Access', 'Using local fonts'],
3329
['Idle Detection', 'Idle detection'],
3430
['Run PWA on OS Login', 'Run on OS login'],
3531
['URL Protocol Handler Registration for PWAs', 'URL protocol handler'],

0 commit comments

Comments
 (0)