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

1137 Commits

Author SHA1 Message Date
Jari Kolehmainen
9d6bed8786
Build and release amd64 & arm64 together (macOS) (#3700)
* build and release amd64 & arm64 together

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

* fixes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-31 11:00:27 +03:00
Jari Kolehmainen
56bd8cd0b1
Support MacOS arm64 build (#3682)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-08-26 14:46:46 -04:00
Sebastian Malton
59933507e4
Upgrade to electron 12 and Node 14 (#3572)
Upgrade to electron 12 and Node 14

- Compute cluster ID for tests
- Switch to temporary appData path while testing

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

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-26 12:13:31 -04:00
Alex Andreev
e2812a5bcd
Fixing cropped long namespace names (#3678)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-08-26 15:07:01 +03:00
Alex Andreev
c508596ded
Fix: font-size jumping in Catalog sidebar (#3667)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-08-24 16:38:38 -04:00
Sebastian Malton
5f89b3e31f
Fix filtering deprecated charts (#3635) 2021-08-24 08:29:36 -04:00
chh
54ac311933
Add WelcomeBanner.width extension API (#3663)
* Allow to add WelcomeBannerRegistration.width and use that to caculate to width of Banner container

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>

* Export at const

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-08-24 10:05:08 +03:00
Alex Andreev
7b48ab0279
Do not copy if title isn't of type 'string' (#3657)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-08-23 15:27:54 +03:00
chh
d3ce43e73d
Add 'welcome banner' extension API (#3656)
* Add react-material-ui-carousel

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>

* Add welcomeBanners extension api

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-08-23 14:31:24 +03:00
Sebastian Malton
902224a6dc
Always display a Node's taints' values (#3646)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-19 13:40:16 -04:00
Panu Horsmalahti
519d950146
Display top bar in welcome screen. (#3643)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-08-19 16:54:09 +03:00
Sebastian Malton
7d8a6a3e25
Validate and set defaults for HelmChart creation (#3492) 2021-08-18 08:06:57 -04:00
Lauri Nevala
21a41b7ea9
Fix metrics loading on Ingress, PVC and StatefulSet details (#3632)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-08-18 14:00:06 +03:00
Jari Kolehmainen
d1cfb5fed9
Fix nodes view observability (#3630)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-18 11:50:40 +03:00
Jari Kolehmainen
016d012439
Fix KubeApi.watch leak on abort (#3629)
* fix KubeApi.watch leak on abort

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

* make linter happy

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-18 11:50:03 +03:00
Sebastian Malton
1833a1c722
Fix StatefulSet.getImages to handle null case (#3619) 2021-08-17 13:02:33 -04:00
(╯°□°)╯︵ uᴉǝssnH ɐɟɐʇsoW
b71e489868
feat: Add the ability to copy k8s object name (#3575)
Signed-off-by: Mostafa Hussein <mostafa.hussein91@gmail.com>
2021-08-17 17:05:11 +03:00
Alex Andreev
097da7b228
Fixing input value (#3616)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-08-17 16:16:27 +03:00
Alex Andreev
fa58b94cd5
Polishing Kubernetes section view in Preferences (#3603)
* Using RemovableItem for items in Kubernetes page

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

* Helm Charts empty state

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

* Empty state for kubeconfig sync list

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

* Remove unused styles

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

* Fixing tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-08-16 16:52:14 +03:00
Sebastian Malton
e979cbf7c7
Add back sentry winston logger transport (#3602)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-12 11:01:39 -04:00
pashevskii
e4c393244a
Replace Ace Editor with monaco (#2949)
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-08-12 13:00:52 +03:00
Jari Kolehmainen
21c7af1887
Expose KubeObjectStore to main extension (#3597)
* allow to pass KubeObjectStore.api via constructor

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

* expose KubeObjectStore to main extension

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-12 11:39:27 +03:00
Jari Kolehmainen
be6df7d25a
Allow to pass KubeObjectStore.api via constructor (#3596)
* allow to pass KubeObjectStore.api via constructor

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

* cleanup

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

* remove throw for backward compat reasons

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-12 11:13:56 +03:00
Jari Kolehmainen
443186d4f5
fix apiBase initialization on main (#3595)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-12 10:34:45 +03:00
Alex Andreev
b7be3ae21a
Sync kubeconfigs from catalog (#3573)
* Kubeconfig syncs from Catalog

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

* Allow to select directory to sync

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

* Convert Preferences to Route-based component

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

* Jump from notification to Preferences

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

* Adding navigateWithoutHistoryChange() method

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

* Cleaning up

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

* Fixing integration tests (no check for Telemetry tab)

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

* Fixing tests harder

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-08-11 13:24:33 +03:00
Jari Kolehmainen
2760178196
fix k0s distribution detector (#3589)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-11 09:16:41 +03:00
chh
487173dc04
Add background-color, box-shadow and padding to .ClusterStatus (#3582) 2021-08-10 16:33:38 +03:00
Jari Kolehmainen
58a446bd45
Refactor k8s api to common (#3553)
* refactor kube api to common

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

* refactor more utils to common

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

* refactor more utils to common

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

* fix tests

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

* switch to use node-fetch on both sides

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

* cleanup

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

* improve logger

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

* fix lint errors

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

* fix/improve tests

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

* fix tests

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

* fix node-fetch require error on prod build

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

* preload fix

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

* fixes

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

* read serverAddress from apiBase

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

* cleanup

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-10 13:26:14 +03:00
Sebastian Malton
476aa74101
Inject handlers into LensProxy to remove circular-deps (#3546)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-04 19:18:01 -04:00
Sebastian Malton
2b3351bf9b
Remove circular dependency with isAllowedResource function (#3545)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-04 16:01:47 -04:00
Sebastian Malton
b6ba39c438
Remove circular imports around the command pallet (#3544) 2021-08-04 14:22:18 -04:00
Sebastian Malton
ee158e33df
Move lookupApi into apiManager (#3540) 2021-08-04 11:36:13 -04:00
Sebastian Malton
574aea40b4
Make DetectoryRegistry a Singleton and initialize in a function (#3538) 2021-08-04 08:48:33 -04:00
Sebastian Malton
9a8616f05e
Create c&p folder before starting kube sync (#3428)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-04 08:02:21 -04:00
Sebastian Malton
17b14f9871
Make sure that there are only ever 12 slots in a hotbar (#3379)
* Make sure that there are only ever 12 slots in a hotbar

- Send notification if hotbar is full

- Filter out on every fromStore call

- Switch to broadcast on error

- Fix addToHotbar index check

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

* change when to/fromStore are located

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-04 10:37:08 +03:00
Sebastian Malton
fb74859f66
Split KubeObject related components into seperate folders (#3533) 2021-08-03 17:39:29 -04:00
Sebastian Malton
3fe8014f11
Move Hotbar types to seperate file (#3532) 2021-08-03 14:38:36 -04:00
Sebastian Malton
77077ef72c
Fix custom resources not having a fallback details component (#3542) 2021-08-03 12:31:44 -04:00
Sebastian Malton
a6e91fc34a
Move cluster related types and function into seperate files (#3530) 2021-08-03 10:36:14 -04:00
Sebastian Malton
2893ad956d
Notify user of error if confirmation dialog rejects promise (#3179)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-03 10:09:19 -04:00
Sebastian Malton
4fc340d0c6
Cleanup integration and unit tests (#3531)
- Make mockWindow a function and call it when needed

- Change timeouts so that better error messages happen more often in
  integration tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-03 08:51:52 -04:00
Sebastian Malton
b546f1df72
Simplify most of the KubeObjectDetailRegistry initial values (#3529)
- Keep one without any type param to make sure that an extension
  developer can as well

- Keep one with a child type to make sure the same as above

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-03 08:51:13 -04:00
Sebastian Malton
b9bb990690
Add new SentryTransport to winston (#3432)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-03 08:38:23 -04:00
Jari Kolehmainen
dc5a885855
bundle kubectl 1.21.2 (#3267)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-02 19:11:17 +03:00
Sebastian Malton
f35178175b
Ignore certain file globs when under dir kube sync (#3452)
- .DS_Store
- *.lock
- *.swp

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-08-02 15:02:55 +03:00
Alex Andreev
b5f4ab3c44
Fixing <Tab/> onKeyDown error (#3537)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-30 08:50:39 -04:00
Sebastian Malton
1b88e63343
Set default type params for KubeObjectDetail related APIs (#3528)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-29 10:55:41 -04:00
Sebastian Malton
ad86502368
Fix KubernetesClusters overriding entity names too often (#3524)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-29 12:11:45 +03:00
Jari Kolehmainen
e43961ec4f
fix crd resources watch issue (#3520)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-27 20:12:25 +03:00
Violetta Shakirova
1b11433bca
Add ability to rename hotbars (#3469)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-07-27 08:54:41 -04:00
Sebastian Malton
f507ec9e6c
Set defaults for EndpointSubsets (#3454) 2021-07-27 08:54:14 -04:00
Sebastian Malton
270d9d631c
Warn if ClusterPageMenuRegistration is a subMenu and has an Icon (#3462)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-27 08:53:49 -04:00
Sebastian Malton
51b53b3349
Improve <NamespaceSelectFilter>'s UX (#3490)
- Display previously selected namespaces at the top of the option list
  when first opened

- Don't resort after every selection

- Automatically close the option list if no longer in multi-select mode
  and have toggled at least one namespace

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-27 08:53:34 -04:00
Sebastian Malton
91b3bd10ee
Only stopPropagration in onClick for the itemMenu (#3502)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-27 08:53:22 -04:00
Alex Andreev
5c64b48849
Installing tailwindcss/nesting plugin (#3496)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-26 10:37:32 +03:00
Alex Andreev
89662103a8
Fix workload overview status sorting (#3486)
* Sort statuses allowing 'running' to be first

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

* Fix Chart legend badges

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

* Adding getStatus() tests for each store

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-26 09:33:32 +03:00
Jim Ehrismann
fd5881fe33
increase timeout for getPortFrom() (#3511)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-07-23 17:16:09 -04:00
Sebastian Malton
1437f8a945
Fix auto cleanup of Extension's IPC classes (#3505) 2021-07-23 15:14:11 -04:00
Sebastian Malton
b71e71cdfc
Fix entity accessibleNamespaces (#3507)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-23 12:48:49 -04:00
Jan Jansen
c8f27e537b
Add accessibleNamespaces to KubernetesClusterModel (#3487)
Fixes #3485

Signed-off-by: Jan Jansen <jan.jansen@gdata.de>
2021-07-23 11:40:13 -04:00
Sebastian Malton
07532b1552
Display hint to user on how to add items in an EditableList (#3475)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-23 09:26:23 -04:00
Alex Andreev
44fad7f459
Fix input default value warning (#3497)
* Removing some props from passing to <input/>

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

* Fixing ns loadMetrics() this context

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-23 07:36:48 -04:00
Jari Kolehmainen
823d68014e
fix entity settings menu order (#3494)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-23 10:54:30 +03:00
Sebastian Malton
da53aa0d79
Treat default weblinks same as any other weblinks (#3385)
- Use seenWeblink and check for non-arrays

- Spread out link validation

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-22 20:28:01 -04:00
Sebastian Malton
0204eef848
Filter out undefined values in hotbar-store migration (#3489)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-22 14:13:32 -04:00
Sebastian Malton
64ac04186b
Improve Table typing and remove annotations on callbacks (#2981)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-22 10:42:27 -04:00
Alex Andreev
c6a4d55d86
Improving metric queries (#3424) 2021-07-22 09:57:14 -04:00
Jim Ehrismann
b5e6bc36fe
Fix kube auth proxy race condition (#3458)
* fix race condition by relying on mobx when() to indicate when the kube auth proxy is ready

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

* tweak KubeAuthProxy.run() return behaviour

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-07-21 11:50:43 -04:00
Sebastian Malton
cdb7c95b8f
Fix typings for KubeObjectDetailsRegistration (#3460) 2021-07-21 10:22:32 -04:00
Alex Andreev
4fe0a7d73e
Catalog render optimizations (#3422) 2021-07-21 08:51:46 -04:00
Sebastian Malton
d52c4c3999
Fix onRun not executing everywhere :hover is defined for HotbarIcon (#3316)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-21 08:08:39 -04:00
Sebastian Malton
fe33296ba5
Bundled extensions are always compatible in dev mode (#3459)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-21 07:19:46 +03:00
Sebastian Malton
b7a24f4520
Default to empty array for 500Beta13 migration (#3461)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-21 07:19:23 +03:00
Sebastian Malton
27f2bd7181
Wait for shell to bring up prompt before sending commands (#3337) 2021-07-20 15:25:18 -04:00
Sebastian Malton
f03cc59688
Wait for a file to be stable before computing diff (#3427)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-20 09:32:37 -04:00
Sebastian Malton
a4f252864b
Add ability to trim the value from <Input> (#3333)
- If set (default = false) then the input will be trimmed of whitespace
  before validation and before submit

- Use trim on all input's that use the systemName validator

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-20 09:30:02 -04:00
Sebastian Malton
14b70a6c53
Cleanup <EventEmitter> (#3338) 2021-07-20 08:39:44 -04:00
Alex Andreev
10ab882fed
Replace ... to smaller &hellip; HTML character (#3450)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-20 12:23:45 +03:00
Sebastian Malton
686ae32dcb
When viewing a specific release, select its namespace (#3440)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-20 10:32:15 +03:00
Sebastian Malton
cf3aceb465
Sort cronjob last scheduled time by number (#3430)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-20 10:19:52 +03:00
Sebastian Malton
c4aeaf5bb7
Fix styling on cluster roles and bindings (#3434)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-20 07:40:02 +03:00
Sebastian Malton
c590bccffa
Fix permissions issue on ServiceDetails under RBAC (#3433)
- Only watch the namespace that the service is in instead of all of them

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-20 07:34:23 +03:00
Sebastian Malton
70448159d3
Failing to loadAll should only warn (#3442)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-20 07:33:38 +03:00
Sebastian Malton
078583412b
Use all namespaces for cluster overview warnings (#3441)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-20 07:33:22 +03:00
Sebastian Malton
600d2c8607
Log as errors the places where getPortFrom can fail (#3425)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-19 13:40:47 -04:00
Violetta Shakirova
8683735630
Fix HPA visibility (#3426)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-07-19 11:38:44 -04:00
Jari Kolehmainen
ba0581d982
Skip previously bundled extensions (#3420)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-19 09:35:51 -04:00
Jari Kolehmainen
106c9d4a37
fix KubeObjectStore loadAll error message (#3421)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-19 11:01:38 +03:00
Sebastian Malton
48797b4a57
Check KubeObject.metadata is defined in getOwnerRefs (#3412)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-19 07:47:54 +03:00
Sebastian Malton
c504065743
Check metadata labels is an object in getRoleLabels (#3416)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-19 07:46:55 +03:00
Sebastian Malton
c1554d90f2
Catch Cluster create error in cluster-manager (#3401)
* Catch Cluster create error in cluster-manager

- Only warn if the file is missing. The file must have disapeared
  betweeen kubeconfig-sync detecting it and cluster-manager performing
  the addCluster call

- For all other errors log an error

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

* Fix spelling

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

* Use logger

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-19 07:34:18 +03:00
Alexandre Barone
8c5457cf89
Fix broken shell when workdir not exists (#3349)
Signed-off-by: devodev <abalexandrebarone@gmail.com>
2021-07-16 14:07:06 -04:00
Sebastian Malton
eef5dd5f9c
Display toleration's value in pod-details (#3384)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-16 08:57:26 -04:00
Josh Soref
e87b4836be
Fix spelling (#3181)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-07-16 08:53:01 -04:00
Sebastian Malton
9903417fed
Failing to load chart releases should only warn (#3399)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-15 17:16:54 -04:00
Sebastian Malton
ea4a5a4c57
getPortFrom should log the lines it retrived if it fails to get a port (#3395) 2021-07-15 14:19:33 -04:00
Sebastian Malton
c3823b9d27
Failing to load KubeStateMetrics should only warn (#3394)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-15 13:52:21 -04:00
Sebastian Malton
873a165a60
Fix clusters not being defined (#3392)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-15 12:59:43 -04:00
Sebastian Malton
f9635504f9
Stringify errors that get sent to notifications (#3393)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-15 12:59:03 -04:00
Sebastian Malton
c029039035
Remove conflicting classNames under quota-entries (#3334)
- Both flex and inline modify the display rule and inline was winning

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-14 08:33:41 -04:00
Sebastian Malton
0a8cf96415
Add kube-version and distro on detail panel (#3335) 2021-07-14 08:30:57 -04:00
Sebastian Malton
9c2942c333
Fix .TableHead.sticky in for details panels (#3331)
* Fix .TableHead.sticky in for details panels

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

* Fine-tune TableHead styling in PodDetailsList

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

Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-14 12:31:58 +03:00
Sebastian Malton
f2cd0aa8e8
Catch empty string error is parseKubeApi (#3358)
* Catch empty string error is parseKubeApi

- Add more debugging lines

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

* Add some unit tests

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

* Use resolved pathname

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-14 08:48:32 +03:00
Sebastian Malton
c335b0f054
Only create TerminalStore after ThemeStore (#3359)
- Use Proxy for backwards compatability

- Fix a bunch of unit tests that needed all the Singleton's created

- Add comments on the order required for the store migrations

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-13 12:36:46 -04:00
Sebastian Malton
9e363b8d5f
Remove win-ca/pem before publish & catch inject error (#3362) 2021-07-13 11:40:52 -04:00
Roman
ca1ad425ab
Badge: option to show short/full versions of contents (#1397)
* add button to expand and view whole badge contents

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

* revert font changes due to update elsewhere already existing

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

* make expanding icon smaller and not focusable

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

* extended badge content by click, selecting text from label doesn't trigger auto-closing

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

* fix: hover only intercative badges (with extra content)

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

* added common document/selectionchange watcher

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

* lint fixes

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

* Convert Badge to CSS Modules

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

* Align Badge styles across components

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

* Cleaning up

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

* Not closing badge if user started to select text

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

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-13 17:00:11 +03:00
Alex Andreev
ebb54facf9
Removing limits and requests from Pod metrics (#3369)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-13 15:58:55 +03:00
Sebastian Malton
dfd9843809
Provide better typing for dock tabs (#3340) 2021-07-13 08:44:27 -04:00
Violetta Shakirova
c0c1139e3e
Fix incorrect CRD casing (#3365)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-07-13 15:35:06 +03:00
Sebastian Malton
5bccc27204
Check for unset pod spec (#3361)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-13 08:51:49 +03:00
Sebastian Malton
485783167d
Add SystemName validation to AccessibleNamespaces (#2754)
- Don't validate after a submit

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-12 16:13:24 -04:00
Jim Ehrismann
d0d6233869
ignore Lens's prerelease tag when checking extension compatibility (#3317) 2021-07-12 12:34:34 -04:00
Sebastian Malton
9b2031159d
Ignore extensions' clusters when adding to kubeConfigSync (#3313) 2021-07-12 12:05:05 -04:00
Violetta Shakirova
621f5ba0b3
Make node shell image configurable (#3249)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-07-12 11:21:46 -04:00
Sebastian Malton
26fb2e796e
Fix not being able to configure non-Lens prometheus settings (#3355)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-12 10:13:11 -04:00
Jari Kolehmainen
50ec37f158
Set res.statusCode before flushing headers (#3353)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-12 10:07:54 -04:00
chh
f86360d641
Fix Sentry integration bugs (#3325) 2021-07-12 09:42:51 -04:00
Jari Kolehmainen
ff704b5d3d
sync activeEntity to cluster renderer (#3323)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-12 09:18:08 -04:00
Violetta Shakirova
538c6c2013
Selecting one namespace at a time (#2919)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-07-12 11:36:26 +03:00
Sebastian Malton
52ab699426
Remove <CubeSpinner> and <AppInit> as both are unused (#3336)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-12 08:45:15 +03:00
Jari Kolehmainen
ad8dc8a7c9
New spinner for cluster connect status page (#3324)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-09 12:19:37 -04:00
Sebastian Malton
77f8ea67bd
Cleanup sentry integration (#3315) 2021-07-08 16:57:29 -04:00
chh
05b1a2fc5d
Add Sentry to capture exceptions and console.error messages, add a checkbox in preference to enable/disable error reporting (#3252) 2021-07-08 19:22:12 +03:00
Sebastian Malton
3b31dadf19
Fix listing charts failing due to bad versions (#3308) 2021-07-08 11:35:54 -04:00
Sebastian Malton
db968b8a5b
Fix user-store/5.0.3-beta.1.ts comment (#3311)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-08 16:13:29 +03:00
Sebastian Malton
497e47b277
Automatically sync all kubeConfigPaths (#3227) 2021-07-07 16:29:58 -04:00
Sebastian Malton
fe443f462b
Fix table columns being hidden after changing any user preference (#3302)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-07 15:48:00 -04:00
Sebastian Malton
17a8044647
Add logging on proxy error (#3303)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-07 09:42:16 -04:00
Alex Andreev
f7ad554108
Fixing initial scroll-to-bottom in pod logs (#3281)
* Fixing scroll to bottom in pod logs

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

* Fixing invalidDate error if no timestamp provided

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-07 09:35:40 +03:00
Sebastian Malton
a301283adc
Fix unhandled exception in visibility handler (#3291)
- If an KubernetesCluster entity is being deleted then the
  catalogEntityRegistry.getById() will return undefined. This leads to
  an unhandled exception in the handler because we tried to read
  apiVersion. This commit changes it so that we get the apiVersion and
  kind from KubernetesCluster class itself

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-07 09:30:07 +03:00
Sebastian Malton
b03eb443c9
Await kubeconfigPathP for fish shell args (#3286)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-07 09:20:17 +03:00
Sebastian Malton
0f9f79a8c9
Emit an error on async fromStore (#3285) 2021-07-06 11:05:07 -04:00
Sebastian Malton
803c3a3d34
Unblock subsequent Singleton.createInstance() (#3225)
- Also fix clusters with unknown workspaces

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-06 17:16:04 +03:00
Sebastian Malton
c4623c424d
Formalize the to/from Store rules for UserStore (#2708)
- Explicitly don't save to disk if the value in the store is the same as
  the default. That way we can change the defaults between versions

- Calculate the PreferencesModel on demand

- In the future, when we turn on strict null checking, we can enforce
  that the UserStore expects the correct types too

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

simplify default check, remove defaults from UserStore

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-06 09:14:13 -04:00
Sebastian Malton
baef6944aa
Reduce transition duration for <Tab>'s (#3167)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-06 08:42:59 -04:00
Sebastian Malton
b2836eb57a
Don't clear searchValue on CommandDialog onBlur (#3172)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-06 11:01:11 +03:00
Jari Kolehmainen
e60c6905da
Fix problem with in-tree extension load (#3274)
* Revert "don't set prerelease version info when non-prerelease (#3261)"

This reverts commit 3f01abbddf.

* include fix from #3256

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-05 23:17:35 +03:00
Sebastian Malton
4cae802a08
Don't clear cluster icon on cancel (#3191)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-05 11:05:40 +03:00
Sebastian Malton
189f017b2e
Set ownerReference to manually triggered cron jobs (#3229)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-02 15:10:37 +03:00
Sebastian Malton
2708ca63ed
Use kubeconfigPath for delete synced clusters confirmation (#3205)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-02 15:08:42 +03:00
Sebastian Malton
a12fc68242
Cap cpu chart label values to 2 decimal points (#3228)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-02 14:26:53 +03:00
Sebastian Malton
223dadc073
Allow users to disconnect from clusters that fail to connect (#3231)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-02 14:22:16 +03:00
Lauri Nevala
020acd1c40
Increase shell sync timeout (#3241)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-07-02 14:21:26 +03:00
Sebastian Malton
05311c4b1b
Correctly migrate duplicate clusters in workspaces (#3211)
- Keep track of the set of all workspaces that each duplicated entry was
  a part of

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-02 14:21:04 +03:00
Sebastian Malton
e0a509d462
Always check if ref is active in virtual-list (#3230)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-01 09:51:11 +03:00
Alex Andreev
1f2692c18f
Fixing tooltips to use single component (#3194)
* Removing MaterialTooltip references

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

* Removing MaterialTooltip component

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

* Removing entity icon hover effect in catalog and settings

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

* Align share and close tooltip positions

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

* Fixing EnityIcon selector

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

* Reverting back selector changes

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

* Removing explicit interactive prop

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

* Removing interactive prop from catalog icons

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-01 09:42:17 +03:00
Jon Stelly
18587168dc
Allow Node panel to open for virtual nodes (#3213)
Co-authored-by: Michael Pappas <mhagen@mapcom.com>
2021-06-30 11:30:19 -04:00
Alex Andreev
f482da0880
Fixing Catalog columns alignment (#3222)
* Fixing VirtualList scrollbar style

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

* Fix VirtualList styling in logs

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

* Fixing integration tests

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

* Fixing log element selector

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

* Not using css modules

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

* Removing unused prop from VirtualList

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-06-30 18:14:14 +03:00
chh
ce56dd812b
Add esbuild/esbuild-loader to reduce memory usage when make dev (#3220) 2021-06-30 08:05:02 -04:00
pashevskii
52828a4385
Fix using default hotbars (#3196)
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com>
2021-06-30 14:21:11 +03:00
Sebastian Malton
45cafaa420
Fix cluster-store and hotbar-store migrations (#3208)
- kubeConfigPath was erroniously set to cluster.id
- Skip empty workspace hotbars
- Output a warn if updating or creating a cluster throws in
  cluster-store

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-29 09:42:32 -04:00
Alex Andreev
c0dbd5878d
Filtering out clusters by metadata.id (#3200)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-06-28 18:28:54 +03:00
Sebastian Malton
0b88df9b36
HotbarIcon's refering to unknown entities should be removalable (#3190)
* HotbarIcon's refering to unknown entities should be removalable
* Allow menu to open when icon is disabled
* Add cursor context-menu

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-28 11:28:18 -04:00
Sebastian Malton
2788025fea
Switch to deterministic cluster IDs (#3201) 2021-06-28 11:14:55 -04:00
Panu Horsmalahti
7e8cc2122c
Fix extension enabled status after installation (#3199)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-06-28 16:48:02 +03:00
Sebastian Malton
8dda513b79
Don't clear searchUrlParam on every change (#3189)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-28 11:41:01 +03:00
Sebastian Malton
dbfdd450a8
Track extension provisions and check bundled for routing (#3187)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-25 13:28:07 -04:00
Sebastian Malton
9790b71f8c
Update distro label on clusters (#3171)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-25 10:40:26 -04:00
Sebastian Malton
fff6d2e5f9
Remove padding for custom icons (#3162)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-25 10:40:02 -04:00
Mario Sarcher
f413893085
Fix broken links after updating general docs of lens-ide (#3185)
Signed-off-by: Mario Sarcher <mario@sarcher.de>
2021-06-25 16:30:05 +02:00
Sebastian Malton
51655884c7
Fix hotbar migration of workspaces (#3178) 2021-06-25 09:55:25 -04:00
Alex Andreev
b9dfd20a93
Using different Ids for HotbarIcons (#3186)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-06-25 16:38:15 +03:00
Mario Sarcher
867cd5ac1f
Change button text on welcome screen (#3184)
Signed-off-by: Mario Sarcher <mario@sarcher.de>
2021-06-25 09:33:24 -04:00
Sebastian Malton
7058193295
Navigate back to last viewed catalog catagory (#3163)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-23 15:53:22 -04:00
Sebastian Malton
e49576ee8c
Fix <Icon>'s not using tooltip and fix toolbar not being boolean (#3038)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-23 09:14:59 -04:00
Jari Kolehmainen
f8dd7b12f2
Wait for extensions when doing protocol handler routing (#3159)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-23 08:48:43 -04:00
Panu Horsmalahti
d4c8f04989
Show error notification if user tries to remove the last hotbar (#3160)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-06-23 08:48:22 -04:00
Jari Kolehmainen
d2a7e346f4
fix catalog list flashing (#3157)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-23 13:35:37 +03:00
Alex Andreev
7739b387cb
Cleaning settings page view (#3156)
* Making inputs consistent

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

* Fixing hover effect in inputs

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

* Adding separators to sidebar menu

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

* Fine-tuning general section

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

* Fine-tuning hidden metrics area

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

* EntityIcon in Settings sidebar

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

* Moving cluster icon settings on top

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

* Shrink Apply button a big

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-06-23 11:27:26 +03:00
Jari Kolehmainen
1cc5607987
show led only for clusters (#3153)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-06-23 11:03:27 +03:00
Sebastian Malton
65b9e74d45
Treat bundled extensions as enabled in protocol router (#3148)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-06-22 09:59:53 -04:00
Lauri Nevala
572d60025e
Fix resource links on Release details (#3129)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-06-22 09:06:40 -04:00
chh
22ba573544
Change text according to issue #3142 (#3144)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-06-22 09:06:31 -04:00
Alex Andreev
ad6224ad8c
Transparent background for custom icons (#3145)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-06-22 15:30:38 +03:00
Jari Kolehmainen
4096b87f99
Release v5.0.0-beta.10 (#3141)
* release v5.0.0-rc.0

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

* Fix release-drafter.yml

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

* Add ability to force tag

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

* release v5.0.0-rc.0

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

* Fix release-drafter.yml

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

* Add ability to force tag

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

* v5.0.0-beta.10

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

* fix migrations

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

Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-06-22 11:09:51 +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
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
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
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
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
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