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

505 Commits

Author SHA1 Message Date
Sebastian Malton
4b56ab7c61 Make BaseStore abstract (#1431)
* make BaseStore abstract so that implementers are forced to decide how to store data

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-20 07:43:29 +03:00
pashevskii
4079214dc1 Add Search by Ip to Pod View (#1445)
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>
2020-11-20 07:43:29 +03:00
Jari Kolehmainen
8a3613ac6f fix extensionLoader error on dev environments where renderer might start early (#1447)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-20 07:43:29 +03:00
Alex Andreev
4156f587a7 Moving lastActiveClusterId field into WorkspaceModel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-19 18:59:32 +03:00
Alex Andreev
0d1b2ee68d Clean duplicated ClusterId definition
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-19 18:48:08 +03:00
Alex Andreev
8e9cd7baf1 Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-19 18:36:12 +03:00
Alex Andreev
4e43506577 Remove console.log()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-19 16:04:31 +03:00
Alex Andreev
3fa78b24b1 Merge branch 'master' into show-cluster-on-workspace-switch
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-19 15:56:13 +03:00
Alex Andreev
b8abaf86d9 Adding workspace switch tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-19 15:53:14 +03:00
Jari Kolehmainen
5589a99e7e
Fix TypeError: Cannot read property 'stopServer' of undefined (#1440)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-19 13:48:43 +02:00
Alex Andreev
7ea7ee7a85 Merge branch 'master' into show-cluster-on-workspace-switch 2020-11-19 12:48:21 +03:00
Jari Kolehmainen
5aaacb21f9
Refactor ipc module (#1225)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-19 11:48:13 +02:00
Alex Andreev
07f44f9454 Fix saving last cluster while jumping from tray
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-19 11:31:36 +03:00
Jari Kolehmainen
c4b98534dc
kube-auth-proxy: accept only target cluster hostname (#1433)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-19 08:32:07 +02:00
Alex Andreev
cb13079077 Activate clusters from workspaces page
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-18 16:11:07 +03:00
Alex Andreev
f8841fa0a5 Save and restore lastActiveClusterId
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-18 15:01:36 +03:00
Lauri Nevala
3197e3a1fe
Catch errors when responding from proxy error (#1416)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-18 12:33:53 +02:00
Lauri Nevala
126e1ff7a8
Reorder File menu (#1420)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-18 11:03:38 +02:00
Lauri Nevala
04517148c0
Add computed name property to cluster (#1428)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-18 09:12:11 +02:00
Jim Ehrismann
b0b2a99372
Extension Guides documentation (#1427)
- overview
- main extension guide

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-11-18 09:01:42 +02:00
Lauri Nevala
d19eb57037
Track service start and stop events (#1414)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-18 08:55:57 +02:00
Alex Andreev
d723474684 Merge branch 'master' into show-cluster-on-workspace-switch 2020-11-18 08:41:46 +03:00
Alex Andreev
960bbe6813
Showing colors in logs (#1419)
* Converting ansi values to colored html

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

* Rewriting AnsiUp colors for search overlay

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-18 08:31:36 +03:00
Alex Andreev
6fd0bebdd6
Fixing workspaces adding/editing (#1405)
* Fix creating new workspace

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

* Show not yet enabled workspaces in list

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

* Not showing disabled workspaces

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-17 16:35:59 +03:00
Panu Horsmalahti
7489e5ff7b
Remove make init from the readme (#1417)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-11-17 14:47:28 +02:00
Jari Kolehmainen
5e5bac3264
Cache make build-extensions (#1407)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-17 12:25:27 +02:00
Mario Sarcher
0ab0e56808
Documentation: add new gh-action to manually update the default version of the docs (#1413)
Signed-off-by: Mario Sarcher <msarcher@mirantis.com>

Co-authored-by: Mario Sarcher <msarcher@mirantis.com>
2020-11-17 10:05:25 +00:00
Mario Sarcher
dba4b36e96
Documentation Update: Properly create tags and aliases, add workflow to delete unwanted / old versions (#1355)
Signed-off-by: Mario Sarcher <msarcher@mirantis.com>

Documentation: only create new tag and update alias "latest" on release publish (not for pre-releases), master contains always the docs generated from last master branch commit

Signed-off-by: Mario Sarcher <msarcher@mirantis.com>

Documentation: only create new tag and update alias "latest" on release publish (not for pre-releases), master contains always the docs generated from last master branch commit

Signed-off-by: Mario Sarcher <msarcher@mirantis.com>

Generate pre-release docs until Lens 4.0.0 is GA, see #1408

Signed-off-by: Mario Sarcher <msarcher@mirantis.com>

Co-authored-by: Mario Sarcher <msarcher@mirantis.com>
2020-11-17 10:38:58 +01:00
pauljwil
532b10e357
Reworked remaining docs (#1402)
Signed-off-by: Paul Williams <pawilliams@mirantis.com>
2020-11-17 08:48:24 +02:00
Jari Kolehmainen
246227168a
Release v4.0.0-beta.3 (#1395)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-16 19:31:35 +02:00
Sebastian Malton
25be6401e2
cleanup main side of metrics route for readability (#988)
* cleanup main side of metrics route for readability

* split out ??= for headers

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-16 10:43:53 -05:00
Sebastian Malton
9d6158a620
set "allowJs" to false in tsconfig (#1377)
- None of the .ts files include any of the .js files

- All .js files are either passed to electron-builder or used as config
  files for other programs.

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-16 10:43:22 -05:00
Roman
13dbdac2f2
PageRegistration / PageMenuRegistration fixes & more simplification (#1386)
* PageRegistration & PageMenuRegistration fixes & more simplification, fix #1383

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

* clean up test, deprecate page.routePath

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

* fix: proper `isActive` state matching for page-menu-target to page considering current document location

Signed-off-by: Roman <ixrock@gmail.com>
2020-11-16 15:18:53 +02:00
Jari Kolehmainen
596e60a6f3
Generate extension-api .d.ts and .js files using tsc (#1387)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-16 15:09:16 +02:00
Alex Andreev
d612626801
Adding Extensions item for non-mac menu (#1392)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-16 13:50:32 +03:00
Alex Andreev
d559d5e62a
Exporting active theme to extensions (#1371)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-16 12:10:35 +02:00
techknowlogick
fce05c6cb2
Use latest alpine version (3.12) for shell sessions (#1384)
Signed-off-by: Matti R <matti@mdranta.net>
2020-11-16 12:09:21 +02:00
pauljwil
656797abc7
Resolved conflicts in Your First Extension, Styling, and Color Reference after rebasing from master (#1379)
Signed-off-by: Paul Williams <pawilliams@mirantis.com>
2020-11-16 11:14:33 +02:00
Alex Andreev
f98d11a0be
MInor workspace fixes (#1382)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-15 17:04:21 +03:00
Jari Kolehmainen
59ac1de15d
Fix support extension menu route (#1381)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-14 16:22:29 +02:00
Jari Kolehmainen
55b6edfc2a
Fix PageRegistry.getByPageMenuTarget issue when package name has special chars (#1380)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-14 10:16:40 +02:00
Sebastian Malton
4d3204766b
add retry cap to handleStaticFile to prevent an infitite loop (#1373)
* add retry cap to handleStaticFile to prevent an infitite loop

* 'yarn -> yarn run' for node_module dependencies

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-13 15:45:57 -05:00
Jari Kolehmainen
14425fb14e
Release v4.0.0-beta.2 (#1372)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-13 22:01:36 +02:00
Jari Kolehmainen
0fb859a22a
Default PageRegistration.routePath to path based on id (#1374)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-13 19:37:03 +02:00
Sebastian Malton
648dbfee98
Remove Makefile from all intree extensions (#1312)
* Remove Makefile from all intree extensions

- Makefiles are not really common (rightly so) in JS projects and script
  entries in the package.json are good enough and what they're there
  for.

- Move to using yarn for installing dependencies and running scripts as
  that is what we mostly use for the rest of the project.

- Move from using make syntax to a dedicated script for building and
  testing extensions.

- add jest as extension devDep, go back to using makefile foreach syntax

- add correct exit code

- add yarn check call to install-deps

- add yarn invokation to find deps

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-13 12:32:15 -05:00
Jari Kolehmainen
df0f080380
Simplify pages/menus/registry extension api internal implementation (#1364)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Co-authored-by: Roman <ixrock@gmail.com>
2020-11-13 17:04:39 +02:00
Lauri Nevala
eccc502ef2
Exit pipeline if extensions build or tests fail (#1370)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-13 16:42:34 +02:00
Alex Andreev
d7febf5e89
Docs: fixing typos in styling (#1363)
* Adding dashes -- before variable names

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

* Fixing typos

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-13 15:55:49 +03:00
Alex Andreev
73d50f4695
Fix Landing Page width (#1359)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-13 15:36:45 +03:00
Lauri Nevala
88fb43b73b
Upgrade cache pipeline task (#1366)
* Upgrade cache task

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-13 12:28:04 +02:00