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

384 Commits

Author SHA1 Message Date
alexfront
70ae3f7012 Fix Cluster Settings style specificity
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
2020-08-11 10:26:19 +03:00
Roman
b8bde06869 clean up
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-11 01:41:51 +03:00
Roman
45c65610b9 moar random fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-10 21:58:00 +03:00
Roman
a57be8eb01 fix menu/navigation
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-10 21:25:18 +03:00
Roman
312fdfa4d3 Merge remote-tracking branch 'origin/vue_react_migration' into views_management_refactoring
# Conflicts:
#	src/renderer/components/cluster-manager/cluster-manager.scss
2020-08-10 20:31:46 +03:00
Roman
e6268fc36a more fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-10 20:06:47 +03:00
Roman
1961cf3c05 fix: handle navigation from global menu
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-10 19:55:01 +03:00
Roman
546c5fafda fix: cluster-manager initial loading, redirect to startPage from any "404"-route
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-10 17:02:55 +03:00
Alex Andreev
eea149c474
Fixing broken/missing icons (#665)
* Normalizing titles size and weight

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

* Replacing deployment scale icon

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

* Replacing download logs icon

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

* Making <h4> tag bigger than <h5>

Signed-off-by: alexfront <alex.andreev.email@gmail.com>
2020-08-10 16:47:34 +03:00
Roman
a34da5a5c6 cluster-view more fixes & UX optimizations
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-10 16:37:54 +03:00
Alex Andreev
f7e823dcc3
Setting overflow:hidden on lens-view elem (#664)
This prevents scrollbar flickering caused by Animation component
with 'slide-left' appearing.

Signed-off-by: alexfront <alex.andreev.email@gmail.com>
2020-08-10 15:53:42 +03:00
Roman
402d07d8e5 cluster-view fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-10 15:37:06 +03:00
Alex Andreev
8bca7f4d88
Fix cluster settings prometheus configuration (#663)
* Removing legacy browserCheck() utility

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

* Revert select box-shadow (outline) color

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

* Allowing to save prometheus service address

Signed-off-by: alexfront <alex.andreev.email@gmail.com>
2020-08-10 14:15:41 +03:00
alexfront
ec1ed63796 Improving code readabilty
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
2020-08-10 14:14:41 +03:00
Roman
31f4a75608 moved some runtime deps from dev-deps-list in package.json
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-10 12:39:06 +03:00
alexfront
de46907956 Allowing to save prometheus service address
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
2020-08-10 12:19:04 +03:00
alexfront
0393d1f782 Revert select box-shadow (outline) color
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
2020-08-10 12:17:04 +03:00
alexfront
5c1ded6c4b Removing legacy browserCheck() utility
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
2020-08-10 12:16:24 +03:00
Lauri Nevala
efcf02e0ad Merge branch 'master' into vue_react_migration
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-10 09:03:14 +03:00
Roman
116befbc89 todo/fixme: hide active view on disconnect
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-08 12:53:26 +03:00
Roman
cf70fb5582 cluster-view reworks
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-08 12:33:43 +03:00
Sebastian Malton
858ab88940
use the Kubernetes regex for matching system names (#659)
* use the Kubernetes regex for matching system names

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-08-07 16:24:47 -04:00
Jim Ehrismann
693017d2ec
adding port-forward for containers in pods (#528)
* adding port-forward for containers in pods

address review comments

use more idiomatic approach for async code

move some files in advance of merge conflict with Lens restructure work

* Separate the port forward links in the UI (so they don't all spin when one link is clicked)

* minor fixes

* addressed review comments (replaced <p> with <div>, moved key attribute to proper element)

* fix lint issue

* removed extraneous <div> from pod container port details

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-08-07 11:30:37 -04:00
Roman
c3689369fc base-migration-branch merge-fix
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-07 17:32:36 +03:00
Roman
5b16d01521 Merge remote-tracking branch 'origin/vue_react_migration' into views_management_refactoring
# Conflicts:
#	src/renderer/components/+cluster-settings/cluster-settings.tsx
#	src/renderer/components/cluster-manager/clusters-menu.tsx
2020-08-07 17:30:56 +03:00
Roman
27e8dd2f5b cluster-view bugfixing, attempt 100500..
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-07 16:18:56 +03:00
Alex Andreev
0f4248de68
Fixing Cluster Settings layout (#651)
* A bit of cleaning in Add Cluster page

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

* Adding head-col to WizardLayout

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

* Fixing Cluster Settings general layout bugs

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

* Cluster Status view refactoring

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

* Install Metrics component refactoring

Using notifications for error, removed picking
button icon method, simplified button generation.

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

* Remove icons / checks from RemoveClusterButton

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

* Fixing colorError in Input styles

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

* Preventing Input's spellchecking

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

* ClusterNameSettings refactoring

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

* ClusterWorkspaceSettings refactoring/fixing

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

* ClusterProxySetting refactoring

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

* ClusterPrometheusSetting refactoring

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

* Clean up Removal section

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

* Glued InstallMetrics & InstallUserMode into 1 component

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

* Removing unused styles in Cluster Settings

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

* Cluster Settings styling

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

* Adding close button to settings header

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

* ClusterHomeDirSetting refactoring

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

* FilePicker restyling

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

* Fixing Prometheus selector

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

* Fixing Hashicon

Passing cluster name instead of cluster id to prevent
icon changing while typing new
cluster name

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

* Minor ClusterSettings fixes

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

* Increasing opacity for non-interactive icons

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

* Keep feature install loading state

Waiting for props to change before
disabling loading state (gray button
width spinner)

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

* Remove arrays in disposeOnUnmount()

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

* Fix Cluster select behavior

Now clicking cluster icon in sidebar
always leads to / dashboard. And
'Settings' submenu switches active
cluster at first and only the showing
Cluster Settings

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

* Using structuralComparator in feature installer

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

* Saving input fields on blur

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

* Setting Select color same as Input color

Signed-off-by: alexfront <alex.andreev.email@gmail.com>
2020-08-07 15:57:16 +03:00
Roman
bc07c8bbde fix menu navigation
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-07 13:32:41 +03:00
Roman
c752af0a31 fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-07 13:25:34 +03:00
Roman
0ba275b332 cluster-view battling -- part 3
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-07 10:54:21 +03:00
Roman
aa718dd7e1 cluster-view battling -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-07 09:59:07 +03:00
Roman
4543d8e178 ipc-refactoring, fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-06 22:49:18 +03:00
Roman
763189b27d cluster-view battling -- part 1 (iframe failing support nodeintegration)
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-06 19:14:59 +03:00
Roman
d04c8d3045 part 2
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-06 18:15:04 +03:00
Roman
e5138e7c5d part 1
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-06 15:13:50 +03:00
Sebastian Malton
0c3be9bbae
Fix Resource Quota Rendering (#624)
* add parsing of quota values which are non-numeric in the general case

* add unit tests

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-08-04 13:14:02 -04:00
Sebastian Malton
1f5acdb9cd
catch and log error from shell sync (#630)
* catch and log error from shell sync

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-08-04 10:25:52 -04:00
Lauri Nevala
65df0c810a
Mock imported styles for jest (#628)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-04 11:33:24 +03:00
Lauri Nevala
d923053844
Fix getFreePort() (#627)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-04 10:28:27 +03:00
Lauri Nevala
c70564e962
Fix Kubectl.getDownloadMirror (#629)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-04 10:25:31 +03:00
Lauri Nevala
0095c779b2
Fix getKubeConfigLocal() (#635) 2020-08-04 10:24:11 +03:00
Roman
756fc7b2b7 fix: Adding new workspace have default My Workspace name, instead of Name placeholder
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-03 18:01:10 +03:00
Roman
0b0e4f25b3 fix: The issue badge looks like it's disabled now (cluster-menu's icon badge)
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-03 17:17:27 +03:00
Roman
a6a4372320 fix: setup minimal window's width & height to 900x760
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-03 17:02:20 +03:00
Roman
fe9682cea6 fix: When selecting Custom option when adding new cluster, Kubeconfig field is pre-filled with default kubeconfig
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-03 16:54:43 +03:00
Roman
1d9d4dbad4 fix: When disconnecting non active cluster from left menu, the active cluster gets disconnected
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-03 16:51:24 +03:00
Roman
e9f60a7907 fix Cmd+Q exit error
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-03 16:45:59 +03:00
Sebastian Malton
d4ff99f3bf
convert the cluster settings view from Vue to React (#613)
- Add a basic file picker component
- Now stores the icons as base64 img src formatted data blobs
- Changed over cluster settings to mobx
- Removed old Vue files

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-08-02 15:56:39 +03:00
Lauri Nevala
7f65f1ea06
Fix CRD api parsing (#622)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-07-31 09:50:57 -04:00
Lauri Nevala
bac6fbaaf1 Fix lint issues
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-07-31 11:10:52 +03:00