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

28 Commits

Author SHA1 Message Date
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
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
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
ec095cac8e fix: cluster-icon's badge (events-count) is cropped in clusters-menu
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-29 17:14:06 +03:00
Roman
f2803abcb6 tooltip refactoring -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-28 16:57:24 +03:00
Roman
7eee65dba5 fixes: cluster-icon/clusters-menu
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-27 16:59:34 +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
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
0b8c96f25e fix: better bgc for remove-cluster button, clean up
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-23 20:23:10 +03:00
Roman
13c29a7fed refactoring, fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-21 16:01:20 +03:00
Roman
a40a9fec0e fix: "disconnect" cluster from clusters context-menu
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-21 13:22:54 +03:00
Roman
01dd5fda59 fix: cluster-icon badge margin
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-20 19:29:59 +03:00
Roman
323a4c141e cluster-status -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-20 19:00:07 +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
285bcb4795 fix: allow to drag window at top
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-17 01:32:40 +03:00
Roman
e14b52446c show startup-hint tooltip when no-clusters
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-17 01:18:48 +03:00
Roman
47f6a2b7e1 cluster-menu tooltip fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-15 15:38:23 +03:00
Roman
717dfff851 added landing-page
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-15 14:37:18 +03:00
Roman
d20e61b3e2 added more routes, refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-15 14:09:31 +03:00
Roman
c06c322ca9 store-sync-fixes, part 1
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-15 01:07:18 +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
6df56b5471 cluster-manager view
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-10 12:47:50 +03:00