Commit a1e691c
committed
feat: enhance webview security and improve editor color handling
- Updated Content Security Policy in cockpitWebviewDocument.ts to allow script sources from params.cspSource.
- Added a new test case in cockpitWebview.test.ts to ensure pending picker colors are prioritized over saved defaults for todo label and flag editors.
- Introduced a new loader script (cockpitWebview.loader.js) to handle the loading of the main cockpit webview script with error handling.
- Added a large demo GIF to the images directory.1 parent b24a874 commit a1e691c
17 files changed
Lines changed: 10610 additions & 39 deletions
File tree
- docs
- images
- media
- generated
- src
- test/suite
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
Binary file not shown.
Binary file not shown.
Loading
Binary file not shown.
Binary file not shown.
0 commit comments