1
0
mirror of https://github.com/lensapp/lens.git synced 2024-11-10 10:36:25 +03:00
Lens - The way the world runs Kubernetes
Go to file
Dmitriy Noa 9f6c3e230a
Improve dock tabs UX (#4754)
* Add separators and scroll button

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Add tabs controlls

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Update values on resize

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Fix right button

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Add change tab on keydown

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Fix flickering and arrows position

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Fix pr comments. Cleanup function. Simplify reaction

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Add disposer cleanup

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Add separators and scroll button

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Add tabs controlls

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Update values on resize

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Fix right button

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Add change tab on keydown

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Fix flickering and arrows position

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Fix pr comments. Cleanup function. Simplify reaction

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Add disposer cleanup

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* PR fixes and improvements

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Add reaction cleanup

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Cleanup. Remove reaction.

Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>

* Active tab soft background

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

* Show close btn on hover

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

* Removing custom left/right arrow buttons

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

* Remove dock-tabs styles from dock.scss

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

* Add dock-tabs.module.scss

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

* Add useResizeObserver hook

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

* Set tabs scrollable on small window sizes

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

* Add custom scrollbar on hover

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

* Update scrollbar overflow on tabs change

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

* Adding shadow corners to scrollable area

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

* Update material icons font

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

* Change terminal and chart install icons

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

* Add hover tooltip

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

* Controls scrollable within Tabs

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

* Move tooltips to top

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

* Set dock tabs theme colors

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

* Mock ResizeObserver

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

* Increase tooltip show delay

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

* Scroll active tab into view

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

* Scroll horizontally with mouse wheel

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

* Add tiny shadow to cropped tab

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

* Remove dock-tab.scss

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

* Adding tab role attributes

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

* Handle dock open/closed state

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

* Increase shadow corner size

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

* Selecting next or previous tab after closing selected one

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

* Add tiny test

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

* Use scrollIntoViewIfNeeded in tabs

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

* Small cleaning

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

* Small fix for useResizeObserver deps array

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

* Fix plus button padding on empty dock

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

* Fix close button position in active tab

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

* Remove min-width for tab title

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

* Clean up

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

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-21 15:55:51 +03:00
__mocks__ Upgrade to webpack@5 (#4894) 2022-02-25 10:20:06 -05:00
.github changed ownership of retry package (#4891) 2022-02-16 11:33:08 -05:00
.idea Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths 2022-01-11 13:56:23 +02:00
.vscode VSCode launch configurations for debugging (#2281) 2021-03-09 17:57:55 +02:00
build Consolidate downloading binaries into one script (#4942) 2022-03-09 17:51:51 -05:00
docs Enforce some naming conventions (#4813) 2022-03-01 13:06:53 -05:00
extensions Webpack quality of life improvements for dev mode (#4980) 2022-03-08 09:48:16 -05:00
integration Cleanup HelmRepoManager and <HelmCharts> (#4564) 2022-02-16 14:43:26 -05: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 Improve dock tabs UX (#4754) 2022-03-21 15:55:51 +03:00
static Extensible welcome page (#2637) 2021-04-27 11:24:39 +03:00
templates/create-resource Add static Pod.yaml to templates (#4055) 2021-10-15 12:49:18 -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 Enable TLS on lens-k8s-proxy (#4941) 2022-03-17 15:07:40 +02:00
.azure-pipelines-k8s-matrix.yml use ubuntu 18.04 for builds (#3877) 2021-09-23 15:14:24 +03:00
.azure-pipelines.yml use ubuntu 18.04 for builds (#3877) 2021-09-23 15:14:24 +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 Enforce some naming conventions (#4813) 2022-03-01 13:06:53 -05: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 14.2.4 (#4625) 2022-01-27 10:23:36 -05: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 Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
Makefile Consolidate downloading binaries into one script (#4942) 2022-03-09 17:51:51 -05:00
mkdocs.yml Support extending KubernetesCluster in extensions (#4702) 2022-01-19 14:57:42 +02:00
package.json Bump ts-node from 10.4.0 to 10.7.0 (#5030) 2022-03-17 15:17:30 -04:00
README.md Don't bundle extension with eula on default build (#2542) 2021-04-20 09:35:37 -04:00
SECURITY.md Add security policy (#2387) 2021-03-25 17:19:45 +02:00
tailwind.config.js Shorten license header to reduce amount of clutter in top of the files (#4709) 2022-01-18 10:18:10 +02:00
tsconfig.json Updated typescript target to ES2019 (#4869) 2022-02-25 10:20:22 -05:00
typedoc.json Upgrade typedoc (#2940) 2021-06-07 09:51:43 -04:00
webpack.dev-server.ts Webpack quality of life improvements for dev mode (#4980) 2022-03-08 09:48:16 -05:00
webpack.extensions.ts Upgrade to webpack@5 (#4894) 2022-02-25 10:20:06 -05:00
webpack.main.ts Consolidate downloading binaries into one script (#4942) 2022-03-09 17:51:51 -05:00
webpack.renderer.ts Consolidate downloading binaries into one script (#4942) 2022-03-09 17:51:51 -05:00
yarn.lock Bump ts-node from 10.4.0 to 10.7.0 (#5030) 2022-03-17 15:17:30 -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.