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

140 Commits

Author SHA1 Message Date
Alex Andreev
39391e7bf0 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>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 12:02:25 +03:00
Alex Andreev
503888aa1c 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-18 12:02:22 +03:00
alexfront
bb382d264e Improving code readabilty
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:59:13 +03:00
alexfront
aa63624470 Allowing to save prometheus service address
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:59:13 +03:00
alexfront
26e93e7753 Revert select box-shadow (outline) color
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:59:13 +03:00
alexfront
df764ca9ab Removing legacy browserCheck() utility
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:59:13 +03:00
Sebastian Malton
3a50255358 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>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:59:13 +03:00
Jim Ehrismann
6293dad79a 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-18 11:59:06 +03:00
Sebastian Malton
b3f97a6506 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>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:53:25 +03:00
Lauri Nevala
8e626eee72 Fix CRD api parsing (#622)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:53:25 +03:00
Roman
d2be0e450b more fixes
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:53:25 +03:00
Roman
4ef26bec58 fix: handle navigation from global menu
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:53:25 +03:00
Roman
6f6680be98 fix: cluster-manager initial loading, redirect to startPage from any "404"-route
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:53:25 +03:00
Roman
7b5092d78b cluster-view more fixes & UX optimizations
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:53:25 +03:00
Roman
8e6d886210 cluster-view fixes
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:53:25 +03:00
Roman
0b8003221f todo/fixme: hide active view on disconnect
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:53:25 +03:00
Roman
7364cb75d6 cluster-view reworks
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:53:25 +03:00
Roman
795a98c3f4 base-migration-branch merge-fix
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:53:25 +03:00
Alex Andreev
9818c07927 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-18 11:53:22 +03:00
Roman
3e86729fea cluster-view bugfixing, attempt 100500..
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:50:54 +03:00
Roman
2894f31adb fixes
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:50:54 +03:00
Roman
2287332f8b cluster-view battling -- part 3
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:50:54 +03:00
Roman
09c765cab0 cluster-view battling -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:50:54 +03:00
Roman
5452fdb32d ipc-refactoring, fixes
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:50:54 +03:00
Roman
a78d5a0fb9 cluster-view battling -- part 1 (iframe failing support nodeintegration)
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:50:54 +03:00
Roman
8925186be6 part 2
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:50:54 +03:00
Roman
7d3e87685b part 1
Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-08-18 11:50:54 +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
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
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
bac6fbaaf1 Fix lint issues
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-07-31 11:10:52 +03:00
Roman
cf5b3b4ea6 cleaning-up renderer/_vue, moi-moi vue.js
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-29 17:23:46 +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
39316e1a54 refactoring & moving rbac.ts to "common"
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-29 16:05:08 +03:00
Roman
3a115ae485 refactoring & fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-29 14:57:27 +03:00
Roman
1d7736076c tooltip refactoring -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-28 17:42:48 +03:00
Roman
f2803abcb6 tooltip refactoring -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-28 16:57:24 +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
be52b4ad93 kube-api.ts clean up
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-28 09:46:54 +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
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
7a814635e1 random fixes
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-24 16:50:15 +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
3aef3700de refactoring: get rid of config.store.ts (renderer), moved allowNamespaces/allowedResources to cluster.ts apis
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-23 19:33:10 +03:00
Roman
407c4fb4d0 fix: apply theme on the fly in preferences, theme-store refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-23 18:26:16 +03:00