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

401 Commits

Author SHA1 Message Date
chh
b19eadaff0
Fix text (#3146)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-06-22 16:13:21 +03:00
Jim Ehrismann
7488f1a5e9
relax kube api data type validation (to allow metrics-server resources) (#2744) (#2802)
* relax kube api data type validation (to allow metrics-server resources)

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

* removed a few now incorrect tests

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

* correct PodMetrics kind

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-05-18 14:13:02 -04:00
Jim Ehrismann
6e13684315
fixed blank disabled Select element option (affected workspaces menu) (#2697)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-05-04 07:32:43 -04:00
Sebastian Malton
38593e4609
Fix tar file being removed before extension install (#2689) 2021-05-03 16:56:09 -04:00
Sebastian Malton
fa2acc3594
Fix: logs data disapearing causing crashes (#2566)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-26 09:34:38 -04:00
Sebastian Malton
3682be2f01
Refactor helm-chart.api and improve kube validation and error handling (#2265) 2021-04-21 08:19:36 -04:00
Sebastian Malton
de7048770b
Fix: HPA's not sortable by age (#2565)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-20 09:26:14 -04:00
Sebastian Malton
1c1d2f7c56
Conditionally render status icon for kube meta (#2298) 2021-04-20 09:24:25 -04:00
Sebastian Malton
ccf8928770
Fix custom resource loading spinner appears above extensions' cluster menus (#2344) 2021-04-20 08:04:16 -04:00
Sebastian Malton
86205b365c
Refactor the Extensions settings page (#2221) 2021-04-19 13:50:51 -04:00
steve richards
96258c369f
Pre-Validate kubeconfig before making available in Lens (#1078) 2021-04-16 11:41:18 -04:00
Sebastian Malton
da69ffde21
Refactor StorageHelper to be clearer in its constructor (#2417) 2021-04-15 15:37:30 -04:00
Sebastian Malton
10bcae24e5
Fix releases not reloading when selecting namespaces (#2515) 2021-04-15 10:55:55 -04:00
MinJeong Kim
4e231e5749
fix: proper sorting resources by age column (#2182 followup) (#2414)
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2021-04-14 11:07:15 -04:00
Sebastian Malton
b6c3ce7d28
Fix being able to view clusters outside the current workspace (#2355) 2021-04-14 09:49:14 -04:00
Sebastian Malton
da6b5d6bde
Fix CRD versions not being provided (#2500) 2021-04-14 09:02:15 -04:00
Sebastian Malton
39c0f42668
Use whole page for workspace overview (#2456)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-06 11:48:51 -04:00
Violetta
63f6562e0a Save sorting order when changing view (#2353)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-04-06 10:13:45 -04:00
Sebastian Malton
2f3a1dbc25 Fix StorageHelper.get() returning null after clearing (#2421) 2021-04-06 10:13:45 -04:00
Sebastian Malton
59bb4f556d Improve correctness and efficiency in some of pods api helper functions (#2067)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-06 10:13:45 -04:00
Sebastian Malton
64ebfc25ae Notify user if Helm list fails (#2262)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-06 10:13:45 -04:00
Sebastian Malton
7246632d57 Fix unit tests and make tests fail if a promise rejects after the test harness is finishes (#2034) 2021-04-06 10:13:45 -04:00
Jim Ehrismann
bfc36b4d1d workspace overview is now reactive to cluster changes (#2356)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-04-06 10:13:45 -04:00
Sebastian Malton
86b0fa6479
release v4.2.0 (#2432)
Signed-off-by: Sebastian Malton<sebastian@malton.name>
2021-04-01 11:47:22 -04:00
Roman
4303700bb2
Fix: highlight sidebar's active section (#2366)
* - fix: highlight active sidebar section / link
- fix: caching crd definitions to prevent sidebar's scroll jumps
- refactored & simplified `Sidebar` and `SidebarItem`

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

* responding to comments

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

* adding @jsdoc comments to SidebarItem

Signed-off-by: Roman <ixrock@gmail.com>
2021-03-24 15:17:56 +02:00
Sebastian Malton
ee4d434d35
Add notification to user to add accessible namespaces (#2173) 2021-03-23 13:21:47 -04:00
Roman
62c3501011
Fix: incorrect subscribing event name to navigate in cluster view (#2363)
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-03-23 11:04:31 -04:00
Alex
e718b250cc
Change Cluster Settings button to be consistent with cluster icon menu (#2065)
Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Alex Culliere <alozhkin@mirantis.com>
2021-03-23 08:41:58 -04:00
Roman
e70ac87c52
Fix: editing resource is broken when another resource is being editing (#2364)
Signed-off-by: Roman <ixrock@gmail.com>
2021-03-23 08:11:11 -04:00
Roman
aedcc6d70e
Persist local-storage in external json-file (#2279) 2021-03-18 08:36:34 -04:00
Alex Andreev
da5a4bbdf4
Removing explicit z-index in lens-views (#2358)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-18 08:35:08 -04:00
Sebastian Malton
0561f6bfd0
Add common app routes to the protocol renderer router (#2272) 2021-03-17 13:57:49 -04:00
Alex Andreev
ca39379b3a
Fix: closing workspace menu after clicking on iframe (#2349) 2021-03-17 11:31:34 -04:00
Sebastian Malton
1aff341f0e
Fix workspace overview switching and enabled state storage (#2342) 2021-03-16 13:48:07 -04:00
Violetta
a9a5766920
Add the ability to hide metrics from the UI (#2036) 2021-03-16 09:22:08 -04:00
Alex Andreev
5c373a886c
Navigation menu in Preferences (#2304) 2021-03-15 08:57:19 -04:00
Violetta
8e1583a59c
Add terminal shortcut for mac os (#2316)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-03-15 08:22:30 -04:00
Sebastian Malton
c0d18ff19e
Cleanup SearchStore (#2299) 2021-03-12 16:26:02 -05:00
Sebastian Malton
373d2d2a47
add debug prints for actions against the navigation object (#2321) 2021-03-12 16:03:34 -05:00
Roman
c815396622
Fix: cluster-settings page back-button navigation is broken (#2330)
Signed-off-by: Roman <ixrock@gmail.com>
2021-03-12 12:48:09 -05:00
Alex Andreev
7ce7722db4
Fixing workspace menu icon color (#2325)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-12 09:22:37 -05:00
Sebastian Malton
6508871209
Add horizontal scrolling to NamespaceSelect (#2276) 2021-03-12 08:45:32 -05:00
Jim Ehrismann
51715b6a8c
properly load workspace cluster store outside of render() (#2320)
also minor bulletproofing for cluster version string

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-03-11 16:01:50 -05:00
Lauri Nevala
5c6a6e14f5
Allow to define the path of the shell in app preferences (#2194)
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-03-11 11:25:06 -05:00
Jim Ehrismann
713ec8c69d
Basic workspace overview (#2047)
* basic workspace overview

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

* css tweaks for landing page as a PageLayout

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

* address review comments

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

* more review comment addressing, added overview to workspace command palette

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

* added back the landing page startup hint

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

* refactoring as per review comments

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

* added original landing page back only for default workspace with no clusters

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

* Workspace overview layout tweaks (#2302)

* tweaks workspace overview layout

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

* cluster settings on top

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

* header logo for add cluster page

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

* tweak landing page

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

* combine left menu icons

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

* always show bottom status bar

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

* tweak

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

* integration test fixes

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

* change cluster menu

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

* first attempt to fix integration test

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

* lint

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

* get selectors right for integration test

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

Co-authored-by: Jim Ehrismann <jehrismann@mirantis.com>
Co-authored-by: Jim Ehrismann <jehrismann@miranits.com>

* address review comments, and rebased to master

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

Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Co-authored-by: Jim Ehrismann <jehrismann@miranits.com>
2021-03-11 09:56:12 +02:00
Sebastian Malton
2e8f94b3eb
Fix update available notification able to show twice (#2295)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-10 09:30:48 -05:00
Sebastian Malton
b3ce845d62
Fix font-size on <code> (#2273)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-10 09:13:27 -05:00
pashevskii
805268a9d1
Apply custom filters after selecting source (#2241)
Signed-off-by: Pavel Ashevskiy <pavel.ashevskiy@ifellow.ru>

Co-authored-by: Pavel Ashevskiy <pavel.ashevskiy@ifellow.ru>
2021-03-10 11:47:26 +03:00
Violetta
20709d63e9
Add image sha256 in pod inspector (#2252)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-03-10 11:31:24 +03:00
Alex
1b0f56f417
VSCode launch configurations for debugging (#2281)
* Add configuration for debugging integration tests

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Add launch configuration for debugging main process

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Continue polishing debug configurations

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Remove unnecessary dependency

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Add debug configuration for unit tests + cleanup vscode tasks

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Update src/renderer/bootstrap.tsx

Add `await` keyword to debugger attachment

Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Update src/renderer/bootstrap.tsx

Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Use existing  variable to wait for chrome debugger attachment

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Update src/renderer/bootstrap.tsx

Use available helper function instead of raw promise

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Import delay utility

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

* Move async function to async context (attaching debugger)

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

Co-authored-by: Alex Culliere <alozhkin@mirantis.com>
Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-03-09 17:57:55 +02:00