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

433 Commits

Author SHA1 Message Date
Mario Sarcher
0f38aa802f
Update main.yml 2020-11-09 16:36:24 +01:00
Mario Sarcher
16c782ee52 oneline the sed command to add a proper title for the typedocs 2020-11-09 16:32:30 +01:00
Mario Sarcher
609aa80bd9
Update main.yml 2020-11-09 16:20:24 +01:00
Mario Sarcher
6187da084f
Update main.yml 2020-11-09 15:57:47 +01:00
Mario Sarcher
a2dabdea1c Output nodejs version 2020-11-09 15:54:02 +01:00
Mario Sarcher
795f0c3062 User node version 12 2020-11-09 15:50:35 +01:00
Mario Sarcher
f5a83cdae0 Merge branch 'documentation-typedocs' of https://github.com/lensapp/lens into documentation-typedocs
# Conflicts:
#	.github/workflows/main.yml
2020-11-09 15:43:44 +01:00
Mario Sarcher
117b6ac07c Install yarn packages to generate typedocs 2020-11-09 15:43:17 +01:00
Mario Sarcher
9beb689ed0 Merge branch 'documentation-typedocs' of https://github.com/lensapp/lens into documentation-typedocs
# Conflicts:
#	.github/workflows/main.yml
2020-11-09 15:32:56 +01:00
Mario Sarcher
f7bb1b9d22 Ignore node engines in case of typedocs generation 2020-11-09 15:32:21 +01:00
Mario Sarcher
270944118c Merge branch 'documentation-typedocs' of https://github.com/lensapp/lens into documentation-typedocs
# Conflicts:
#	.github/workflows/main.yml
2020-11-09 15:25:57 +01:00
Mario Sarcher
991ea3178d Use node version 12 2020-11-09 15:12:11 +01:00
Mario Sarcher
a3f1e63c1c Use node version 12 2020-11-09 15:08:16 +01:00
Mario Sarcher
5f23896114 Add typedocs generation (initial commit) 2020-11-09 14:56:51 +01:00
chh
15030f5ce9
Remove PR auto labler (#1272)
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2020-11-09 11:58:20 +02:00
Roman
94ac081588
Extensions api fixes (#1233)
* fix: create extension instance only when enabled

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

* mark extension.isEnabled with private modifier

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

* try-catch errors for extension.disable()

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

* fixes & refactoring

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

* make ext.isBundled non optional

Signed-off-by: Roman <ixrock@gmail.com>
2020-11-07 18:56:26 +02:00
Jari Kolehmainen
1b71106ed5
Docs: extension common capabilities (#1259)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-06 16:50:11 +02:00
Lauri Nevala
b5cef916a2
Docs: Extension Anatomy (#1265)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-06 16:34:48 +02:00
chh
ea155de6e4
Docs: extension testing (#1264)
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2020-11-06 16:29:43 +02:00
Miska Kaipiainen
c6acc0d7f2
New Documentation: Contributing section (#1266)
Signed-off-by: Miska Kaipiainen <miska.kaipiainen@gmail.com>
2020-11-06 15:39:02 +02:00
Alex Andreev
2197e5e53d
Renaming theme .json files (#1256)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-06 15:30:55 +03:00
Jari Kolehmainen
e0e4415040
Docs: enable syntax highlight for code blocks (#1254)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-06 12:37:28 +02:00
Mario Sarcher
880302928d
Merge pull request #1248 from pauljwil/cluster-settings
Reworked Clusters/Settings
2020-11-06 08:53:56 +01:00
Paul Williams
e3484d2ecf Reworked and added screenshots to clusters/settings.md and reworked first sentence of clusters/removing-clusters.md 2020-11-05 16:22:06 -08:00
Jari Kolehmainen
f8ae8cc53d
Restructure docs menu (#1235)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-05 17:30:49 +02:00
Mario Sarcher
3bc45218c1
Documentation (MKDOCS) (#1230)
Co-authored-by: Steve Richards <srichards@mirantis.com>
Co-authored-by: Mario Sarcher <msarcher@mirantis.com>
Co-authored-by: steve richards <steve.james.richards@gmail.com>
Co-authored-by: Paul Williams <pawilliams@mirantis.com>
Co-authored-by: pauljwil <pauljwil@gmail.com>
2020-11-05 16:38:56 +02:00
pashevskii
d074e0499f
Restart deployment (#1175)
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>
2020-11-05 10:23:14 +03:00
Roman
f9578ba407
UI for enabling/disabling extensions (#1208)
* Extensions page and menu item

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

* Basic extension list view

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

* Adding get userExtensions filter

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

* Using WizardLayout at extension page

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

* Adding search to extension page

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

* Few style fixes

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

* clean up

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

* added folder-icon to open extensions in finder, refactoring

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

* remove export warnings in dev:main, tooltip.getPosition() fix

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

* refactoring base lens-extension.ts, added `isBundled` flag

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

* added enabled/disable buttons

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

* auto enable/disable extensions -- part 1

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

* auto enable/disable extensions -- part 2

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

* auto enable/disable extensions -- part 3

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

* auto enable/disable extensions -- part 4

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

* refactoring & fixes

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

* fix: use page-layout with fullsize viewport

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

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-04 19:25:36 +02:00
Lauri Nevala
d5214e47c1
Release v4.0.0-alpha.4 (#1224)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-04 17:16:48 +02:00
Sebastian Malton
02b9ac6b8b
Add @types/node to devDeps for npm extension (#1217)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-04 15:44:24 +02:00
chh
88a550fbda
Add if to only run labler on lens own repo but not fork (#1221)
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2020-11-04 15:43:17 +02:00
Sebastian Malton
d7c7593c0d
Add CI step to run future extension tests (#1214)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-04 12:49:37 +02:00
pashevskii
0497947159
[BugFix] Chart details are not updated on selecting another chart (#1155)
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>
2020-11-03 18:41:30 +03:00
Alex Andreev
e3354f3b75
Fixing return statements in Pod menus (#1211)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-11-03 16:22:54 +03:00
chh
484de2ec21
Add +/- buttons in scale deployment popup screen (#1191)
* Add @testing-library/jest-dom and @testing-library/react for writing test cases

* Make eslint check __mocks__/*.ts files

* Mock electron.ipcRenderer.on to prevent errors in React compoment test cases

* Mock <Trans /> from @lingui/macro as a component simplely returns children components

* Use optional chaining operator (?.) to avoid TypeError: Cannot read property 'replicas' of undefined

* Add jest-fetch-mock for mocking global.fetch, activate for all test cases in jest.setup.ts

* Add basic tests for <DeploymentScaleDialog /> to ensure it initialises/renders without errors

* Add +/- button for changing desired replicas, and its test cases

* Adjust the styles of +/- buttons container to make sure it aligns with the slider

* Refactor after rebase from master

* Use var defined in vars.scss

* Add flex align-center to slider-container and remove margin-top: -4px

* Use <Icon /> to replace <i/>

* Add flex gaps to plus-minus-container

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2020-11-03 20:30:36 +08:00
Jari Kolehmainen
3ed7d93e91
Load symlinked extension folders (#1207)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-03 08:35:40 +02:00
Jari Kolehmainen
e570f6ac3b
Release v4.0.0-alpha.3 (#1197)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-03 08:05:23 +02:00
Lauri Nevala
14c893d9eb
Add types for analytics-node (#1203)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-02 21:35:48 +02:00
Jari Kolehmainen
7a6f6441af
Expose more apis for KubeObjectListLayout usage (#1194)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-02 19:28:00 +02:00
chh
ab5885f0e1
Add actions/labeler for auto label PRs (#1193)
* Add labler github action for auto labeling of PRs

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>

* Add new label area/ci

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>

* Auto label PR when changes on .azure-pipelines.yml and docs/**/*

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>

* Typo READEME.md > README.md

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
2020-11-02 21:37:14 +08:00
Jari Kolehmainen
c7f77a01f9
Fix UI staleness after network issues (#1192)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-02 14:51:04 +02:00
Roman
32ca885596
License extension (#1174)
* License menu item should come from an extension #1141

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

* fix: expose `Util.openExternal` via extensions-api

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

* move LICENSE back to root

Signed-off-by: Roman <ixrock@gmail.com>
2020-11-02 13:03:00 +02:00
Jari Kolehmainen
da862db0b9
Fix proxy upgrade socket timeouts (#1190)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-02 08:17:08 +02:00
Jari Kolehmainen
70a8982c9f
Add missing kubeObjectDetailItems observable to LensRendererExtension (#1187)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-30 21:49:16 +02:00
Jari Kolehmainen
d23da79538
Expose KubeObjectListLayout to extensions (#1186)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-30 16:25:57 +02:00
Lauri Nevala
f126264d47
Telemetry improvements (#1180)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-10-30 16:09:59 +02:00
Jari Kolehmainen
eb5aca628d
Expose kubeObjectDetailRegistry via extension-api (#1185)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-30 15:57:32 +02:00
Alex Andreev
20e26f3206
Status bar visual fixes (#1182)
* Status bar improvements

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

* Removing animation visibility delay

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-30 15:16:26 +03:00
Alex Andreev
c5298548cb Replace xs to smallest className
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-30 15:13:52 +03:00
Alex Andreev
924cf14fd5 Removing animation visibility delay
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-30 13:05:50 +03:00