* Renderer file logging transport Add file logging to renderer, writing separate log files for renderer main frame and each cluster frame. Related to lensapp/support-lens-extension#118 Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Switch renderer file log level to info There is too much noise on debug level from api responses etc Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Unmount on pagehide instead of beforeunload It seems cluster onbeforeunload is not triggered when iframe is removed from dom by the parent (when disconnecting a cluster). While on root/main frame the beforeunload event does work, it seems to be adviced to use pagehide instead. Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Close log files on unmount Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Improve file handle closing in different situations This should cover reloading main and cluster frames and closing cluster frame throught disconnecting cluster. No file handles should be left open now. Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Fix renderer log rotation Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Switch back to beforeunload in root frame Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Remove capturing phase event usage Does not seem to be needed for log files to be successfully closed and caused integration tests to fail. Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> --------- Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> |
||
|---|---|---|
| .github | ||
| .idea | ||
| .vscode | ||
| docs | ||
| jsonnet/lens | ||
| mkdocs | ||
| packages | ||
| troubleshooting | ||
| .adr.json | ||
| .gitignore | ||
| .npmrc | ||
| .yarnrc | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| lerna.json | ||
| LICENSE | ||
| license-header | ||
| mkdocs.yml | ||
| nx.json | ||
| package.json | ||
| README.md | ||
| RELEASE_GUIDE.md | ||
| SECURITY.md | ||
| tsconfig.json | ||
| yarn.lock | ||
Lens Desktop Core ("OpenLens")
The Repository
This repository is where Team Lens develops the core of the Lens Desktop product together with the community.
The core is a library, powered by Electron and React. Unlike generic Electron + React frameworks / boilerplates, it is very opinionated for creating Lens Desktop-like applications and has support for Lens Extensions.
In the future, this library will be streamlined to become more customizable and pluggable with easy to use tooling for Lens Extension developers.
This source code is available to everyone under the MIT license.
Lens Desktop
Lens Desktop is built on top of the Lens Desktop Core with Team Lens built extensions released under a traditional Terms Of Service.
Lens Desktop is a standalone application for MacOS, Windows and Linux operating systems. Get started by downloading it from Lens website.
Development
See Development page.
Contributing
See Contributing page.
License
See License.
