Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added v3 plugin system based on iframes #2536

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Conversation

imolorhe
Copy link
Collaborator

@imolorhe imolorhe commented Jun 3, 2024

In preparing for mv3, the current plugin system wouldn't work as it requires loading remote plugin scripts directly in the app which is fundamentally an insecure approach and one that is banned in chrome extension manifest version 3. Switching to an iframe based approach removes the need to execute remote code directly in the app.

Checks

  • Ran yarn test-build
  • Updated relevant documentations
  • Updated matching config options in altair-static

Changes proposed in this pull request:

Tasks

  • Confirm this works with chrome extension manifest version 3
  • Update theme in plugin panels when theme is updated in the app
  • Add tests
  • Tackle sonarcloud concerns

Copy link

github-actions bot commented Jun 3, 2024

Visit the preview URL for this PR (updated for commit 7f082bb):

https://altair-gql--pr2536-imolorhe-plugin-syst-psj2ebe7.web.app

(expires Mon, 10 Jun 2024 23:03:32 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 02d6323d75a99e532a38922862e269d63351a6cf

@imolorhe imolorhe added this pull request to the merge queue Jun 4, 2024
Merged via the queue into master with commit 4b28dbb Jun 4, 2024
11 of 12 checks passed
@imolorhe imolorhe deleted the imolorhe/plugin-system-v3 branch June 4, 2024 13:30
@imolorhe imolorhe linked an issue Jun 4, 2024 that may be closed by this pull request
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate chrome extension to mv3
1 participant