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

46 Commits

Author SHA1 Message Date
alexfront
76ef892a3a Reconnecting selected cluster
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
2020-08-13 15:56:24 +03:00
alexfront
3c6b229ccc Navigate to landing page on cluster disconnect
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
2020-08-13 10:54:00 +03:00
Roman
b8bde06869 clean up
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-11 01:41:51 +03:00
Roman
402d07d8e5 cluster-view fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-08-10 15:37:06 +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
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
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
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
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
Roman
4087cf025e fix: infinite spinner with no-clusters view
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-28 11:42:57 +03:00
Roman
dd9b2efdc7 fix: detect new contexts on startup and show in add-cluster page
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-25 14:09:52 +03:00
Roman
4388558d2e fix: show loading-state when activating a cluster or adding new one
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-24 18:26:13 +03:00
Roman
fe06643a8e auto-refresh menu, no-clusters page + navigation fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-24 16:33:20 +03:00
Roman
408f64c184 fix reconnect, better handling no-clusters state
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-24 14:17:14 +03:00
Roman
5040a4354b refactoring, fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-21 18:37:53 +03:00
Roman
a3edb75fea improved singleton types inferring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-17 20:00:47 +03:00
Roman
e11d8582f1 allow to remove cluster from icon's context-menu, random fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-17 13:08:21 +03:00
Roman
33d3181113 add-cluster -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-17 11:25:00 +03:00
Roman
ab61fd6308 auto-update clusters state in renderer stores
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-16 15:31:06 +03:00
Roman
dec9d92032 ipc refactoring, push-events handling
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-16 14:47:05 +03:00
Roman
a305b04292 stores sync fixes, refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-14 19:36:18 +03:00
Roman
79e5d6eddc fixes / refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-14 15:39:35 +03:00
Roman
fbcb2fd281 apis / clusters-menu refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-14 15:04:26 +03:00
Roman
4e88715b8d PoC: first run
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-13 19:32:55 +03:00
Roman
aab91863fc auto-refresh status only for active (selected) cluster
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-12 13:41:05 +03:00
Roman
5eca8bc01c clean up / fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-11 16:19:38 +03:00
Roman
e72e28ddab refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-11 11:32:29 +03:00
Roman
8bb3954700 clean up, debugging
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-10 23:48:57 +03:00
Roman
33d7036939 refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-10 19:39:47 +03:00
Roman
e1acf7e3d0 night insomnia clean-up
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-10 01:17:00 +03:00
Roman
ba4f5cb47d workspaces: extract bottom-bar to separated component
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-09 10:53:01 +03:00
Roman
507e2dcfee refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-08 22:59:33 +03:00
Roman
4a06f65cb8 added workspaces layout, more refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-08 17:22:53 +03:00
Roman
1f26f0b3a7 epic: getting rid of vue -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-08 12:12:11 +03:00
Roman
f474a20904 cluster-store refactoring -- part 3
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-07 20:46:46 +03:00
Roman
17cd886ce6 cluster-store refactoring -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-06 17:07:17 +03:00
Roman
afb54694f4 cluster-store refactoring -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-06 14:31:34 +03:00
Roman
4270ec4240 tracker / user-store refactoring, part 1
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-05 17:16:50 +03:00
Roman
f9c0c5d825 Merge remote-tracking branch 'origin/master' into vue_react_migration
# Conflicts:
#	src/common/cluster-store.ts
#	src/common/cluster-store_spec.ts
2020-07-04 12:50:23 +03:00
Roman
776fc4462c use common/utils/singleton class for the stores
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-03 16:57:31 +03:00
Jussi Nummelin
55687b7d35
Kubeconfigs as file references (#466)
Signed-off-by: Jussi Nummelin <jussi.nummelin@gmail.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-07-03 16:53:23 +03:00
Roman
d7cffeb7a8 store migrations refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-03 14:15:35 +03:00
Roman
b7974827d2
Lens restructure (#540)
Signed-off-by: Roman <ixrock@gmail.com>
2020-06-30 14:35:16 +03:00
Jari Kolehmainen
1d0815abd2
Lens app source code (#119)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-15 09:52:02 +02:00