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

2726 Commits

Author SHA1 Message Date
Sebastian Malton
485f213461
Remove duplicate 'Controlled by' section on Jobs' details (#5943)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-01 13:22:49 +03:00
dependabot[bot]
f162c8b6eb
Bump @typescript-eslint/parser from 5.30.5 to 5.31.0 (#5899)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-29 14:31:27 -04:00
dependabot[bot]
94f82626e5
Bump webpack from 5.73.0 to 5.74.0 (#5929)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-29 14:31:20 -04:00
Janne Savolainen
af4b74d9bd
Open application only if new update is available when using tray to check for updates (#5948)
* Prevent opening of application if no new updates were downloaded when checking for updates using tray when application window is closed

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

* Fix getting initial value of sync box

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

* Tweak naming of variable

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-07-29 15:55:16 +03:00
dependabot[bot]
a68ce2b2be
Bump ts-node from 10.8.1 to 10.9.1 (#5871)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 16:35:38 -04:00
dependabot[bot]
ccd630154f
Bump playwright from 1.23.4 to 1.24.1 (#5915)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 16:34:49 -04:00
Alex Andreev
5ddd8e8846
Fine-tune styles of Extensions page (#5921) 2022-07-28 16:34:06 -04:00
Sebastian Malton
feb2859b5d
Fix Badge.props.expandable's default being switched to false (#5911)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-07-28 13:11:32 -07:00
Janne Savolainen
d78d009d41
release v6.0.0 (#5935)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-07-28 14:42:14 +03:00
Janne Savolainen
da1f975ccc
release v6.0.0-alpha.1 (#5933)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-07-28 10:18:02 +03:00
Janne Savolainen
e682c7de45
Fix editing of kube resource (#5906) 2022-07-27 11:44:11 -04:00
Jim Ehrismann
b94672b5a8
revert node-pty to stable version (#5916) 2022-07-27 10:02:27 -04:00
Sebastian Malton
e4b33ce960
Increase timeout for macos build pipeline (#5913) 2022-07-27 08:02:48 -04:00
Alex Andreev
e334a6aeda
Adding more control over extension preferences page title (#5901)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-07-27 14:05:55 +03:00
stewoe
392d548bf0
Set focus on port field when port-forward-dialog opens (#5908)
Signed-off-by: Stefan Woehrer <stefan.woehrer@lean-coders.at>

Co-authored-by: Stefan Woehrer <stefan.woehrer@lean-coders.at>
2022-07-27 14:03:58 +03:00
Janne Savolainen
a12b94405a
Resolve kube object status texts again on re-render to make it look like it's reactive (#5875)
* Make tests for kube object status icon more realistic

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

* Start resolving kube object status texts on each re-render to mimic reactivity

Note: This is done due the current implementation exposed in Extension API expects it to work so. However, this is bad.

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

* Switch to using existing implementation for isDefined

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-07-27 09:21:38 +03:00
Sebastian Malton
f61330611e
Remove global shared state to fix unit tests (#5889) 2022-07-26 08:55:13 -04:00
Janne Savolainen
bedc440d42
Fix opening of release details (#5850)
* Make sure release details are updates when opening details

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

* Relax filtering of resources to prevent crashing when release has installed resources in another namespace

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

* Add Open Closed Principle compliant way to introduce global overrides without modification in getDiForUnitTesting

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

* Rework helm release details to fix multiple bugs

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

* Remove redundant optional chaining

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

* Simplify code

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-07-26 14:57:46 +03:00
Sebastian Malton
e7e8d1688c
Fix trying to connect to cluster whose entity doesn't exist (#5881)
* Fix trying to connect to cluster whose entity doesn't exist

- If a Cluster is trying to be connected to but there is no associated
  entity then don't try and connect

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

* Revert cleanup

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-07-25 13:12:46 -04:00
Sebastian Malton
91235ca2c6
release 6.0.0-alpha.0 (#5886) 2022-07-25 10:08:55 -04:00
Alex Andreev
811d96eb74
Fix styles for topbar window buttons on linux (#5874)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-07-25 08:55:41 +03:00
Sebastian Malton
f7f41cab79
Fix terminal freezing self and whole app when internet is disconnected (#5870)
- Remove uses to navigator.onLine as not needed and because that value
  cannot be trusted (see several bug reports on chromium)

- Fix infinite loop when socket is not connected in flush

- Add some simple tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-07-25 08:34:54 +03:00
Jim Ehrismann
2a141767df
use intended(?) node-pty version (#5880) 2022-07-22 15:21:09 -04:00
Sebastian Malton
4340f64bfa
Revert "Bump type-fest from 2.14.0 to 2.17.0 (#5864)" (#5882) 2022-07-22 15:20:55 -04:00
Sebastian Malton
4e4690f15f
Fix edit kube resource tab not respecting changes to current draft (#5878) 2022-07-22 12:14:48 -04:00
dependabot[bot]
d8c62fff82
Bump marked from 4.0.17 to 4.0.18 (#5869)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 16:26:32 -04:00
dependabot[bot]
8221ef6f54
Bump jest-mock-extended from 2.0.6 to 2.0.7 (#5866)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 09:02:02 -04:00
dependabot[bot]
0b6865fb2b
Bump concurrently from 7.2.2 to 7.3.0 (#5865)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 09:01:38 -04:00
dependabot[bot]
be9ed13e08
Bump type-fest from 2.14.0 to 2.17.0 (#5864)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 09:01:15 -04:00
dependabot[bot]
888da01592
Bump mobx-react from 7.5.1 to 7.5.2 (#5861)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 12:15:23 -04:00
dependabot[bot]
0ee52457c4
Bump terser from 5.13.1 to 5.14.2 (#5860)
Bumps [terser](https://github.com/terser/terser) from 5.13.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 08:57:10 -07:00
dependabot[bot]
afee784737
Bump typedoc from 0.23.6 to 0.23.8 (#5858)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 09:35:54 -04:00
dependabot[bot]
0b7723f3e7
Bump react-refresh from 0.13.0 to 0.14.0 (#5857)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 09:34:36 -04:00
dependabot[bot]
4c2ce263cd
Bump @swc/jest from 0.2.21 to 0.2.22 (#5856)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 09:34:25 -04:00
Janne Savolainen
f281df1693
Fix installation of helm charts (#5841)
* Relax validator for installing charts

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

* Tweak spacing between words in confirmation dialog

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

* Add mocks for monaco editor and virtualized auto sizer to allow components to be rendered in unit tests

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

* Improve typing for a function

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

* Remove usage of shared global state from a component

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

* Provide a way to unit test usages of storages

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

* Add way to get current value from select in behavioural unit tests

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

* Rework installation of helm charts to get rid of the majority of bugs

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

* Update snapshots

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

* Remove technical test for being covered in behaviours

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

* Split behaviour to smaller pieces

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

* Add tests accidentally removed back

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

* Mark functions causing side effects

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

* Remove behaviour covered by other behaviours

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

* Tweak naming

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

* Remove unused dependency

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-07-20 08:15:27 +03:00
dependabot[bot]
c70788569f
Bump @types/node from 16.11.43 to 16.11.45 (#5854)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.43 to 16.11.45.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 16:53:04 -07:00
dependabot[bot]
3def47d628
Bump jest-environment-jsdom from 28.1.2 to 28.1.3 (#5853)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 12:01:03 -04:00
dependabot[bot]
514c6e5bb7
Bump eslint from 8.19.0 to 8.20.0 (#5848)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 08:43:54 -04:00
dependabot[bot]
4ea76b9e5a
Bump react-refresh-typescript from 2.0.5 to 2.0.7 (#5847)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 08:42:48 -04:00
dependabot[bot]
e3da0ded89
Bump @typescript-eslint/eslint-plugin from 5.29.0 to 5.30.7 (#5846)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 08:42:07 -04:00
Sebastian Malton
81c18a6cad
Add guards to prevent activation errors slipping through (#5845)
* Add guards to prevent activation errors slipping through

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

* Make sure all logging has a message, output less errors when prometheus fails

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

* Improve logging from getPortFromStream

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-07-19 09:05:41 +03:00
Jim Ehrismann
0d2aea0101
removed no longer necessary workaround in resolveAuthProxyUrl() (#5833)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-07-19 08:48:27 +03:00
Piotr Roszatycki
f4b7fea54a
feat: New view for PriorityClasses under Config menu (#5816)
* feat: new view for PriorityClass under Config menu

Signed-off-by: Piotr Roszatycki <piotr.roszatycki@gmail.com>

* Added priorityClassDetailItemInjectable

Signed-off-by: Piotr Roszatycki <piotr.roszatycki@gmail.com>

* Removed uneccessary defensive code

Signed-off-by: Piotr Roszatycki <piotr.roszatycki@gmail.com>
2022-07-19 08:41:07 +03:00
dependabot[bot]
70105a6ef2
Bump dompurify from 2.3.8 to 2.3.10 (#5844)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 13:08:22 -04:00
dependabot[bot]
88818616e8
Bump tailwindcss from 3.1.5 to 3.1.6 (#5842)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 13:01:25 -04:00
Mario Sarcher
94091e93f8
Do not show Version on welcome screen (#5840)
Co-authored-by: k8slens-bot <info@k8slens.dev>
2022-07-18 12:18:37 -04:00
dependabot[bot]
c9773d0314
Bump playwright from 1.23.1 to 1.23.4 (#5839)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 12:03:01 -04:00
dependabot[bot]
98574e69b3
Bump @swc/core from 1.2.210 to 1.2.218 (#5843)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.2.210 to 1.2.218.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/compare/v1.2.210...v1.2.218)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 12:02:45 -04:00
dependabot[bot]
1b9a305ede
Bump esbuild from 0.14.48 to 0.14.49 (#5823)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 10:01:56 -04:00
dependabot[bot]
12e0acf09a
Bump nodemon from 2.0.18 to 2.0.19 (#5822)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 10:01:44 -04:00