1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Go to file
Sebastian Malton d72158cc63
Fix local cluster delete flow (#3473)
* Fix local cluster delete flow

- Now checks for the cluster being the current cluster and confirms the
  action

- <ConfirmDialog> is fixed to work with several confirmations happinging
  at once

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Custom delete cluster dialog

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Saving kubeconfig file refactoring

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Switching current-context from dialog

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Cleaning up css styles

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Show Delete menu item only for local cluster

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Make all dialogs rounded

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Releasing kubeconfig file after lock

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding delete cluster dialog tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Cleaning up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Delete cluster dialog refactoring

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing typo

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Removing temp file on error

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Updating tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Do not switch context if select is hidden

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Removing spread symbols

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Moving cluster delete event from catalog initializer to ipc

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Refactor warning messages

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Getting spread (...) back to fix Select render

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Using async form without promises

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Do not show context switcher if no contexts left

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Updating the tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* don't allow delete of the active cluster before setting to new active cluster (#3749)

* don't allow user to delete the active cluster before setting to new active cluster

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* fix lint issues

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* Show delete button if no more contexts available

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2021-09-08 15:06:14 +03:00
__mocks__ Cleanup integration and unit tests (#3531) 2021-08-03 08:51:52 -04:00
.github Build and release amd64 & arm64 together (macOS) (#3700) 2021-08-31 11:00:27 +03:00
.vscode VSCode launch configurations for debugging (#2281) 2021-03-09 17:57:55 +02:00
build Build and release amd64 & arm64 together (macOS) (#3700) 2021-08-31 11:00:27 +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 Support MacOS arm64 build (#3682) 2021-08-26 14:46:46 -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 local cluster delete flow (#3473) 2021-09-08 15:06:14 +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 Test different kube versions (#1806) 2020-12-18 12:41:17 +02:00
.azure-pipelines.yml Build and release amd64 & arm64 together (macOS) (#3700) 2021-08-31 11:00:27 +03: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 local cluster delete flow (#3473) 2021-09-08 15:06:14 +03: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 Add tag command, update guide, add PR templates (#2679) 2021-05-12 08:03:45 -04: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 Mobx-6 migration (#2718) 2021-05-25 10:24:31 +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 local cluster delete flow (#3473) 2021-09-08 15:06:14 +03: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.