1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Go to file
Juho Heikka eb789a0ab1 Fix menu rendering on when slightly off screen
Menu would bounce around in some cases because the
refreshPosition() would calculate different results
based on different state of the component and previous
render cycle CSS classes.

Also I found that the render function calls causes
in an infinite loop while open because of refreshPosition
will cause a state change which will rerender the function.
Fixed that with the shouldComponentUpdate which checks
if state has actually changed in between renders.

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-09-22 09:42:51 +03:00
__mocks__ Cleanup integration and unit tests (#3531) 2021-08-03 08:51:52 -04:00
.github Upgrade all testing linux CI machines to Ubuntu-20.04 (#3799) 2021-09-16 09:02:43 -04:00
.vscode VSCode launch configurations for debugging (#2281) 2021-03-09 17:57:55 +02:00
build Automatically check next pre-release channel (#3737) 2021-09-09 09:30:41 +03:00
docs Fix spelling (#3181) 2021-07-16 08:53:01 -04:00
extensions Bump path-parse from 1.0.6 to 1.0.7 in /extensions/node-menu (#3606) 2021-08-16 15:27:21 -04:00
integration Sidebar cluster avatar (#3765) 2021-09-13 11:33:30 -04:00
jsonnet/lens Update jsonnet folder structure to default bundler format (#536) 2021-03-23 08:12:40 -04:00
mkdocs Re-enable strict mode in docs vlidation. Bump mkdocs-material version (#3073) 2021-06-16 15:51:36 +01:00
scripts Release v5.0.0-beta.10 (#3141) 2021-06-22 11:09:51 +03:00
src Fix menu rendering on when slightly off screen 2021-09-22 09:42:51 +03:00
static Extensible welcome page (#2637) 2021-04-27 11:24:39 +03:00
templates/create-resource YAML Templates in Create Resource dock tab (#2327) 2021-04-15 08:19:54 -04:00
test-data add cluster icon migration code (#673) 2020-08-25 16:42:30 +03:00
troubleshooting Update jsonnet folder structure to default bundler format (#536) 2021-03-23 08:12:40 -04:00
types Fix local cluster delete flow (#3473) 2021-09-08 15:06:14 +03:00
.azure-pipelines-k8s-matrix.yml Upgrade all testing linux CI machines to Ubuntu-20.04 (#3799) 2021-09-16 09:02:43 -04:00
.azure-pipelines.yml Upgrade all testing linux CI machines to Ubuntu-20.04 (#3799) 2021-09-16 09:02:43 -04:00
.bundled-extensions.json Don't bundle extension with eula on default build (#2542) 2021-04-20 09:35:37 -04:00
.eslintrc.js Fix .eslintrc.js (#3648) 2021-08-19 14:29:18 -04:00
.gitignore VSCode launch configurations for debugging (#2281) 2021-03-09 17:57:55 +02:00
.npmrc Add engine to strict node version in package.json (#144) 2020-03-23 16:31:28 +02:00
.yarnrc Upgrade to electron 12 and Node 14 (#3572) 2021-08-26 12:13:31 -04:00
CODE_OF_CONDUCT.md Add contributing/development pages (#1480) 2020-11-23 11:37:30 +02:00
CONTRIBUTING.md Add contributing/development pages (#1480) 2020-11-23 11:37:30 +02:00
LICENSE Don't bundle extension with eula on default build (#2542) 2021-04-20 09:35:37 -04:00
license-header Check license header using eslint (#2780) 2021-05-17 09:43:53 -04:00
Makefile Build and release amd64 & arm64 together (macOS) (#3700) 2021-08-31 11:00:27 +03:00
mkdocs.yml Add migration details for extension api docs (#3074) 2021-06-18 11:34:16 -04:00
package.json Fix check for user exec command (#3664) 2021-09-15 13:09:57 -04:00
postcss.config.js Installing tailwindcss/nesting plugin (#3496) 2021-07-26 10:37:32 +03:00
README.md Don't bundle extension with eula on default build (#2542) 2021-04-20 09:35:37 -04:00
RELEASE_GUIDE.md updating release guide with more details (#3704) 2021-09-13 10:14:59 +03:00
SECURITY.md Add security policy (#2387) 2021-03-25 17:19:45 +02:00
tailwind.config.js Turn on tailwind JIT mode, and upgrade to 2.2.4 (#3297) 2021-07-21 10:08:29 -04:00
tsconfig.json Fix development on M1 (Apple Silicon) (#3759) 2021-09-09 09:31:27 +03:00
typedoc.json Upgrade typedoc (#2940) 2021-06-07 09:51:43 -04:00
webpack.extensions.ts Explicitly initialize registries 2021-06-10 09:34:13 -04:00
webpack.main.ts Refactor k8s api to common (#3553) 2021-08-10 13:26:14 +03:00
webpack.renderer.ts Upgrade to electron 12 and Node 14 (#3572) 2021-08-26 12:13:31 -04:00
yarn.lock Fix check for user exec command (#3664) 2021-09-15 13:09:57 -04:00

Lens Open Source Project (OpenLens)

Build Status Chat on Slack

The Repository

This repository ("OpenLens") is where Team Lens develops the Lens IDE product together with the community. It is backed by a number of Kubernetes and cloud native ecosystem pioneers. This source code is available to everyone under the MIT license.

Lens - The Kubernetes IDE

Lens - The Kubernetes IDE ("Lens IDE") is a distribution of the OpenLens repository with Team Lens specific customizations released under a traditional EULA.

Lens IDE provides the full situational awareness for everything that runs in Kubernetes. It's lowering the barrier of entry for people just getting started and radically improving productivity for people with more experience.

Lens IDE a standalone application for MacOS, Windows and Linux operating systems. You can download it free of charge for Windows, MacOS, and Linux from Lens IDE website.

Screenshot

Installation

See Getting Started page.

Development

See Development page.

Contributing

See Contributing page.