1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Go to file
Sami Tiilikainen 48db54ec9e
Renderer file logging through IPC (#7300)
* Renderer file logging through IPC

Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>

* Remove pagehide event listener as it may cause UI to freeze

Pagehide was needed in cluster frame to better handle main frame close/reload situation. But even empty pagehide listener in cluster frame seems to freeze the UI at least on some situations (multiple clusters open).

Beforeunload is not always executed in cluster frame when main frame is reloaded/closed, leaving log files open. To fix that, `stopIpcLoggingInjectable` is introduced to close all log files.

Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>

* Remove unnecessary formatting changes

Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>

* Lint fix

Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>

* Winston logger override

Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>

* Remove usage of doGeneralOverrides as it has been removed

Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>

* Update imports to match the new base

Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>

* Remove unnecessary id

Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>

* Review improvements

Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>

* Extract beforeunload listener to injectable

Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>

* Typo fix

Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>

---------

Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
2023-03-21 15:04:22 -04:00
.github Fix release process in light of changing to independent versioning (#7357) 2023-03-14 14:56:53 -04:00
.idea New resource view: Network -> Ingress Classes (#6808) 2023-01-05 13:26:04 -05:00
.vscode Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
docs Remove all references to slack (#7233) 2023-02-24 17:04:15 -05:00
jsonnet/lens fix jsonnet error with kube-prometheus >= v0.8 (#5687) 2022-10-19 10:17:07 -04:00
mkdocs Re-enable strict mode in docs vlidation. Bump mkdocs-material version (#3073) 2021-06-16 15:51:36 +01:00
packages Renderer file logging through IPC (#7300) 2023-03-21 15:04:22 -04:00
troubleshooting fix jsonnet error with kube-prometheus >= v0.8 (#5687) 2022-10-19 10:17:07 -04:00
.adr.json Initialize a cli-tool to maintain Architectural Decision Records and create initial ADR (#5712) 2022-08-10 14:36:26 +03:00
.gitignore Add package for sharing webpack configurations for upcoming Features (#7199) 2023-02-22 12:28:07 +02:00
.npmrc Switch to using NPM workspaces (#7115) 2023-02-20 12:48:18 +02:00
CODE_OF_CONDUCT.md Add contributing/development pages (#1480) 2020-11-23 11:37:30 +02:00
CONTRIBUTING.md Update all links within application (#6442) 2022-10-21 16:34:58 -04:00
jest.config.js Add package for sharing jest configuration for upcoming Features (#7198) 2023-02-22 11:19:16 +02:00
lerna.json Release 6.5.0-alpha.1 (#7345) 2023-03-14 11:40:35 -04:00
LICENSE Update copyright to 2022 (#5624) 2022-06-14 11:22:38 -04:00
license-header Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
mkdocs.yml Remove all references to slack (#7233) 2023-02-24 17:04:15 -05:00
nx.json Fix building docs and verify:docs workflow (#7013) 2023-01-25 13:59:21 -05:00
package-lock.json Electron 22.3.3 (#7389) 2023-03-21 11:07:27 -04:00
package.json Switch to using messaging and startable stoppable from NPM package (#7368) 2023-03-21 11:38:43 +02:00
README.md Update link in README (#7314) 2023-03-08 15:45:50 -05:00
RELEASE_GUIDE.md Add note about major version bumps in release guide (#7382) 2023-03-20 10:54:31 -04:00
SECURITY.md Add security policy (#2387) 2021-03-25 17:19:45 +02:00
tsconfig.json Move downloading binaries to new package (#7033) 2023-01-27 09:48:33 -05:00

Lens Desktop Core ("OpenLens")

Build Status Explore our Forums

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.

Screenshot

Development

See Development page.

Contributing

See Contributing page.

License

See License.