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

779 Commits

Author SHA1 Message Date
Jari Kolehmainen
af8eaf9742 tweak integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-29 14:35:58 +02:00
Jari Kolehmainen
4aa51ae5b2 switch to last active cluster when workspace change
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-29 12:58:58 +02:00
Jari Kolehmainen
b4cd9bd0bf Merge branch 'master' into feature/command-palette 2021-01-29 12:37:58 +02:00
Jari Kolehmainen
d5ba6dfe79 ensure cluster view is active before sending a command
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-29 12:32:14 +02:00
Jari Kolehmainen
92e30ddaa2 fix ClusterManager cluster auto-init
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-29 12:08:37 +02:00
Jari Kolehmainen
1da282444a ipc fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-29 11:40:25 +02:00
Alex Andreev
79234dcbf9
Fix jest window.matchMedia() error warnings (#2037)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-29 08:18:25 +02:00
Jari Kolehmainen
27439907b4
makefile: regenerate node_modules if yarn.lock changes (#2041)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-28 19:03:33 +02:00
Alex Andreev
3640f313b3
Enabling configurable columns for all major tables (#2029)
* Configurable columns in Deployments table

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

* Configurable columns in DaemonSets table

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

* Configurable columns in StatefulSets table

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

* Configurable columns in ReplicaSets table

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

* Configurable columns in Jobs table

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

* Configurable columns in CronJobs table

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

* Configurable columns in Nodes table

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

* Configurable columns in ConfigMaps table

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

* Configurable columns in Secrets table

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

* Configurable columns in ResourceQuota table

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

* Configurable columns in LimitRanges table

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

* Configurable columns in HPAs table

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

* Configurable columns in PodDistributionBudget table

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

* Configurable columns in Services table

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

* Configurable columns in Endpoints table

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

* Configurable columns in Ingresses table

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

* Configurable columns in NetworkPolicies table

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

* Configurable columns in Storage section

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

* Configurable columns in Namespaces table

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

* Configurable columns in Events table

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

* Configurable columns in Apps section

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

* Configurable columns in Access Control section

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

* Configurable columns in CRDs tables

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-28 12:18:45 +03:00
Jari Kolehmainen
e8f4a5448d cleanup CommandRegistry
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-28 07:57:00 +02:00
Jari Kolehmainen
d209914d1c cleanup ipc
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-28 07:53:19 +02:00
Jari Kolehmainen
4129ae9338 fixes from code review
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-28 07:41:59 +02:00
Jari Kolehmainen
a102ebad62
Bundle kubectl 1.18.15 (#2028)
* bundle kubectl v1.18.15

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

* bump kubectl version map

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-27 20:09:11 +02:00
Jari Kolehmainen
e3db77f7ab
Better extensionRoutes.keys() iteration (#2031)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-27 20:05:12 +02:00
Jari Kolehmainen
227a149782
Release v4.1.0-alpha.1 (#2026)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-27 20:04:50 +02:00
Alex Andreev
a157eb03e6
Generic logs view with Pod selector (#1984)
* Adding LogTabStore

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

* Adding Pod selector in logs tab

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

* Refresh containers on pod change

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

* Adding <LogResourceSelector /> tests

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

* Adding LogTabStore tests

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

* Clearn getPodsByOwnerId method

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

* Extracting dummy pods into mock file

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

* Eliminating containers and initContainers from store

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

* Refreshing tab pods if pod amount is changed in store

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

* A bit of cleaning up, fixing tests

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

* Fix lint newline errors

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

* Return getPodsByOwner() method

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

* Rename log tab when pod changes

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-27 17:20:02 +03:00
Jari Kolehmainen
724c6c3265
Fix extension cluster submenu re-render (#1996) (#2027)
* fix extension cluster pages re-render when they are registered as a sub-menu item

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

* lint fix

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

* refactor

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-27 16:15:13 +02:00
Jari Kolehmainen
36bc178972 make tests green
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-26 20:11:45 +02:00
Jari Kolehmainen
28c8946324 workspace edit fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-26 18:04:33 +02:00
Jari Kolehmainen
089d928cb3 Merge branch 'master' into feature/command-palette
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-26 18:04:18 +02:00
Alex Andreev
9191d6bfd9
Always shows .menu table column (#2024)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-26 16:30:26 +03:00
Lauri Nevala
5f19606129
Fix Helm repositories and pod logs integration tests (#2015)
* Fix Helm repository and pod logs integration tests

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

* Return parsed object

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-01-26 13:26:45 +02:00
Jari Kolehmainen
1307ea50fd implement workspace edit
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-26 12:24:27 +02:00
Jari Kolehmainen
3e51d8d32a ipc fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-26 08:46:40 +02:00
Jari Kolehmainen
8a8ce3e692 Merge branch 'master' into feature/command-palette
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-26 07:35:49 +02:00
dependabot[bot]
09dc2790db
Bump make-plural from 6.2.1 to 6.2.2 (#1982)
Bumps [make-plural](https://github.com/eemeli/make-plural/tree/HEAD/packages/plurals) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/eemeli/make-plural/releases)
- [Changelog](https://github.com/eemeli/make-plural/blob/master/packages/plurals/CHANGELOG.md)
- [Commits](https://github.com/eemeli/make-plural/commits/make-plural@6.2.2/packages/plurals)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 13:36:35 -05:00
dependabot[bot]
75f4d0df75
Bump elliptic from 6.5.2 to 6.5.3 (#633)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 13:36:20 -05:00
dependabot[bot]
3a4da87933
Bump marked from 1.1.0 to 1.2.7 (#1976)
Bumps [marked](https://github.com/markedjs/marked) from 1.1.0 to 1.2.7.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.1.0...v1.2.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 13:00:23 -05:00
Jari Kolehmainen
02568443fd add integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-25 19:18:28 +02:00
Jari Kolehmainen
79db7bbbe4
Fix azure pipeline integration test exit code (#1980)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-25 09:33:08 +02:00
Jari Kolehmainen
add376510a ipc fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-25 07:39:16 +02:00
Jari Kolehmainen
e062175343 cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-24 14:36:52 +02:00
Jari Kolehmainen
60f6af4a0a add more commands
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-24 14:24:27 +02:00
Alex
9da349ce42
Display CPU usage percentage with 2 decimal points (#2000)
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>
2021-01-22 16:51:42 +02:00
Jari Kolehmainen
c1a3f6f280 tweak
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-22 15:05:03 +02:00
Jari Kolehmainen
3f158f4a4b fix ipc broadcast to frames from renderer
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-22 15:04:06 +02:00
Roman
f8c111ddd8
Load k8s resources only for selected namespaces (#1918)
* loading k8s resources into stores per selected namespaces -- part 1

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

* loading k8s resources into stores per selected namespaces -- part 2
- fix: generating helm chart id

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

* loading k8s resources into stores per selected namespaces -- part 3

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

* fixes

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

* fixes / responding to comments

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

* chore / small fixes

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

* fixes & refactoring

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

* make lint happy

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

* reset store on loading error

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

* added new cluster method: cluster.isAllowedResource

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

* fix: loading namespaces optimizations

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

* fixes & refactoring

Signed-off-by: Roman <ixrock@gmail.com>
2021-01-22 13:18:46 +02:00
Alex Andreev
a92ed46f0d
Fixing tolerations list layout (#2002)
* Expanding tolerations div width

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

* Adding tolerations table

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

* Fixing tolerations table styles

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

* Adding <PodTolerations/> tests

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

* Add new line at the end of the file for linter

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-22 10:27:54 +03:00
Sebastian Malton
2e2283bcc9
enfore unix line endings and always ending files with line endings (#1997)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-01-21 08:09:41 -05:00
Jari Kolehmainen
f38b307d9e introduce openCommandDialog & closeCommandDialog
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-21 14:57:29 +02:00
Alex Andreev
64be4ee948
Fixing log tab layout colors (#1995)
* Making "since" date visible as bolded text

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

* Fixing colors in log tab elements

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-21 10:38:49 +03:00
Jari Kolehmainen
f54f1c31a4 register shortcut to global menu
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-21 08:56:12 +02:00
Jari Kolehmainen
967fddc603 Merge branch 'master' into feature/command-palette 2021-01-21 07:48:40 +02:00
Alex
55759fb3b8
Add age column to cluster overview (#1970)
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>
2021-01-20 14:31:20 +02:00
Lauri Nevala
1e8359851c
Upgrade shell-env to 3.0.1 (#1994)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-01-20 13:17:16 +02:00
Roman
d8e088f352
fix: chart.digest is the same for all charts and not suited as unique id (#1964)
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-19 14:15:37 +02:00
Jari Kolehmainen
31aa3cb571
Enable default workspace on first boot (#1965)
* enable default workspace on first boot

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

* refactor

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

* use get/set

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-19 06:30:05 +02:00
Sebastian Malton
41e012d83f
do not assume that bitnami is guanteed to be in the helm repo list (#1960)
* do not assume that bitnami is guanteed to be in the helm repo list

* more robust test by checking for added helm repos

Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-01-18 11:23:50 -05:00
dependabot[bot]
487338269a
Bump @types/hapi from 18.0.3 to 18.0.5 (#1963)
Bumps [@types/hapi](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/hapi) from 18.0.3 to 18.0.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/hapi)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 15:03:22 +02:00
Sebastian Malton
080dab0b71
Generate docs only for releases (#1972)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-01-18 09:47:16 +02:00