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

1444 Commits

Author SHA1 Message Date
Roman
ae2c93786d fix: removed preloading fonts in template via <link preload> since it's not bundled with HtmlWebpackPlugin() anyway anda all fonts loaded via css @font-face rule
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-11 16:16:09 +02:00
Roman
95b4990556 fix: "webpack" not found in production
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-11 15:55:00 +02:00
Roman
4c9da2f2b9 fix: handle errors in bundled extensions compilation process
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-11 15:29:58 +02:00
Roman
939b46c1f8 fix: move app fonts preloading into html/css files, clean up
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-10 17:01:24 +02:00
Roman
5d24c4e0f9 fix: handle warnings in "renderer" compilation
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-10 16:31:54 +02:00
Roman
844d49d7db fix: handle warnings in main-process compilation files
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-10 13:44:17 +02:00
Roman
00214fcb91 reverted auto-formatted imports with 2 lines (.idea/webstorm)
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-10 13:13:43 +02:00
Roman
10124abd18 fix unit tests
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-09 13:15:25 +02:00
Roman
c5379ad9f9 fix lint
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-08 16:39:54 +02:00
Roman
29c75e18c6 fix: wait lensProxy.listen() to obtain lensProxy.port for webpack-dev-server
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-08 15:30:03 +02:00
Roman
2ef9861d10 fix: loading cluster frame + error in loading terminal default font (which was causing network exception error and hidden cluster-view)
fix: proxying websockets (e.g. terminal)

Signed-off-by: Roman <ixrock@gmail.com>
2022-02-08 15:04:11 +02:00
Roman
8a6ef6c9f0 Merge remote-tracking branch 'origin/master' into webpack5-upgrade-attempt 2022-02-08 13:30:06 +02:00
Roman
662b906fe1 attempt to fix: "Uncaught (in promise) DOMException: A network error occurred." when loading cluster frame -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-08 13:29:50 +02:00
Roman
81560d5357 fix: more random fixes related to incorrect parsing svg-icon content, added static Icon.isSvg(content: string)
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-08 11:53:22 +02:00
Sebastian Malton
4abe0d6c20
Only group delete visible items (#4798) 2022-02-07 10:40:20 -05:00
Roman
5b88f23a5f fix: incorrect parsing svg-icon xml-content by <HotbarEntityIcon/>
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-07 17:08:40 +02:00
Roman
f1efed4d78 attempt to use webpack-dev-server via node-api -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-07 16:26:56 +02:00
Sebastian Malton
06ec1b39a4
Fix not being able to install extensions sometimes (#4794) 2022-02-07 09:07:09 -05:00
Roman
92a5c785a3 attempt to use webpack-dev-server via node-api -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-07 15:14:53 +02:00
Sebastian Malton
76f48df56b
Fix rerendering of KubeObject views every 30s (#4801)
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-02-03 09:11:28 -05:00
Alex Andreev
00314aabc0
Fix unresponsive kubectl download binaries switch (#4807)
* Add observer wrapper to KubectlBinaries

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

* Add missing terminal title

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-02-03 14:57:55 +03:00
Janne Savolainen
09824a6e01
Prevent creation of dynamic components where withInjectables use type parameters to make React not re-mount because of dynamic components being different (#4808)
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-02-03 13:26:14 +02:00
Jari Kolehmainen
6ebfd76644
Use system-node-critical priorityClassName for node shell (#4800)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-02-03 07:37:21 +02:00
Janne Savolainen
e58d9b631a
Fix bugs in ItemListLayouts/KubeObjectListLayouts (#4792)
* Fix virtual list behaviour in item list layout by making table rows observer

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

* Make selecting item in ItemListLayout not scroll to top

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

* Fix scrolling to top when selecting all items in item list layout

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

* Fix refreshing release values when release is unselected

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

* Remove noisy debugging

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

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

* Fix sorting of table rows

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

* Replace avoidable asyncComputed with normal computed

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

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

* Revert unnecessary code style changes

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

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

* Fix render-storm in Events

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

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

* Fix missing key in React array

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-02-02 16:46:07 +02:00
Alex Andreev
334ab56f9d
Fix dialog icons hover color (#4791)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-02-02 16:47:33 +03:00
Alex Andreev
576135f723
Fix quota entries layout in Add Resouce Quota dialog (#4789)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-02-02 16:46:33 +03:00
Roman
98b516f290 fix: loading svg icons inline as data-url (workaround for "?raw" as it fails in tests and "!!raw-loader!" seems doesn't work at all in webpack@5)
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-01 18:41:59 +02:00
Janne Savolainen
e8205a64b9
Fix bugs in helm releases (#4785)
* Fix opening of upgrade release tab

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

* Bring back ability to rollback to specific revision

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

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

* Fix helm releases not updating after rollback

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

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

* Fix helm releases not updating after upgrade

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-02-01 16:18:43 +02:00
Sebastian Malton
dd4aa30b8d
Update Node.getRoleLabels() to work with kube 1.16's defaults (#4771)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-02-01 07:33:39 -05:00
Roman
ad31d3e8a2 fix lint
Signed-off-by: Roman <ixrock@gmail.com>
2022-02-01 12:41:01 +02:00
Jim Ehrismann
4ec36a154d
select all on helm releases now selects all or none (toggles) (#4742)
* select all on helm releases now selects all (or none if all were already selected)

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* Fix isSelectedAll when no items are visibile

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

Co-authored-by: Sebastian Malton <sebastian@malton.name>
2022-02-01 08:05:45 +02:00
Roman
aa63143b28 fix master-merge conflict
Signed-off-by: Roman <ixrock@gmail.com>
2022-01-31 18:31:33 +02:00
Roman
c0559bf772 Merge remote-tracking branch 'origin/master' into webpack5-upgrade-attempt
# Conflicts:
#	package.json
#	yarn.lock
2022-01-31 18:21:45 +02:00
Roman
faaa8034c9 removing webpack-dev-server, clean up
Signed-off-by: Roman <ixrock@gmail.com>
2022-01-31 18:19:41 +02:00
Juho Heikka
a0f474a676
Disable native window open (#4778)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2022-01-31 17:59:49 +02:00
Sebastian Malton
0b1696fe16
Fix build due to removal of old extended collections (#4779) 2022-01-31 10:46:40 -05:00
Janne Savolainen
ac42a6565f
Replace kube object menu registry with reactive solution (#4731)
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2022-01-31 10:16:29 -05:00
Sebastian Malton
0ce4e3d793
Full dependency inversion of <Dock> and all current tab kinds (#4757)
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-31 09:49:36 -05:00
Alex Andreev
65669f6a64
Fix: increase catalog entity name col width (#4776)
* Increase .entityName col width

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

* Adjust catalog menu paddings

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

* Fix table head border color

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-01-31 17:04:15 +03:00
Dmitriy Noa
a9abcf99e4
Fix failing lint in master (#4775)
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-01-31 11:03:49 +01:00
Sebastian Malton
38790eb886
Upgrade to latest for all linting deps (#4755)
* Upgrade to eslint latest

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

* Fix OOM error

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

* resolve PR comments

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-29 07:46:37 -05:00
Sebastian Malton
2ad78c2a86
Fix item menus for several pages (#4770) 2022-01-28 11:08:06 -05:00
Janne Savolainen
09b33633f7
Replace StatusBarRegistry with reactive solution (#4728) 2022-01-28 08:40:58 -05:00
Roman
398af8cc07 Merge remote-tracking branch 'origin/master' into webpack5-upgrade-attempt
# Conflicts:
#	src/common/catalog-entities/kubernetes-cluster.ts
2022-01-28 14:51:27 +02:00
Sebastian Malton
8d8491a035
Ensure that CatalogEntity.getName() and CatalogEntity.getId() are always used (#4763) 2022-01-27 14:42:19 -05:00
Jari Kolehmainen
1cac3ca74c
Upgrade to Electron 14.2.4 (#4625)
Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-27 10:23:36 -05:00
Sebastian Malton
a2b9153e52
Allow users of KubeObjectListLayout to override all props of ItemListLayout (#4752)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-27 07:13:56 -05:00
Sebastian Malton
162741a7cc
Fix multi-document support in monaco editor (#4756)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-27 07:13:41 -05:00
Alex Andreev
5fb465802b
Do not pass blurOnEnter to html element (#4762)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-01-27 15:05:26 +03:00
Roman
cae184883b fix: raw-loader / <Icon svg="./*">, updated mocked types for importing resources via webpack
Signed-off-by: Roman <ixrock@gmail.com>
2022-01-27 14:05:10 +02:00