1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

2339 Commits

Author SHA1 Message Date
Alex Andreev
2a568d0fda Small cleaning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-18 12:51:37 +03:00
Alex Andreev
b3de1791e0 Use scrollIntoViewIfNeeded in tabs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-18 12:50:44 +03:00
Alex Andreev
7736589738 Add tiny test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-17 17:06:43 +03:00
Alex Andreev
c50ca45b49 Selecting next or previous tab after closing selected one
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-17 17:02:41 +03:00
Alex Andreev
23f29bacbb Increase shadow corner size
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-16 13:28:28 +03:00
Alex Andreev
b2147b3084 Handle dock open/closed state
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-16 13:13:07 +03:00
Alex Andreev
84e1bf3338 Adding tab role attributes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-16 11:29:18 +03:00
Alex Andreev
919e4e360b Remove dock-tab.scss
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-16 11:24:51 +03:00
Alex Andreev
77d8573833 Add tiny shadow to cropped tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-16 10:58:16 +03:00
Alex Andreev
08477021d1 Scroll horizontally with mouse wheel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-16 10:51:54 +03:00
Alex Andreev
7273082048 Merge branch 'master' into improve-dock-tabs-ux 2022-03-16 09:52:53 +03:00
Alex Andreev
f74fd5588e Scroll active tab into view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-16 09:40:08 +03:00
Alex Andreev
c24263baa1 Increase tooltip show delay
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-16 07:42:39 +03:00
Alex Andreev
c6d00bc224 Mock ResizeObserver
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-16 07:40:28 +03:00
Alex Andreev
6605bfff0a Set dock tabs theme colors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-16 07:30:53 +03:00
Alex Andreev
576f033907 Move tooltips to top
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-15 19:17:35 +03:00
Alex Andreev
0f4fe831fa Controls scrollable within Tabs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-15 19:17:07 +03:00
Jim Ehrismann
86ba61dc99
moving release guide out of OpenLens repo (#5012) 2022-03-15 11:48:04 -04:00
dependabot[bot]
db581073c5
Bump chokidar from 3.5.2 to 3.5.3 (#5008)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 11:47:45 -04:00
dependabot[bot]
00966a88e6
Bump @types/react from 17.0.34 to 17.0.40 (#5007)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 11:47:12 -04:00
dependabot[bot]
df5f5e6e02
Bump @types/circular-dependency-plugin from 5.0.4 to 5.0.5 (#5009)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 11:46:46 -04:00
Alex Andreev
72b5729780 Add hover tooltip
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-15 15:51:28 +03:00
Sebastian Malton
4d1c69094b
Fix spacing and layout of registered TopBar items (#4991) 2022-03-15 08:36:14 -04:00
Alex Andreev
52a8db159f Change terminal and chart install icons
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-15 11:00:41 +03:00
Alex Andreev
e5caaa38ed Update material icons font
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-15 10:59:51 +03:00
Alex Andreev
5c4f29445c Adding shadow corners to scrollable area
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-15 10:03:54 +03:00
dependabot[bot]
132f0a9c88
Bump @types/color from 3.0.2 to 3.0.3 (#5004)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 12:39:24 -04:00
Alex Andreev
45644fe5ab Update scrollbar overflow on tabs change
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-14 16:11:44 +03:00
Alex Andreev
09457e9f95 Add custom scrollbar on hover
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-14 16:01:13 +03:00
dependabot[bot]
ee82abce14
Bump react-select-event from 5.1.0 to 5.3.0 (#5001)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 08:59:40 -04:00
dependabot[bot]
5dc84dc180
Bump sass-loader from 12.4.0 to 12.6.0 (#5002)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 08:59:31 -04:00
dependabot[bot]
070db0d097
Bump winston from 3.3.3 to 3.6.0 (#5000)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 08:59:18 -04:00
Alex Andreev
3fb59bf8c2 Set tabs scrollable on small window sizes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-14 13:01:27 +03:00
Alex Andreev
265d1076bd Add useResizeObserver hook
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-14 13:00:27 +03:00
Alex Andreev
1b2c866b45 Add dock-tabs.module.scss
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-14 11:34:55 +03:00
Alex Andreev
822500dc21 Remove dock-tabs styles from dock.scss
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-14 11:34:37 +03:00
Alex Andreev
3d5da4f60d Removing custom left/right arrow buttons
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-14 11:24:10 +03:00
dependabot[bot]
08a577643a
Bump electron-builder from 22.14.5 to 22.14.13 (#4998)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-11 12:38:15 -05:00
Alex Andreev
98af8f9bc1 Show close btn on hover
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-11 18:34:01 +03:00
Alex Andreev
4ac89429de Active tab soft background
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-11 18:10:59 +03:00
dependabot[bot]
ebd011de00
Bump css-loader from 6.5.1 to 6.7.1 (#4995)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-11 08:26:10 -05:00
dependabot[bot]
39deac47ae
Bump @types/url-parse from 1.4.5 to 1.4.8 (#4994)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-11 08:25:50 -05:00
dependabot[bot]
53c7fd559e
Bump @typescript-eslint/eslint-plugin from 5.10.1 to 5.14.0 (#4993)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-11 08:24:05 -05:00
Janne Savolainen
38af26efc9
Make routes in back-end comply to Open Closed Principle (#4859)
* Make registration of back-end routes happen using injectable

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for list charts

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for get chart

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for get chart values

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for installing chart

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for updating release

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for rollbacking release

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for listing releases

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for getting release

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for getting release values

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for getting release history

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for deleting release

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove HelmRoute for not being used anymore

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for applying resource

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for patching resource

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for stopping current port forward

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for getting current port forward

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Consolidate start port forward route to use injection token for registering route

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for metrics

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for getting service account

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for getting version

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add global override for reading file to make it not required where not interesting

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Switch to using injectable to setup route for serving static files

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make adding routes private for router

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make routes wait until all asynchronous stuff are done

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce healthy abstraction between back-end routes and route handlers

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make response of route typed

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix incorrect return value of updateRelease

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make typing of routes support synchronous values

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make code cleaner

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Rename test for accuracy

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Add test for throwing route handler

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove duplicate license header

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Make mechanism of creating HTTP response an implementation detail

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Remove not needed properties from test

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix code style

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix typing and codestyle

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix typing error

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Fix merge conflicts

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Organize all router related files under directory

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-03-11 12:20:00 +02:00
Alex Andreev
00121fd044 Merge branch 'master' into improve-dock-tabs-ux 2022-03-11 11:45:37 +03:00
Alex Andreev
772e879b81
Fix "logs from" date (#4987) 2022-03-10 16:13:22 -05:00
dependabot[bot]
613d107545
Bump @sentry/types from 6.15.0 to 6.18.2 (#4981)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-10 15:11:32 -05:00
dependabot[bot]
e9c2f273c8
Bump type-fest from 1.0.2 to 1.4.0 (#4985)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-10 15:05:52 -05:00
Jim Ehrismann
bba3199bb5
Remove listener for online event (#4970) 2022-03-10 11:08:31 -05:00
Jim Ehrismann
98235d17ac
fixed non-virtual list row rendering (#4983) 2022-03-10 09:05:05 -05:00