Commit Graph
1372 Commits
Author SHA1 Message Date
Sebastian Malton f2cd0aa8e8 Catch empty string error is parseKubeApi (#3358)
* Catch empty string error is parseKubeApi

- Add more debugging lines

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

* Add some unit tests

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

* Use resolved pathname

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-14 08:48:32 +03:00
Jim Ehrismann 2059034eab remove unused filenamify package (#3371)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-07-14 08:47:06 +03:00
Sebastian Malton c335b0f054 Only create TerminalStore after ThemeStore (#3359)
- Use Proxy for backwards compatability

- Fix a bunch of unit tests that needed all the Singleton's created

- Add comments on the order required for the store migrations

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-13 12:36:46 -04:00
Sebastian Malton 9e363b8d5f Remove win-ca/pem before publish & catch inject error (#3362) 2021-07-13 11:40:52 -04:00
ca1ad425ab Badge: option to show short/full versions of contents (#1397)
* add button to expand and view whole badge contents

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

* revert font changes due to update elsewhere already existing

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

* make expanding icon smaller and not focusable

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

* extended badge content by click, selecting text from label doesn't trigger auto-closing

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

* fix: hover only intercative badges (with extra content)

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

* added common document/selectionchange watcher

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

* lint fixes

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

* Convert Badge to CSS Modules

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

* Align Badge styles across components

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

* Cleaning up

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

* Not closing badge if user started to select text

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

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-13 17:00:11 +03:00
Alex Andreev ebb54facf9 Removing limits and requests from Pod metrics (#3369)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-13 15:58:55 +03:00
Sebastian Malton dfd9843809 Provide better typing for dock tabs (#3340) 2021-07-13 08:44:27 -04:00
Violetta Shakirova c0c1139e3e Fix incorrect CRD casing (#3365)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-07-13 15:35:06 +03:00
Sebastian Malton 5bccc27204 Check for unset pod spec (#3361)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-13 08:51:49 +03:00
Sebastian Malton 485783167d Add SystemName validation to AccessibleNamespaces (#2754)
- Don't validate after a submit

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-12 16:13:24 -04:00
Sebastian Malton c6618bde88 release v5.1.0-beta.1 (#3360) 2021-07-12 15:58:25 -04:00
Jim Ehrismann d0d6233869 ignore Lens's prerelease tag when checking extension compatibility (#3317) 2021-07-12 12:34:34 -04:00
Sebastian Malton 9b2031159d Ignore extensions' clusters when adding to kubeConfigSync (#3313) 2021-07-12 12:05:05 -04:00
Violetta Shakirova 621f5ba0b3 Make node shell image configurable (#3249)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-07-12 11:21:46 -04:00
Sebastian Malton 26fb2e796e Fix not being able to configure non-Lens prometheus settings (#3355)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-12 10:13:11 -04:00
Jari Kolehmainen 50ec37f158 Set res.statusCode before flushing headers (#3353)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-12 10:07:54 -04:00
chh f86360d641 Fix Sentry integration bugs (#3325) 2021-07-12 09:42:51 -04:00
Jari Kolehmainen ff704b5d3d sync activeEntity to cluster renderer (#3323)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-12 09:18:08 -04:00
Violetta Shakirova 538c6c2013 Selecting one namespace at a time (#2919)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-07-12 11:36:26 +03:00
Sebastian Malton 52ab699426 Remove <CubeSpinner> and <AppInit> as both are unused (#3336)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-12 08:45:15 +03:00
dependabot[bot] 3e18b619be Bump jest-mock-extended from 1.0.10 to 1.0.16 (#3341)
Bumps [jest-mock-extended](https://github.com/marchaos/jest-mock-extended) from 1.0.10 to 1.0.16.
- [Release notes](https://github.com/marchaos/jest-mock-extended/releases)
- [Commits](https://github.com/marchaos/jest-mock-extended/commits)

---
updated-dependencies:
- dependency-name: jest-mock-extended
  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>
2021-07-09 18:51:01 -04:00
Jari Kolehmainen b367aed7d2 Fork-ts-checker-webpack-plugin 5.2.1 (#3046) 2021-07-09 17:40:25 -04:00
dependabot[bot] d7db877079 Bump html-webpack-plugin from 4.3.0 to 4.5.2 (#3116)
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 4.3.0 to 4.5.2.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/v4.5.2/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v4.3.0...v4.5.2)

---
updated-dependencies:
- dependency-name: html-webpack-plugin
  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-07-09 17:40:08 -04:00
dependabot[bot] b1f3046736 Bump xterm-addon-fit from 0.4.0 to 0.5.0 (#3112)
Bumps [xterm-addon-fit](https://github.com/xtermjs/xterm.js) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.4...0.5)

---
updated-dependencies:
- dependency-name: xterm-addon-fit
  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-07-09 17:39:43 -04:00
Jari Kolehmainen ad8dc8a7c9 New spinner for cluster connect status page (#3324)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-09 12:19:37 -04:00
Sebastian Malton 77f8ea67bd Cleanup sentry integration (#3315) 2021-07-08 16:57:29 -04:00
chh 05b1a2fc5d Add Sentry to capture exceptions and console.error messages, add a checkbox in preference to enable/disable error reporting (#3252) 2021-07-08 19:22:12 +03:00
Sebastian Malton 3b31dadf19 Fix listing charts failing due to bad versions (#3308) 2021-07-08 11:35:54 -04:00
Sebastian Malton db968b8a5b Fix user-store/5.0.3-beta.1.ts comment (#3311)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-08 16:13:29 +03:00
Sebastian Malton 497e47b277 Automatically sync all kubeConfigPaths (#3227) 2021-07-07 16:29:58 -04:00
Sebastian Malton fe443f462b Fix table columns being hidden after changing any user preference (#3302)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-07 15:48:00 -04:00
Sebastian Malton 17a8044647 Add logging on proxy error (#3303)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-07 09:42:16 -04:00
Alex Andreev f7ad554108 Fixing initial scroll-to-bottom in pod logs (#3281)
* Fixing scroll to bottom in pod logs

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

* Fixing invalidDate error if no timestamp provided

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-07 09:35:40 +03:00
Sebastian Malton a301283adc Fix unhandled exception in visibility handler (#3291)
- If an KubernetesCluster entity is being deleted then the
  catalogEntityRegistry.getById() will return undefined. This leads to
  an unhandled exception in the handler because we tried to read
  apiVersion. This commit changes it so that we get the apiVersion and
  kind from KubernetesCluster class itself

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-07 09:30:07 +03:00
Sebastian Malton b03eb443c9 Await kubeconfigPathP for fish shell args (#3286)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-07 09:20:17 +03:00
dependabot[bot] eca03ddd6f Bump dompurify from 2.0.11 to 2.3.0 (#3282)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.11 to 2.3.0.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.11...2.3.0)

---
updated-dependencies:
- dependency-name: dompurify
  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-07-06 16:39:02 -04:00
Sebastian Malton 0f9f79a8c9 Emit an error on async fromStore (#3285) 2021-07-06 11:05:07 -04:00
Sebastian Malton 803c3a3d34 Unblock subsequent Singleton.createInstance() (#3225)
- Also fix clusters with unknown workspaces

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-06 17:16:04 +03:00
Sebastian Malton c4623c424d Formalize the to/from Store rules for UserStore (#2708)
- Explicitly don't save to disk if the value in the store is the same as
  the default. That way we can change the defaults between versions

- Calculate the PreferencesModel on demand

- In the future, when we turn on strict null checking, we can enforce
  that the UserStore expects the correct types too

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

simplify default check, remove defaults from UserStore

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-06 09:14:13 -04:00
Sebastian Malton baef6944aa Reduce transition duration for <Tab>'s (#3167)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-06 08:42:59 -04:00
Jari Kolehmainen 30bd552322 Run integration tests against real build (#3278)
* run integration tests against real build

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

* add author.email to package.json

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-06 15:38:49 +03:00
steve richards ad52ec1511 Add new workflow to automatically add new issues and prs to the lens project (#3059)
Signed-off-by: Steve Richards <srichards@mirantis.com>
2021-07-06 09:54:45 +01:00
Sebastian Malton b2836eb57a Don't clear searchValue on CommandDialog onBlur (#3172)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-06 11:01:11 +03:00
Jari Kolehmainen 8ac3203924 v5.0.2 (#3275)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-06 00:12:57 +03:00
Jari Kolehmainen e60c6905da Fix problem with in-tree extension load (#3274)
* Revert "don't set prerelease version info when non-prerelease (#3261)"

This reverts commit 3f01abbddf.

* include fix from #3256

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-05 23:17:35 +03:00
Jari Kolehmainen 3138307895 Release v5.0.1 (#3269)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-05 18:16:20 +03:00
Jari Kolehmainen eb37ae636e Revert "set build.appId (#3264)" (#3268)
This reverts commit 1091eca464.
2021-07-05 17:14:35 +03:00
Jari Kolehmainen 1091eca464 set build.appId (#3264)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-05 16:03:02 +03:00
Jari Kolehmainen e3a2922ddc remove rc mentions because we don't use rc anymore (#3262)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-05 13:09:39 +03:00
Sebastian Malton 4cae802a08 Don't clear cluster icon on cancel (#3191)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-05 11:05:40 +03:00