-
Notifications
You must be signed in to change notification settings - Fork 15k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: document modernization initiative more clearly (#17376)
* docs: document modernization initiative more clearly
- Loading branch information
1 parent
53f4af7
commit 879462a
Showing
18 changed files
with
102 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## Modernization | ||
|
||
The Electron team is currently undergoing an initiative to modernize our API in a few concrete ways. These include: updating our modules to use idiomatic JS properties instead of separate `getPropertyX` and `setpropertyX`, converting callbacks to promises, and removing some other anti-patterns present in our APIs. The current status of the Promise intiative can be tracked in the [promisification](promisification.md) tracking file. | ||
|
||
As we work to perform these updates, we seek to create the least disruptive amount of change at any given time, so as many changes as possible will be introduced in a backward compatible manner and deprecated after enough time has passed to give users a chance to upgrade their API calls. | ||
|
||
This document and its child documents will be updated to reflect the latest status of our API changes. | ||
|
||
* [Promisification](promisification.md) | ||
* [Property Updates](property-updates.md) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
## Property Updates | ||
|
||
The Electron team is currently undergoing an initiative to convert separate getter and setter functions in Electron to bespoke properties with `get` and `set` functionality. During this transition period, both the new properties and old getters and setters of these functions will work correctly and be documented. | ||
|
||
## Candidates | ||
|
||
* `app` module | ||
* `accessibilitySupport` | ||
* `badgeCount` | ||
* `applicationMenu` | ||
* `name` | ||
* `dock` | ||
* `badge` | ||
* `autoUpdater` module | ||
* `feedUrl` | ||
* `BrowserWindow` | ||
* `fullscreen` | ||
* `simpleFullscreen` | ||
* `movable` | ||
* `resizable` | ||
* `maximizable` | ||
* `minimizable` | ||
* `fullscreenable` | ||
* `closable` | ||
* `alwaysOnTop` | ||
* `title` | ||
* `documentEdited` | ||
* `hasShadow` | ||
* `autohideMenuBar` | ||
* `menubarVisible` | ||
* `visibleOnAllWorkspaces` | ||
* `crashReporter` module | ||
* `uploadToServer` | ||
* `DownloadItem` class | ||
* `savePath` | ||
* `paused` | ||
* `NativeImage` | ||
* `templateImage` | ||
* `Session` module | ||
* `preloads` | ||
* `SystemPreferences` module | ||
* `appLevelAppearance` | ||
* `webContents` module | ||
* `zoomFactor` | ||
* `zoomLevel` | ||
* `audioMuted` | ||
* `userAgent` | ||
* `frameRate` | ||
* `webFrame` modules | ||
* `zoomFactor` | ||
* `zoomLevel` | ||
* `audioMuted` | ||
* `<webview>` | ||
* `zoomFactor` | ||
* `zoomLevel` | ||
* `audioMuted` | ||
|
||
## Converted Properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters