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

1277 Commits

Author SHA1 Message Date
Jari Kolehmainen
ebde8c7004
fix rc build channel (#3139)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-22 08:30:15 +03:00
Sebastian Malton
6b464a873b
Mark typed-emitter as a dependency for @k8slens/extensions (#3138)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-21 14:14:48 -04:00
Sebastian Malton
132015e900
Publish new npm package (#3137)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-21 12:33:38 -04:00
Jari Kolehmainen
31b48fe245
Fix set of cluster entity icon src (#3134)
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-06-21 11:09:21 -04:00
Sebastian Malton
20d6e50cb7
Always open main window if lens:// are routed (#3130) 2021-06-21 09:27:11 -04:00
Jim Ehrismann
d53aa20201
renderer extension guide updates for 5.0 (WIP) (#3118)
done up to appPreferences

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-06-21 09:26:52 -04:00
Alex Andreev
e2e3e371a8
Highlight community slack channel link (#3127)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-06-21 15:42:14 +03:00
Jari Kolehmainen
55a41d613f
remove login layout (#3122)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-21 15:37:41 +03:00
Sebastian Malton
4cd25caca8
Switch sync buttons on windows (#3110)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-21 08:37:05 -04:00
Jari Kolehmainen
a21ede72c8
expose MainLayout to extensions (#3125)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-21 15:26:17 +03:00
Sebastian Malton
723ba1df37
Set grouping on local settings (#3109)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-21 11:01:48 +03:00
Alex Andreev
d9ceb8fa08
General catalog category (#3106)
* Adding General Entities and General Category

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

* Usign material icons for general entities

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

* Setting background for hotbar icon explicitly

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

* Adding Catalog initially to first hotbar

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

* Tuning hotbar store tests

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

* Changing type from GeneralEntity to General

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

* Search for catalog hotbar item in tests

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

* Removing Catalog link from bottom bar

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

* Waiting for hotbar catalog entity

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

* Opening cluster list by data-testId

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

* Replacing types on interfaces

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

* Fixing integration tests

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

* Adding general entities throught initializers

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

* Removing icon refs from CatalogEntitySpec

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-06-21 10:59:54 +03:00
Jari Kolehmainen
48e278c71b
Rename PageLayout to SettingLayout (#3123)
* rename PageLayout to SettingLayout

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

* expose to extensions

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-06-21 10:50:40 +03:00
Sebastian Malton
adf1251bbd Fix dependabot.yml reviewers
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-18 15:12:12 -04:00
Sebastian Malton
e30381f1ee Fix dependabot.yml
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-18 15:10:45 -04:00
Sebastian Malton
fd474fcfa3
Depedabot config should be in .github/ (#3113)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-18 15:08:46 -04:00
dependabot[bot]
f6862fc72d
Bump typeface-roboto from 0.0.75 to 1.1.13 (#3003)
Bumps [typeface-roboto](https://github.com/KyleAMathews/typefaces) from 0.0.75 to 1.1.13.
- [Release notes](https://github.com/KyleAMathews/typefaces/releases)
- [Commits](https://github.com/KyleAMathews/typefaces/compare/v0.0.75...v1.1.13)

---
updated-dependencies:
- dependency-name: typeface-roboto
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-18 14:57:52 -04:00
dependabot[bot]
631013d9b7
Bump proper-lockfile from 4.1.1 to 4.1.2 (#3047)
Bumps [proper-lockfile](https://github.com/moxystudio/node-proper-lockfile) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/moxystudio/node-proper-lockfile/releases)
- [Changelog](https://github.com/moxystudio/node-proper-lockfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-proper-lockfile/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: proper-lockfile
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-18 14:57:35 -04:00
mcpappas
008e516715
Use allocatable instead of capacity for node resources. (#2098) 2021-06-18 14:53:29 -04:00
Sebastian Malton
9b04e611a4
Transition workspaces to hotbars (#3079) 2021-06-18 12:05:44 -04:00
Jim Ehrismann
49935a7306
Add migration details for extension api docs (#3074)
* updating extension api docs for 5.0

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* beefed up migration details

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* address review comments

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* updated cluster features docs (#3094)

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* revert extension package-lock.json files again

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-06-18 11:34:16 -04:00
Sebastian Malton
4ff5a722a7
lens:// routing shouldn't ignore intree extensions (#3091)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-18 10:19:13 -04:00
Sebastian Malton
8a0cb2602b
ClusterStore.storedKubeConfigFolder should be usabled everywhere (#3105)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-18 08:44:40 -04:00
Sebastian Malton
7f51e3addd
Make CatalogEntity labels clickable (#3075)
- Transition workspace's to be labels

- Fix migrations to support multiple migrations for the same version

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-18 08:44:28 -04:00
Jari Kolehmainen
d812e28639
update catalog url params on category change (#3102)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-18 14:09:04 +03:00
Mario Sarcher
e9a89f396f
Rename Kubernetes Clusters in Catalog Menu to "Clusters" (#3099)
Signed-off-by: Mario Sarcher <mario@sarcher.de>
2021-06-18 12:58:30 +03:00
Jari Kolehmainen
df2aaa4c85
allow to hide/show catalog list columns (#3098)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-18 12:03:59 +03:00
Jari Kolehmainen
b256475044
allow to search catalog by source (#3097)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-18 11:23:22 +03:00
Jari Kolehmainen
7ba93c9c70
Implement missing weblink add/remove (#3092)
* implement weblink add/remove

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>

* css fix

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

* fix tests

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-18 11:23:01 +03:00
Jari Kolehmainen
74624b1fdf
Fix catalog list icon font size (#3093)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-17 15:53:56 -04:00
Sebastian Malton
eb45f45a7a
Add context menu entry for deleting local clusters (#2923) 2021-06-17 12:19:22 -04:00
steve richards
e47d26e1ce
Use new config structure for versioning feature (#3088)
Signed-off-by: Steve Richards <srichards@mirantis.com>
2021-06-17 13:53:25 +01:00
Lauri Nevala
239a8b5b87
Set correct namespace for the subject when creating new role binding (#3083)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-06-17 15:43:59 +03:00
Alex Andreev
2ab92ec488
Add z-index prop to siblings of <main/> (#3085)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-06-17 15:03:01 +03:00
Lauri Nevala
3206e7d7fd
Catch exceptions when trying to load namespaces from api (#3084)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-06-17 14:59:31 +03:00
Lauri Nevala
54eaaefe62
Do not make watch requests without resourceVersion (#3089)
* Do not make watch requests without resourceVersion

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

* Check resource version from given namespace

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-06-17 14:09:48 +03:00
Sebastian Malton
7988f068cb
release v5.0.0-beta.9 (#3063)
* Revert displayName being first key

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

* release v5.0.0-beta.9

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-17 13:25:24 +03:00
Lauri Nevala
e64f90332e
Add React.Fragment with key property to entity settings navigation (#3087)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-06-17 13:22:52 +03:00
Sebastian Malton
c3c944cd30
Send LensMainExtension.nagivate calls to renderer before navigating (#3082)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-17 12:59:27 +03:00
Lauri Nevala
dc2d7a08d3
Check cluster connected status from cluster.status.phase property (#3078)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-06-17 07:45:46 +03:00
Sebastian Malton
5f6abe3496
Update extensions/**/package-lock.json to v0.0.1 (#3076)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-16 14:21:23 -04:00
steve richards
91b429e25a
Re-enable strict mode in docs vlidation. Bump mkdocs-material version (#3073)
- Re-enable strict mode in the verify docs command now that the latest version of mkdocs-material is available and supports the new Google Analytics layout
- Amend mkdocs config to use the new Google Analytics layout
- Bump to use latest 1.2 version of mkdocs

Note - current issue https://github.com/mkdocs/mkdocs/issues/2457 stops live reload from work in mkdocs 1.2 so developers will need to amend the mkdocs.yml
to pin mkdocs to version 1.1.2

Signed-off-by: Steve Richards <srichards@mirantis.com>
2021-06-16 15:51:36 +01:00
Sebastian Malton
247b00a5a3
Fix height resizing of VirtualList (#3072) 2021-06-16 09:05:24 -04:00
Alex Andreev
a88b9c675e
Catalog menu restyling (#3067)
* Using TreeView for catalog menu

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

* Showing category icons

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

* Fix catalog badges

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

* Removing darker background on Categories group

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

* Set controlled selected prop

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-06-16 12:13:09 +03:00
Jari Kolehmainen
3abb3bdcce
Bring back support for custom cluster icons (#3066)
* revive custom cluster icons

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

* fix borders

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-16 07:12:10 +03:00
Sebastian Malton
42bb2a620a
Fix extensions not having the same version as Lens (#3027)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-15 14:14:03 -04:00
Mario Sarcher
ab6b422547
Adopts landing page according to new catalog features (#3055)
Signed-off-by: Mario Sarcher <mario@sarcher.de>
2021-06-15 15:40:17 +02:00
Alex Andreev
36dab02c34
Fixing resizing anchor highlight (#3056)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-06-15 13:48:23 +03:00
Sebastian Malton
62bc806105
Don't try watching again if credentials have failed (#3039)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-14 09:39:06 -04:00
Sebastian Malton
fa5a54f271
Adding tracking of mainWindow's visibility to ProtocolRouter, open main view on valid lens:// (#3026) 2021-06-14 08:55:45 -04:00