microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
375 stars 86 forks source link

Migrate from `<webview>` to `WebContentsView` #8190

Open craxal opened 1 month ago

craxal commented 1 month ago

According to Electron documentation, the use of <webview> elements to render embedded content is based on volatile Chromium features and is therefore discouraged.

We should investigate migrating our existing infrastructure to one that uses WebContentsView. Such a transition will come with several benefits:

## Tasks
- [ ] Reimplement shell UI components (tabs, split panels, etc.) in React
- [ ] Move app menu management to main process
- [ ] Implement window management in main process (today's panels reimplemented as windows with main process maintaining size/placement relationships)
- [x] Consider: Add support for panels as providers (for example, the tree view directly providing implementations for tree operations)
- [x] Consider: Add support for declare-once provider functions (not having to list provider functions in package.json)
- [ ] Consider: Add support for extensions declaring multiple providers
- [ ] #8171
craxal commented 3 days ago

Focus on breaking this down to deliverables.