feat: replace iframe with chrome sidepanel (#5197)

fixes - #5201


https://github.com/twentyhq/twenty/assets/13139771/871019c6-6456-46b4-95dd-07ffb33eb4fd

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Aditya Pimpalkar
2024-05-21 09:39:43 +01:00
committed by GitHub
parent 4907ae5a74
commit eb78be6c61
21 changed files with 456 additions and 309 deletions

View File

@ -26,7 +26,7 @@ export default defineManifest({
action: {},
//TODO: change this to a documenation page
options_page: 'options.html',
options_page: 'sidepanel.html',
background: {
service_worker: 'src/background/index.ts',
@ -43,12 +43,12 @@ export default defineManifest({
web_accessible_resources: [
{
resources: ['options.html'],
resources: ['sidepanel.html', 'page-inaccessible.html'],
matches: ['https://www.linkedin.com/*'],
},
],
permissions: ['activeTab', 'storage', 'identity'],
permissions: ['activeTab', 'storage', 'identity', 'sidePanel'],
host_permissions: host_permissions,