Commit Graph
939 Commits
Author SHA1 Message Date
Jari Kolehmainen 9e5996b9cb allow to prompt on entity menu click
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-08 09:02:54 +03:00
Jari Kolehmainen ddec03bf52 use small icons in context menus
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-08 08:28:04 +03:00
Jari Kolehmainen efa70e4dce remove top-right cluster menu for now
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-08 08:18:49 +03:00
Jari Kolehmainen f78c876d5d tweak hotbar icon context menu
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-08 08:18:29 +03:00
Jari Kolehmainen 0a6921da28 wait before showing notification
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-08 08:18:07 +03:00
Jari Kolehmainen 3e12d6fe92 add catalog to bottom bar
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-07 20:15:43 +03:00
Jari Kolehmainen 8107a0402d fix menuitem key
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-07 19:21:08 +03:00
Jari Kolehmainen 6e79144b6d cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-07 19:19:29 +03:00
Jari Kolehmainen 6a0dc61601 cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-07 19:13:00 +03:00
Jari Kolehmainen 459c81b1c2 fix catalog styles
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-07 18:42:28 +03:00
Jari Kolehmainen 63c981c368 improve CatalogPusher.init
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-07 18:38:38 +03:00
Jari Kolehmainen 0d2cf84115 cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-07 18:38:12 +03:00
Jari Kolehmainen f20b7cd782 keep cluster.workspace for now
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-07 18:19:31 +03:00
Jari Kolehmainen 50f0722f9b keep cluster.workspace for now
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-07 17:15:55 +03:00
Jari Kolehmainen 0fb8f721b2 Merge branch 'master' into feature/catalog
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-07 08:18:54 +03:00
Alex Andreev 84cc0cdf55 Preferences page redesign (#2446)
* Removing header part

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

* Restyling PageLayout

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

* Restyling .round-black Input

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

* Adding Tab navigation to Preferences

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

* Styling Application tab

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

* Add esc button

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

* Add media queries

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

* Introducting Switcher component

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

* Styling Proxy tab

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

* Moving start-up switcher to Other tab

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

* Styling Kubernetes tab

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

* Styling Extensions tab

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

* Styling inputs and selects

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

* Styling helm chart section

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

* Create a telemetry tab with extensions

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

* Adding lens Select theme

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

* Remove Other tab

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

* Fix mainBackground color

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

* Simplifying Tabs boilerplate

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

* Replacing button font

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

* Fixing one-column settings layout

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

* Fixing integration tests

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

* Fixin tests harder

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

* Showing bottom bar in workspaces

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-04-06 15:45:23 +03:00
Jari Kolehmainen 41a92c7f7d cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-06 14:00:18 +03:00
Jari Kolehmainen 54dfa128fd cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-06 13:58:56 +03:00
Jari Kolehmainen 1f8b388bd4 hotbar context menu & command palette
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-06 13:50:21 +03:00
Jari Kolehmainen 92c1d73700 Merge branch 'master' into feature/catalog 2021-04-06 10:45:21 +03:00
Jari Kolehmainen a7e90bf5fd tweak tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-06 10:36:47 +03:00
Jari Kolehmainen a422d55c9d lint fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-06 10:08:57 +03:00
Jari Kolehmainen 89893b5c23 cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-06 09:40:11 +03:00
Jari Kolehmainen 65c7a183d3 refactor
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-06 09:19:22 +03:00
Violetta 33c405bdcf Save sorting order when changing view (#2353)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-04-01 10:29:17 -04:00
Patrick J. McNerthney 48ea877cd5 Use a POST with a form body when querying Prometheus. (#2401)
Fixes: https://github.com/lensapp/lens/issues/1352
Signed-off-by: Patrick J McNerthney <pat@mcnerthney.com>
2021-04-01 10:27:46 -04:00
Violetta 584e191326 Fix lens node shell (#2001)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-04-01 10:27:37 -04:00
Sebastian Malton 04e5180511 Fix StorageHelper.get() returning null after clearing (#2421) 2021-04-01 10:27:27 -04:00
Jari Kolehmainen 5c89ea9d7d hotbar css fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-01 14:26:04 +03:00
Jari Kolehmainen c686bb3340 fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-01 14:25:55 +03:00
Jari Kolehmainen a884bb03e1 cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-01 13:49:02 +03:00
Jari Kolehmainen 87f5673576 sync fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-01 13:27:06 +03:00
Jari Kolehmainen 10fee4a451 fix in-tree extensions
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-01 10:00:42 +03:00
Alex Andreev da196387b8 Revert "Wrapping ReactSelect styles into CacheProvider (#2365)" (#2419)
This reverts commit 69200b50c7.

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-31 10:23:43 -04:00
Jari Kolehmainen cc684d62c3 Merge branch 'master' into feature/catalog
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-31 16:46:27 +03:00
Jari Kolehmainen 69d91a3109 fix forCluster
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-31 16:44:22 +03:00
Jari Kolehmainen 4e5048b326 cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-31 16:43:42 +03:00
Jari Kolehmainen 813c0df9e7 add/remove hotbar actions
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-31 16:02:26 +03:00
Jari Kolehmainen 4ac0c7c899 hotbar store
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-31 14:42:46 +03:00
Jari Kolehmainen 8a0cf91ab4 wip: catalog
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-30 18:50:23 +03:00
Sebastian Malton c7e1ab27fd Improve correctness and efficiency in some of pods api helper functions (#2067)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-30 10:53:18 -04:00
Sebastian Malton 8eb8fb6234 Fix integration test lifecycle fuctions not failing tests (#2259) 2021-03-30 10:14:59 -04:00
Sebastian Malton eec0644667 Notify user if Helm list fails (#2262)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-30 10:14:34 -04:00
Sebastian Malton 0e307e65b6 Improve tray initialization and logging (#2048)
- Remove all async click handlers as the typing of the expected method
  is that of `void` so it doesn't know how to handle `Promise<void>`

- Replace the above with promise chains with correctly handle any errors
  by logging them

- Fix the tray menu update logic to actually produce a new menu when the
  reaction is run

- Improve the Clusters submenu generation to involve less work and to
  utilize the built-in checkmark rendering

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-30 10:14:19 -04:00
Sebastian Malton 503a49261e Fix unit tests and make tests fail if a promise rejects after the test harness is finishes (#2034) 2021-03-30 10:14:05 -04:00
Sebastian Malton a4ba77c58b Restrict extension version of ClusterStore (#2256) 2021-03-30 10:13:15 -04:00
Jim Ehrismann 4529b1ec33 workspace overview is now reactive to cluster changes (#2356)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-03-30 10:12:57 -04:00
Alex Andreev 69200b50c7 Wrapping ReactSelect styles into CacheProvider (#2365)
* Wrap app into emotion CacheProvider to isolate styles

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

* Fix CacheProvider key

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

* Moving CacheProvider into more specific components

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

* Align @emotion/react & @emotion/cache version with ones inside react-select

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

* Covering more components with CacheProvider

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

* Changing emotion versions a bit more

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

* Moving CacheProvider into bootstrap

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

* Updating react-select types

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

* A bit of cleaning up types

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

* Specifying types a bit more

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

* Fix gradients in namespace selector

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

* Importing types separately

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

* Using generic NonceProvider in bootstrap

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-30 12:05:41 +03:00
Sebastian Malton 498c7defe9 release v4.2.0-rc.3 (#2400)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-29 11:28:13 -04:00
Jari Kolehmainen 4856fdda2f Fix path traversal bug in router (#2398)
* fix path traversal bug in router

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

* add tests

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-26 14:53:53 +02:00