1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-19 21:37:13 +03:00
Commit Graph

198 Commits

Author SHA1 Message Date
Jari Kolehmainen
e0c0e40b02
Disable webpack minimize (#2618)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-26 14:35:38 +03:00
Sebastian Malton
bcdc0243f4
Support non-ascii characters in entity names (#2610)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-26 08:58:51 +03:00
Jari Kolehmainen
f4211d1be7
Use generated background color for hotbar icons (#2608)
* use generated background color for hotbar icons

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

* style fixes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-23 17:25:04 +03:00
dependabot[bot]
2b6f926b38
Bump type-fest from 0.18.0 to 1.0.2 (#2541)
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 0.18.0 to 1.0.2.
- [Release notes](https://github.com/sindresorhus/type-fest/releases)
- [Commits](https://github.com/sindresorhus/type-fest/compare/v0.18.0...v1.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-23 08:45:20 -04:00
dependabot[bot]
790df3e6e6
Bump react-beautiful-dnd from 13.0.0 to 13.1.0 (#2599)
Bumps [react-beautiful-dnd](https://github.com/atlassian/react-beautiful-dnd) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/atlassian/react-beautiful-dnd/releases)
- [Changelog](https://github.com/atlassian/react-beautiful-dnd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/atlassian/react-beautiful-dnd/compare/v13.0.0...v13.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-23 15:04:28 +03:00
Jari Kolehmainen
f543fc3ba1
Allow nodemon restart via rs<enter> (#2588)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 15:12:01 +03:00
dependabot[bot]
8d375b2d24
Bump @types/http-proxy from 1.17.4 to 1.17.5 (#2579)
Bumps [@types/http-proxy](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/http-proxy) from 1.17.4 to 1.17.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/http-proxy)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 08:08:48 -04:00
Jari Kolehmainen
da8cc889c4
Hotbar command palette + switching (#2552)
* fix initial hotbar not showing

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

* hotbar command palette + switching

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

* lint fix

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

* add clickable index to switcher

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

* fixes

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

* cleanup

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

* cleanup

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

* refactor

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

* fix typo

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

* fixes

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

* remote notifications

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

* fix add to hotbar

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

* don't show remove-from-hotbar on catalog context menu

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

* fix bad merge

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

* fix bad merge

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

* fix bad merge

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 10:07:14 +03:00
Jari Kolehmainen
d0712b3c32
Use productName from package.json (#2580)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 07:13:29 +03:00
Jari Kolehmainen
b2a570ce28
Revert "Increase npm version to 7.9 (#2466)" (#2583)
This reverts commit 7970b11fe7.
2021-04-21 16:29:18 +03:00
Jari Kolehmainen
05a3494acb
Don't bundle extension with eula on default build (#2542) 2021-04-20 09:35:37 -04:00
Sebastian Malton
7970b11fe7
Increase npm version to 7.9 (#2466)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-20 09:27:46 -04:00
Arthur Knoepflin
52ebcc4fdb
Add ability to configure the locale timezone (#2523) 2021-04-20 09:26:52 -04:00
dependabot[bot]
400a348c0d
Bump @testing-library/jest-dom from 5.11.5 to 5.11.10 (#2540)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.11.5 to 5.11.10.
- [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.11.5...v5.11.10)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 13:27:38 +03:00
dependabot[bot]
fa531067b2
Bump marked from 1.2.7 to 2.0.3 (#2506)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-15 10:17:14 -04:00
pashevskii
ec9c47752f
YAML Templates in Create Resource dock tab (#2327)
Co-authored-by: Pavel Ashevskiy <pavel.ashevskiy@ifellow.ru>
2021-04-15 08:19:54 -04:00
Jari Kolehmainen
2bba0d578b
Release v5.0.0-alpha.1 (#2514)
* v5.0.0-alpha.1

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

* correct version

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

* azure fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-12 20:45:10 +03:00
Jari Kolehmainen
2dd814181b
Publish binaries to s3 bucket (#2513)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-12 17:49:32 +03:00
dependabot[bot]
11805f6e13
Bump electron-builder from 22.7.0 to 22.10.5 (#2480)
Bumps [electron-builder](https://github.com/electron-userland/electron-builder) from 22.7.0 to 22.10.5.
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/compare/v22.7.0...v22.10.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 17:31:54 +03:00
Jari Kolehmainen
9f065a209f
Electron 9.4.4 (#2472)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-12 09:48:57 +03:00
Jari Kolehmainen
99a464c61d
Catalog & Hotbar - initial groundwork (#2418)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-09 09:11:58 +03:00
dependabot[bot]
e18a041b13
Bump ansi_up from 4.0.4 to 5.0.0 (#2323)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-08 13:43:01 -04:00
dependabot[bot]
85a0197029
Bump ace-builds from 1.4.11 to 1.4.12 (#2071)
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds) from 1.4.11 to 1.4.12.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases)
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/ChangeLog.txt)
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.4.11...v1.4.12)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-08 09:58:45 -04:00
dependabot[bot]
4807a193f1
Bump @testing-library/react from 11.1.0 to 11.2.6 (#2416)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 11.1.0 to 11.2.6.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.1.0...v11.2.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-08 09:58:07 -04:00
Alex Andreev
da196387b8
Revert "Wrapping ReactSelect styles into CacheProvider (#2365)" (#2419)
This reverts commit 69200b50c7.

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-31 10:23:43 -04:00
Sebastian Malton
503a49261e
Fix unit tests and make tests fail if a promise rejects after the test harness is finishes (#2034) 2021-03-30 10:14:05 -04:00
Alex Andreev
69200b50c7
Wrapping ReactSelect styles into CacheProvider (#2365)
* Wrap app into emotion CacheProvider to isolate styles

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

* Fix CacheProvider key

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

* Moving CacheProvider into more specific components

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

* Align @emotion/react & @emotion/cache version with ones inside react-select

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

* Covering more components with CacheProvider

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

* Changing emotion versions a bit more

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

* Moving CacheProvider into bootstrap

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

* Updating react-select types

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

* A bit of cleaning up types

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

* Specifying types a bit more

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

* Fix gradients in namespace selector

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

* Importing types separately

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

* Using generic NonceProvider in bootstrap

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-30 12:05:41 +03:00
Sebastian Malton
498c7defe9
release v4.2.0-rc.3 (#2400)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-29 11:28:13 -04:00
Sebastian Malton
34712dd51f
release v4.2.0-rc.2 (#2378)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-24 10:22:35 -04:00
Sebastian Malton
b066fb3527
release v4.2.0-rc.1 (#2339)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-18 10:28:06 -04:00
Roman
aedcc6d70e
Persist local-storage in external json-file (#2279) 2021-03-18 08:36:34 -04:00
Alex Andreev
5c373a886c
Navigation menu in Preferences (#2304) 2021-03-15 08:57:19 -04:00
Sebastian Malton
7d1b5e4627
Release 4.2.0-beta.1 (#2318)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-12 10:29:29 -05:00
Alex
1b0f56f417
VSCode launch configurations for debugging (#2281)
* Add configuration for debugging integration tests

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Add launch configuration for debugging main process

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Continue polishing debug configurations

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Remove unnecessary dependency

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Add debug configuration for unit tests + cleanup vscode tasks

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Update src/renderer/bootstrap.tsx

Add `await` keyword to debugger attachment

Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Update src/renderer/bootstrap.tsx

Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Use existing  variable to wait for chrome debugger attachment

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Update src/renderer/bootstrap.tsx

Use available helper function instead of raw promise

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Import delay utility

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Move async function to async context (attaching debugger)

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

Co-authored-by: Alex Culliere <alozhkin@mirantis.com>
Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-03-09 17:57:55 +02:00
Sebastian Malton
e69d008d59
Update copyright year (#2286)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-05 12:26:58 -05:00
Sebastian Malton
d9daa94c61
Release 4.2.0-alpha.1 (#2285) 2021-03-05 12:26:36 -05:00
Sebastian Malton
1470103fd4
Add lens:// protocol handling with a routing mechanism (#1949)
- Add lens:// protocol handling with a routing mechanism

- document the methods in an extension guide

- remove handlers when an extension is deactivated or removed

- make sure that the found extension when routing a request is currently enabled (as a backup)

- added documentation about the above behaviour to the guide

- tweaked the naming convention so that it is clearer that the router uses extension names as not IDs (which currently are folder paths)

- Convert the extension API to use an array for registering handlers

- switch design to execute both main and renderer handlers simultaneously, without any overlap checking

- change open to be a dev dep

- improve docs, export types for extensions, skip integration tests

- switch to event emitting renderer being ready

- Add logging and fix renderer:loaded send to main

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-25 09:32:40 -05:00
Jari Kolehmainen
e87bb850fb
Bump master version to v4.2.0-alpha.0 (#2184)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 19:30:18 +02:00
dependabot[bot]
4d6cba4741
Bump xterm from 4.6.0 to 4.10.0 (#2072)
Bumps [xterm](https://github.com/xtermjs/xterm.js) from 4.6.0 to 4.10.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.6.0...4.10.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-18 08:36:29 +02:00
Jari Kolehmainen
8692bdefa2
Release v4.1.0 (#2162)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-16 19:25:38 +02:00
Jari Kolehmainen
1e5d682b9b
Release v4.1.0-rc.2 (#2154)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-15 11:29:04 +02:00
Jari Kolehmainen
557d96d484
Handle suspend/resume error from watch stream read (#2136)
* handle suspend/resume error from stream read

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

* add missing types

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-12 16:37:41 +02:00
Jari Kolehmainen
f7f2d445a1
Release v4.1.0-rc.1 (#2129)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-12 07:35:12 +02:00
Jari Kolehmainen
e3e0b272bc
Release v4.1.0-beta.2 (#2106)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-09 19:52:21 +02:00
Roman
741973dd29
Fix: export Dialog to extensions-api (#2105)
Signed-off-by: Roman <ixrock@gmail.com>
2021-02-09 17:33:27 +02:00
Jari Kolehmainen
035dd470ef
Refactor watches to use native k8s api (#2095)
* fix lint

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

* fixes & refactoring

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

* fix lint, micro-refactoring

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

* more refactoring, clean up, responding to comments

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

* fix: remove extra check for cluster.allowedApi from processing buffered watch-api events

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

* refactoring, detaching NamespaceStore from KubeObjectStore

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

* fix: wait for contextReady in NamespaceStore

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

* refactoring & fixes

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

* fix lint

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

* fixes: reloading context stores on NamespaceSelect-change

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

* optimize loading all resources when "all namespaces" selected -> single request per resource (when have rights)

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

* use native k8s api watches

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

* retry watch when it makes sense

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

* workaround for browser connection limits

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

* cleanup

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

* cleanup

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

* use always random subdomain for getResponse

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

* resubscribe stores on contextNamespace change

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

* fix

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

* modify watch event before calling callback

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

Co-authored-by: Roman <ixrock@gmail.com>
2021-02-09 15:31:15 +02:00
Jari Kolehmainen
6ded5e73fa
Release v4.1.0-beta.1 (#2101)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-09 13:09:50 +02:00
Lauri Nevala
a0e24e0a4d
In-app survey extension (#1945)
* Initial in-app survey implementation

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Add surveyId fetching and store integration

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Add empty line

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Fix typos

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Use async version of machineId + refactoring

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Update preferences hint text

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-04 18:22:22 +02:00
Jari Kolehmainen
f56969a64b
Fix snap packaging (#2081)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-04 10:29:35 +02:00
Jari Kolehmainen
2c99cd0429
Release v4.1.0-alpha.2 (#2064)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-03 18:24:12 +02:00