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

850 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
pauljwil
5dba28ab5e
Rework extensions guides (#1803)
* Edited Stores extensions guide.

Signed-off-by: Paul Williams <pawilliams@mirantis.com>

Co-authored-by: Paul Williams <pawilliams@mirantis.com>
2021-01-15 12:42:38 -05:00
pauljwil
3e6d8fc732
Rework extensions guides (#1802)
* Rework extensions guides

* Edited MobX guide.
* Changed MobX in mkdocs.yml nav.

Signed-off-by: Paul Williams <pawilliams@mirantis.com>

* split line by sentances

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

Co-authored-by: Paul Williams <pawilliams@mirantis.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-01-15 12:41:03 -05:00
pauljwil
3062fbe44a
Fix Electron 9.4 frame ipc bug (#1888) (#1789)
* use pid+frameId

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

* use correct process id

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Paul Williams <pawilliams@mirantis.com>

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-15 12:40:19 -05:00
dependabot[bot]
dfe6d72505
Bump ini from 1.3.5 to 1.3.8 (#1760)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-15 16:12:49 +02:00
Lauri Nevala
0117cecc33
Prevent initializing clusters multiple times (#1950)
* Prevent initializing clusters multiple times

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

* Do not expose intializing to cluster state

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

* Convert initializing to observable and ensure it is set to false after init

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-01-15 16:11:41 +02:00
Alex Andreev
83ed44f670
Adding logs tab bottom toolbar (#1951)
* Adding bottom toolbar to logs tab

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

* Making bottom toolbar responsive

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

* Using generic search input clear button

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

* Fixing log test selectors

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-15 11:34:11 +03:00
Violetta
c48816ca5c
Add support for LimitRange (#1796)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-01-14 11:49:39 +03:00
pashevskii
12c538b0eb
Column filters (#1532)
* Column filters

Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>

* Add showWithColumn property

Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>
2021-01-13 10:38:20 +03:00
Jari Kolehmainen
11595abc93
Fix fill the gaps logic in normalize metrics (#1940)
* fix fill the gaps logic in normalize metrics

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

* fix

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

* fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-12 12:01:06 +02:00
Alex Andreev
b1ab31831f
Fixing multiline logs wrapping (#1938)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-12 09:50:35 +03:00
Alex Andreev
131a6fb410
Getting api by kind when editing an object (#1936)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-11 15:43:13 +03:00
Sebastian Malton
c05fe21c68
gitignore .vscode (#1599)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-01-08 22:20:44 -05:00
dependabot[bot]
bb96511a34
Bump @typescript-eslint/eslint-plugin from 4.0.0 to 4.12.0 (#1912)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.0.0 to 4.12.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.12.0/packages/eslint-plugin)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-08 13:39:45 -05:00
Sebastian Malton
d5467208c4
bump uuid and @types/uuid to 8.3.x (#1913)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-01-08 10:06:29 -05:00
Roman
b547541ea8
fix: events pages renders incorrect tooltip as non-parsed template (#1919)
Signed-off-by: Roman <ixrock@gmail.com>
2021-01-08 17:01:23 +02:00
Jari Kolehmainen
bb45002851
Disable telemetry extension during integration tests (#1916)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-08 16:45:38 +02:00
Jari Kolehmainen
e3ccb9beab
Windows: support only bash for development (#1915)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-08 16:45:11 +02:00
Jari Kolehmainen
da2cc70141
Fix windows tray icon click (#1908)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-08 16:44:33 +02:00
Sebastian Malton
3fc552a466
remove array desctructor of Object.values, which is brittle (#1854)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-01-08 09:41:30 -05:00
dependabot[bot]
9be17582f7
Bump circular-dependency-plugin from 5.2.0 to 5.2.2 (#1656)
Bumps [circular-dependency-plugin](https://github.com/aackerman/circular-dependency-plugin) from 5.2.0 to 5.2.2.
- [Release notes](https://github.com/aackerman/circular-dependency-plugin/releases)
- [Changelog](https://github.com/aackerman/circular-dependency-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aackerman/circular-dependency-plugin/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-07 14:13:59 -05:00
Jari Kolehmainen
02bc210f56
Catch xtermjs fit error (#1907)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-07 13:06:23 +02:00
MIchael Bowen
2543e4aec7
Fix encoding typo in ClusterAccessibleNamespaces component title (#1901)
Signed-off-by: mbowen <mbowen@blackrock.com>
2021-01-07 09:00:32 +02:00
Hannes Wüthrich
c4eb9ba39a
Fix typo in prometheus ingress metrics (#1896)
Signed-off-by: Hannes Wüthrich <hannes.wuethrich@zebbra.ch>
2021-01-07 07:29:12 +02:00
Jari Kolehmainen
8823b1913f
Reset stores before loading them (#1897)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-07 07:25:00 +02:00
Lauri Nevala
8d2d1aecd5
Expose NamespaceSelect component to extensions (#1880)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-01-05 10:52:46 +02:00
Jari Kolehmainen
06d41acc26
Fix Electron 9.4 frame ipc bug (#1888)
* use pid+frameId

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

* use correct process id

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-04 14:16:35 +02:00
dependabot[bot]
8c70e055ee
Bump node-notifier from 8.0.0 to 8.0.1 in /extensions/node-menu (#1835)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 16:54:57 +02:00
dependabot[bot]
30d86236b4
Bump node-notifier from 8.0.0 to 8.0.1 in /extensions/telemetry (#1836)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-30 16:54:39 +02:00