1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Go to file
Alex Andreev 0719293b11
Namespace details tree view (#7080)
* Initial tests for <NamespaceTreeView />

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

* Introduce <NamespaceTreeView/>

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

* Render namespace children

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

* Render a child subnamespace

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

* Remove unused lodash import

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

* Render subnamespace badge after name

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

* Testing rendering 2 levels deep

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

* Add tree view to namespace details

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

* Expand all nodes by default

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

* Add links to the tree items

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

* Initial label styling

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

* Label and group styling

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

* Remove fontSize attr from SvgIcon

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

* Styling subnamespace badge

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

* Expand and collapse tree nodes

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

* Testing clicking plus icon

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

* Restyling subnamespace badge

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

* Adding tooltip for subnamespace badge

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

* Linter fixes

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

* Fix linter harder

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

* Replace CloseIcon with semi-transparent MinusIcon

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

* Styling TreeView inside scss module

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

* Move isSubnamespace method inside API

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

* Extract nodeId to avoid repeating

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

* Rename Icon components

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

* Clean up tests from boilderplate

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

* Subnamespace badge style fixes

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

* Linter fix

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

* Use font-size: x-small instead of rem units

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

* Move subnamespace badge show check to parent

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

* Use prevDefault util

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

* Refactor: move tree build logic to store

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

* Linter fixes

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

* Refactor hierarchicalNamespacesInjectable

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

* Add tests for getNamespaceTree() function

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

* Use Subnamespace badge in namespace list (#7132)

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

---------

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-02-13 09:34:03 +03:00
.github Remove self-referencial from root package.json (#7130) 2023-02-10 09:05:13 +02: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 Update all links within application (#6442) 2022-10-21 16:34:58 -04: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 Namespace details tree view (#7080) 2023-02-13 09:34:03 +03: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 Restructure to monorepo (#6907) 2023-01-24 10:46:26 -08:00
.npmrc Add engine to strict node version in package.json (#144) 2020-03-23 16:31:28 +02:00
.yarnrc Fix publishing @k8slens/node-fetch (#7024) 2023-01-26 10:15:23 -05: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
lerna.json Release 6.4.0-beta.13 (#7106) 2023-02-03 09:10:04 -05: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 Support extending KubernetesCluster in extensions (#4702) 2022-01-19 14:57:42 +02:00
nx.json Fix building docs and verify:docs workflow (#7013) 2023-01-25 13:59:21 -05:00
package.json Remove self-referencial from root package.json (#7130) 2023-02-10 09:05:13 +02:00
README.md Update slack links to a static redirect url (#6856) 2023-01-03 08:19:04 -05:00
RELEASE_GUIDE.md Add release guide (#6374) 2022-10-07 12:24:11 -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
yarn.lock Remove self-referencial from root package.json (#7130) 2023-02-10 09:05:13 +02:00

Lens Desktop Core ("OpenLens")

Build Status Chat on Slack

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.