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

1715 Commits

Author SHA1 Message Date
Alex Andreev
ab45873082 Add width styles to <Table/>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-25 10:06:32 +03:00
Alex Andreev
d1e2f0cae1 Merge branch 'master' into react-table-with-resizable-columns 2022-08-25 08:15:46 +03:00
Alex Andreev
c6c6fdea15 Make items selectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-24 13:17:02 +03:00
Alex Andreev
b9f3083281 Add pod actions menu
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-24 12:55:47 +03:00
Alex Andreev
894e0435d9 Make search work
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-24 11:09:33 +03:00
Alex Andreev
9eaa8d52b6 Add more style for table head
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-24 10:06:59 +03:00
Alex Andreev
8578e5f0e9 Add header padding
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-24 10:06:35 +03:00
Alex Andreev
879d9b9620 Make list become full height
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-24 09:32:10 +03:00
Alex Andreev
908f8085e1 Sizing virtual table heads
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-24 07:12:58 +03:00
Alex Andreev
ba54a64ebb
Fix <Select/> text overflow below baseline (#6085)
* Fix: do not crop <Select/> single value

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

* Fix: do not crop namespace selector placeholder

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

* Align working dir input height with others

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

* Linter fix

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

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-23 19:19:15 +03:00
Alex Andreev
0629ff3123 Make separate VirtualTableHeader
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-23 16:10:33 +03:00
Alex Andreev
9247f932dc Setting different widths for columns
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-23 15:52:32 +03:00
Alex Andreev
44f1e824e3 Use new virtual layout
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-23 14:22:33 +03:00
Janne Savolainen
81f7bd3c2c
Replace jest.mock's with overriding dependencies (#6014)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-08-23 13:04:00 +03:00
Sebastian Malton
03d2389f01
Use default export to fix issue with package lying with types (#6081)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-22 16:42:06 -04:00
Carlos René Mederos Arias
df1cc8b788
Add node name column to pods list (#6025)
Signed-off-by: Carlos René Mederos Arias <krlosmederos@gmail.com>

Signed-off-by: Carlos René Mederos Arias <krlosmederos@gmail.com>
2022-08-22 14:16:51 -04:00
Sebastian Malton
436aa3dcda
Use abort-controller package to fix typing issues (#6077) 2022-08-22 11:18:01 -04:00
Alex Andreev
93cefe7897
Use color-scheme: auto on all iframes (#6074)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-22 15:09:41 +03:00
Alex Andreev
4b887e6c7c Update react-virtual to 3rd version
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-22 08:10:28 +03:00
Carlos René Mederos Arias
3305a193e5
Fix UI for scaling ReplicaSets (#6052) 2022-08-19 12:32:51 -04:00
Piotr Roszatycki
2e7fbac9fa
Add Service Account in pods details (#6050)
Signed-off-by: Piotr Roszatycki <piotr.roszatycki@gmail.com>

Signed-off-by: Piotr Roszatycki <piotr.roszatycki@gmail.com>
2022-08-19 04:40:43 -07:00
Alex Andreev
5cce219387 Merge branch 'master' into react-table-with-resizable-columns 2022-08-19 12:04:07 +03:00
Michael Pearson
5249a8ebed
Don't error out if we can't find resources from helm in our cluster, and handle "blank" output from kubectl gracefully. (#6039) 2022-08-18 08:21:24 -04:00
Alex Andreev
9484d76e7a Styling list header
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-17 15:16:31 +03:00
Alex Andreev
442884c5b8 Remove getCoreRowModel from the required TableList prop
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-17 14:43:52 +03:00
Alex Andreev
6406ffabfd Move store subscription to injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-17 14:43:05 +03:00
Alex Andreev
c22eb14e91 Experimenting with sizing props
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-16 16:16:36 +03:00
Iku-turso
3e02229920
Make injectables in new "features"-directory auto register to make ADR in #6015 possible (#6034)
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2022-08-16 15:56:11 +03:00
Janne Savolainen
63d5a34379
Replace static application window with ability to create many (#5979)
* Replace static application window with ability to create as many as you wish

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

* Adapt tests for replacing static application window with ability to create as many as you wish and separate starting of main and window in behaviours

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

* Make first render of application smaller in test that proves to be hard for CI

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

* Remove redundant code

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

* Simplify code

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

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-08-16 15:55:42 +03:00
Iku-turso
299922c8a7
Rename old directory for behaviours as "features" to better communicate new intent with new directory structure to organize code and tests around features instead of technicalities (#6033)
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

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

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-08-16 15:09:08 +03:00
Jari Kolehmainen
36077a9fea
Show extension api version (#6038)
* show extension api version in about dialog

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* move buildVersionInjectable from common to main

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-08-16 15:04:31 +03:00
Alex Andreev
f4c55e590a Column resize initial draft
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-16 12:55:26 +03:00
Alex Andreev
7d2dfaf179 Merge branch 'master' into react-table-with-resizable-columns 2022-08-16 10:33:00 +03:00
Janne Savolainen
d6ca2c2cd7
Allow reactive tray item labels for extensions (#6036)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-08-16 08:28:07 +03:00
Sebastian Malton
6d37019089
Upgrade to electron@^19 (#5369)
* Upgrade to use electron 19.0.4

- Update documentation

- Updated disturl in .yarnrc to fix build issue

- Remove use of abort-controller package

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

* Remove support for webview tags

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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-12 05:17:06 -07:00
Sebastian Malton
edacf3bec6
Fix distribution detector erroneously depending on previous metadata (#6023)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-12 09:37:00 +03:00
Janne Savolainen
33834e34b7
Optimize getting injectable paths only once for all test suites (#6013) 2022-08-11 09:42:52 -04:00
Alex Andreev
17ddee2bde
Remove Tabs hover line width transition (#6020)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-11 15:39:23 +03:00
Sebastian Malton
bd3f123aef
Fix Badges being too small when scrollable and not expandable (#5987)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-10 05:46:41 -07:00
Sebastian Malton
09f2919946
Remove usage of deprecated xtermjs's registerLinkMatcher API (#5996)
* Make openBrowser->openLinkInBrowser injectable

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

* Remove use of deprecated link matcher API from XtermJS

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

* Fix type errors

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-09 19:25:11 -07:00
Sebastian Malton
5c11d7f7fe
Fix completely overriding PATH in shellSync (#5451) 2022-08-09 10:08:56 -04:00
Sebastian Malton
592600c1bb
Fix focus not switching to new cluster frame (#5995) 2022-08-08 21:49:21 +03:00
Janne Savolainen
688ef40e92
Fix incorrect links in workload overview page (#6002)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-08-08 12:26:48 -04:00
Alex Andreev
f759cf6230 Introduce VirtualTable component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-08 09:39:05 +03:00
Alex Andreev
3df4c306e5 Move TableHeader to its own component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-08 09:38:35 +03:00
Alex Andreev
bd965c93f4 Using one-line layout for the <td>s
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-08 09:38:07 +03:00
Alex Andreev
a2e6d6e313 Remove unused import
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-08 09:37:27 +03:00
Sebastian Malton
d9785ad4dc
Fix ResourceQuotaDetails quotas display bugs (#5909) 2022-08-05 14:02:35 -04:00
Janne Savolainen
06d780479c
Tweak timing of starting and stopping periodical checking for updates (#5981) 2022-08-04 14:21:16 -04:00
Sebastian Malton
8dea3ad8bc
Correctly handle HorizontalPodAutoscaler metrics with 0 usage (#5986) 2022-08-04 14:21:01 -04:00