Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | refactor: Config persistence architecture | Kristóf Marussy | 2021-12-26 |
| | | | | | | | | The architecture in the main process is split into 3 main parts: * services: interfaces for services are injected into the stores through the MainEnv interface (for testability) * services/impl: electron-specific implementations of services * stores: the actions of the stores can invoke (asynchronous) services | ||
* | feat: Set nativeTheme theme source on dark mode | Kristóf Marussy | 2021-12-26 |
| | |||
* | refactor: Simplify browserViewBounds handling | Kristóf Marussy | 2021-12-26 |
| | |||
* | feat: Add BrowserView and synchronize its position | Kristóf Marussy | 2021-12-23 |
| | |||
* | chore: Add license headers | Kristóf Marussy | 2021-12-23 |
| | | | | | Centralizes vite configuration to be able to add license banners to outputs in one place. | ||
* | feat: Main to renderer store synchronization | Kristóf Marussy | 2021-12-23 |
Patches are send in one direction only, from the main to the renderer, so all actions have to go through the context bridge and the renderer IPC to modify the store in the renderer. This makes the store in the main process a single source of truth, which simplifies debugging and state persistence. The store in the renderer is connected to redux devtools for inspection, but playing back the state in the devtools won't change the sotre in main process. |