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

1728 Commits

Author SHA1 Message Date
Alex Andreev
2c58082b6b Clean up pods component code
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-26 16:54:12 +03:00
Alex Andreev
89bcd96a23 Comment ability to have multy-line cells
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-26 16:47:43 +03:00
Alex Andreev
46ae36eb52 Show all resizers
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-26 16:34:24 +03:00
Alex Andreev
fdf3688f81 Set default minWidth for all table columns
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-25 16:15:34 +03:00
Alex Andreev
6544c08f99 Break only name columns
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-25 16:15:18 +03:00
Alex Andreev
d19e3e13ee Do not sort when clicking on resizer
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-25 13:21:29 +03:00
Alex Andreev
cbd7db937b Adjust virtual list top padding
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-25 12:41:32 +03:00
Alex Andreev
fccfb5eb45 Restyling resizing handle
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-25 12:41:16 +03:00
Alex Andreev
9857358d2b stopPropagation() on checkbox click
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-25 12:40:58 +03:00
Alex Andreev
b16d6520bc Setting few more column sizes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-25 12:40:35 +03:00
Alex Andreev
20f63a023b stopPropagation() on Menu toggle event
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-25 12:31:48 +03:00
Alex Andreev
8d9ac313ad Highlight virtual rows on hover
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-25 11:06:13 +03:00
Alex Andreev
8ae993d8ea Fix compile errors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-25 10:51:23 +03:00
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