1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-20 05:47:24 +03:00
Commit Graph

571 Commits

Author SHA1 Message Date
Dmitriy Noa
9d04c23290
release v5.4.0-beta.4 (#4926)
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-02-23 13:20:08 -05:00
Jim Ehrismann
7c9ec87b3c
release v5.4.0-beta.3 (#4918)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-02-22 12:23:24 -05:00
Jim Ehrismann
1c7641708e
release v5.4.0-beta.2 (#4868)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-02-16 14:28:16 -05:00
Jim Ehrismann
733bb543c9
Revert "Upgrade to webpack@5 (#4725)" (#4872) 2022-02-16 09:14:14 -05:00
Roman
d656a9e289
Upgrade to webpack@5 (#4725)
* attempt to upgrade webpack@5 and all relevant packages to latest version -- part 1

Signed-off-by: Roman <ixrock@gmail.com>

* debugging webpack@5 usage -- part 1

Signed-off-by: Roman <ixrock@gmail.com>

* - attempt to use "react-refresh-typescript" with webpack@5 thingy
- extending getTSLoader() to accept more options from ts-loader

Signed-off-by: Roman <ixrock@gmail.com>

* more fixes, updating webpack loaders

Signed-off-by: Roman <ixrock@gmail.com>

* merge-fixes, using internal webpack@5 asset handlers (type: "asset/*")

Signed-off-by: Roman <ixrock@gmail.com>

* fix: raw-loader / <Icon svg="./*">, updated mocked types for importing resources via webpack

Signed-off-by: Roman <ixrock@gmail.com>

* removing webpack-dev-server, clean up

Signed-off-by: Roman <ixrock@gmail.com>

* fix master-merge conflict

Signed-off-by: Roman <ixrock@gmail.com>

* fix/reverted: use sourceMap for styles

Signed-off-by: Roman <ixrock@gmail.com>

* fix lint

Signed-off-by: Roman <ixrock@gmail.com>

* 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>

* attempt to use webpack-dev-server via node-api -- part 1

Signed-off-by: Roman <ixrock@gmail.com>

* attempt to use webpack-dev-server via node-api -- part 2

Signed-off-by: Roman <ixrock@gmail.com>

* fix: incorrect parsing svg-icon xml-content by <HotbarEntityIcon/>

Signed-off-by: Roman <ixrock@gmail.com>

* fix: more random fixes related to incorrect parsing svg-icon content, added static Icon.isSvg(content: string)

Signed-off-by: Roman <ixrock@gmail.com>

* attempt to fix: "Uncaught (in promise) DOMException: A network error occurred." when loading cluster frame -- part 1

Signed-off-by: Roman <ixrock@gmail.com>

* 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>

* fix: wait lensProxy.listen() to obtain lensProxy.port for webpack-dev-server

Signed-off-by: Roman <ixrock@gmail.com>

* fix lint

Signed-off-by: Roman <ixrock@gmail.com>

* fix unit tests

Signed-off-by: Roman <ixrock@gmail.com>

* reverted auto-formatted imports with 2 lines (.idea/webstorm)

Signed-off-by: Roman <ixrock@gmail.com>

* fix: handle warnings in main-process compilation files

Signed-off-by: Roman <ixrock@gmail.com>

* fix: handle warnings in "renderer" compilation

Signed-off-by: Roman <ixrock@gmail.com>

* fix: move app fonts preloading into html/css files, clean up

Signed-off-by: Roman <ixrock@gmail.com>

* update "webpack@5", "typescript@4.5" in bundled extensions / attempt to fix weird errors in build pipeline:

ERROR in /home/runner/work/lens/lens/src/extensions/npm/extensions/dist/src/common/catalog/catalog-category-registry.d.ts
6:27-35
[tsl] ERROR in /home/runner/work/lens/lens/src/extensions/npm/extensions/dist/src/common/catalog/catalog-category-registry.d.ts(6,28)
      TS1005: ',' expected.

ERROR in /home/runner/work/lens/lens/src/extensions/npm/extensions/dist/src/renderer/components/select/select.d.ts
8:14-28
[tsl] ERROR in /home/runner/work/lens/lens/src/extensions/npm/extensions/dist/src/renderer/components/select/select.d.ts(8,15)
      TS1005: ',' expected.

ERROR in /home/runner/work/lens/lens/src/extensions/npm/extensions/dist/src/renderer/api/catalog-entity-registry.d.ts
8:14-22
[tsl] ERROR in /home/runner/work/lens/lens/src/extensions/npm/extensions/dist/src/renderer/api/catalog-entity-registry.d.ts(8,15)
      TS1005: ',' expected.

Signed-off-by: Roman <ixrock@gmail.com>

* fix: handle errors in bundled extensions compilation process

Signed-off-by: Roman <ixrock@gmail.com>

* fix: "webpack" not found in production

Signed-off-by: Roman <ixrock@gmail.com>

* 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>

* apply HMR at least for css/styles and use manual page reload on app/scripts change

Signed-off-by: Roman <ixrock@gmail.com>

* use `react-refresh-typescript` and `@pmmmwh/react-refresh-webpack-plugin` to support HMR in most cases

Signed-off-by: Roman <ixrock@gmail.com>

* responding to comments

Signed-off-by: Roman <ixrock@gmail.com>

* revered extension version in package-lock.json (autoupdated on `make dev`)

Signed-off-by: Roman <ixrock@gmail.com>
2022-02-15 17:04:12 +02:00
Jari Kolehmainen
c46d0036cc
Bundle kubectl 1.23.3 (#4837) 2022-02-10 09:38:21 -05:00
Jari Kolehmainen
e72c9ff110
helm v3.7.2 (#4836)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-02-10 07:29:19 +02:00
Janne Savolainen
9ea3c94c5a
Upgrade injectable to fix observation of asyncComputed when invalidated before ever observed (#4828)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-02-07 14:02:06 +02:00
Jim Ehrismann
0c55fe8452
release v5.4.0-beta.1 (#4825)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-02-04 18:25:33 -05:00
Jim Ehrismann
d44b859c23
release v5.4.0-beta.0 (#4812)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-02-03 16:20:31 -05:00
Jim Ehrismann
5348894585
release v5.4.0-alpha.1 (#4797)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-02-02 11:52:13 -05:00
dependabot[bot]
11c78414a0
Bump @types/react-table from 7.7.8 to 7.7.9 (#4530)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 08:34:48 -05:00
Jim Ehrismann
c1d557aeee
release v5.4.0-alpha.0 (#4780)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-02-01 08:47:03 -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
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
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
dependabot[bot]
10e4416b07
Bump nodemon from 2.0.14 to 2.0.15 (#4519)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 10:41:43 -05:00
Janne Savolainen
4f5a2988cb
Fix infinite render loop in release details (#4710)
* Fix infinite render loop in release details by replacing stateful, UI-triggered releaseStore with reactive async computed

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

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

* Update injectable

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

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

* Remove unnecessary return

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

* Remove empty lines

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

* Allow injection of history

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

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

* Make data required for opening of release details a dependency to make sure it's present

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

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

* Remove dead code

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

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

* Make arriving release values not re-render whole details

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-21 16:29:10 +02:00
Jim Ehrismann
d31ab690c2
Refactor app-preferences-registry to use di (#4671)
* converting app-preferences to use di

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

* address review comments and fix lint

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

* use compact license header

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-01-19 08:54:45 -05:00
dependabot[bot]
f629de8589
Bump marked from 2.1.3 to 4.0.10 (#4695)
* Bump marked from 2.1.3 to 4.0.10

Bumps [marked](https://github.com/markedjs/marked) from 2.1.3 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v2.1.3...v4.0.10)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Upgrading marked types

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-01-18 12:33:36 +03:00
Janne Savolainen
e1a6d4c4a9
Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths 2022-01-10 17:13:20 +02:00
Janne Savolainen
d853898a48
Update injectable
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-10 16:54:04 +02:00
Janne Savolainen
4441d714dd
Fix issue with opening of terminal
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-07 19:29:24 +02:00
Sebastian Malton
4f75acf2b4
Ban circular dependencies (#3547) 2022-01-05 11:35:44 -05:00
dependabot[bot]
b227a86711
Bump got from 11.8.2 to 11.8.3 (#4517)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-05 09:37:14 -05:00
dependabot[bot]
5591f8dca5
Bump dompurify from 2.3.3 to 2.3.4 (#4568)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-05 09:37:01 -05:00
Janne Savolainen
9d33fff906
Cascade different refactorings to eliminate global shared state from app paths
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-05 13:26:49 +02:00
Janne Savolainen
8a78c73e19
Update ogre-tools and async-fn
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-12-27 14:17:37 +02:00
Roman
2d279a6b99
using both sass + modules + tailwind (optional) (#4604)
using sass + css-modules + tailwind for styling, part of #3701
2021-12-23 12:29:36 +02:00
Sebastian Malton
f8fa33ec8c
Upgrade to latest version of @typescript-eslint/* pkgs (#4576)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-12-20 07:18:01 +03:00
Janne Savolainen
a711499bb6
Update ogre-tools for improved types of withInjectables (#4587) 2021-12-17 10:28:26 -05:00
Janne Savolainen
2189679a30
Merge remote-tracking branch 'upstream/master' into make-menu-registry-obsolete
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-12-15 16:14:08 +02:00
Janne Savolainen
0b172de741
Adapt to change in DI to minimize boilerplate
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2021-12-15 15:13:43 +02:00
dependabot[bot]
f61563c99f
Bump postcss from 8.3.11 to 8.4.5 (#4560)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.11 to 8.4.5.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.11...8.4.5)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-14 07:32:39 +02:00
Sebastian Malton
25f4a1f3ba
Upgrade mock-fs to v5 (#4537)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-12-09 14:35:49 +03:00
dependabot[bot]
889a4d5080
Bump @testing-library/jest-dom from 5.15.0 to 5.16.1 (#4516)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.15.0 to 5.16.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.15.0...v5.16.1)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-08 15:55:14 +03:00
dependabot[bot]
7965649521
Bump @types/js-yaml from 4.0.4 to 4.0.5 (#4509)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-06 18:25:15 -05:00
dependabot[bot]
09a4595877
Bump playwright from 1.15.2 to 1.17.1 (#4508)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-06 18:24:54 -05:00
dependabot[bot]
2622692a26
Bump sass from 1.43.4 to 1.44.0 (#4507)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-06 14:05:09 -05:00
dependabot[bot]
0fb820994c
Bump xterm from 4.14.1 to 4.15.0 (#4510)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-06 14:04:12 -05:00
Janne Savolainen
7ed50f83fc
Add breadcrumbs to removal of kube objects, but also discuss about general improvements (#4282)
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Co-authored-by: Janne Savolainen <janne.savolainen@houston-inc.com>
Co-authored-by: Mikko Aspiala <mikko.aspiala@houston-inc.com>
2021-12-06 13:05:05 -05:00
dependabot[bot]
7973f4bce2
Bump @types/webpack from 4.41.31 to 4.41.32 (#4499)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-03 14:33:05 -05:00
dependabot[bot]
9aadb721c9
Bump webpack-dev-server from 3.11.2 to 3.11.3 (#4498)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-03 12:49:52 -05:00
dependabot[bot]
4f291ad077
Bump moment-timezone from 0.5.33 to 0.5.34 (#4489)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-03 11:50:05 -05:00
dependabot[bot]
122f14f32b
Bump react-material-ui-carousel from 2.3.5 to 2.3.8 (#4491)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-03 11:49:57 -05:00
dependabot[bot]
39955b623f
Bump sharp from 0.29.2 to 0.29.3 (#4495)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-03 08:59:25 -05:00
dependabot[bot]
8055ba261b
Bump @types/url-parse from 1.4.4 to 1.4.5 (#4494)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-12-03 08:59:18 -05:00
dependabot[bot]
ca549e0577
Bump @types/lodash from 4.14.176 to 4.14.177 (#4487)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-02 16:49:16 -05:00
dependabot[bot]
851ad0e36b
Bump @types/fs-extra from 9.0.1 to 9.0.13 (#4474)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-02 16:09:48 -05:00
dependabot[bot]
1c16b697ae
Bump joi from 17.4.2 to 17.5.0 (#4486)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-12-02 16:09:38 -05:00