Commit Graph
906 Commits
Author SHA1 Message Date
Sebastian Malton a7093d962a display error when registry returns not found as JSON
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-08 19:08:02 -04:00
Sebastian Malton e7df294b6e add confirm dialog message
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-08 17:48:05 -04:00
Sebastian Malton 6d067b68e2 resolve pr comments
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-08 17:48:05 -04:00
Sebastian Malton 4f9b5a8a3a Add support for installing extensions by name
- Optionally specify the version, defaults to latest non-prerelease
  version

- Usable via the protocol handlers, but requires user confirmation to
  actually install

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-08 17:48:05 -04:00
Sebastian Malton ed81d8f387 remove flaky test
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-08 17:47:51 -04:00
Sebastian Malton 5e6952045b fix unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-07 08:50:01 -04:00
Sebastian Malton 6c6d71941e some fixes to unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-06 17:19:44 -04:00
Sebastian Malton b7ed1f108d fix getting error message for displaying to the user
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-06 10:28:24 -04:00
Sebastian Malton 39efaabebc fix unit test
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-06 10:28:24 -04:00
Sebastian Malton ad9767a4c6 Fix some edge cases
- Clear the loading state in more places
- Add loading animation when an extension is discovered by main

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-06 10:28:24 -04:00
Sebastian Malton ab130b586e Refactor the Extensions settings page
- Simplify the install logic by refactoring out the multi-install logic

- Revamp the ExtensionInstallStateStore to more strictly track the
  lifetime of an install or uninstall request

- Fix the install of an already installed extension just hanging
  visually

- Display a spinner more often for more visual feedback

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-06 10:28:24 -04:00
Violetta 63f6562e0a Save sorting order when changing view (#2353)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-04-06 10:13:45 -04:00
Sebastian Malton 2f3a1dbc25 Fix StorageHelper.get() returning null after clearing (#2421) 2021-04-06 10:13:45 -04:00
Sebastian Malton 59bb4f556d Improve correctness and efficiency in some of pods api helper functions (#2067)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-06 10:13:45 -04:00
Sebastian Malton 5591c872f0 Fix integration test lifecycle fuctions not failing tests (#2259) 2021-04-06 10:13:45 -04:00
Sebastian Malton 64ebfc25ae Notify user if Helm list fails (#2262)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-06 10:13:45 -04:00
Sebastian Malton d81774af0d 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-04-06 10:13:45 -04:00
Sebastian Malton 7246632d57 Fix unit tests and make tests fail if a promise rejects after the test harness is finishes (#2034) 2021-04-06 10:13:45 -04:00
Sebastian Malton f401536efd Restrict extension version of ClusterStore (#2256) 2021-04-06 10:13:45 -04:00
Jim Ehrismann bfc36b4d1d workspace overview is now reactive to cluster changes (#2356)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-04-06 10:13:45 -04:00
Sebastian Malton 86b0fa6479 release v4.2.0 (#2432)
Signed-off-by: Sebastian Malton<sebastian@malton.name>
2021-04-01 11:47:22 -04:00
Sebastian Malton 34712dd51f release v4.2.0-rc.2 (#2378)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-24 10:22:35 -04:00
Roman 4303700bb2 Fix: highlight sidebar's active section (#2366)
* - fix: highlight active sidebar section / link
- fix: caching crd definitions to prevent sidebar's scroll jumps
- refactored & simplified `Sidebar` and `SidebarItem`

Signed-off-by: Roman <ixrock@gmail.com>

* responding to comments

Signed-off-by: Roman <ixrock@gmail.com>

* adding @jsdoc comments to SidebarItem

Signed-off-by: Roman <ixrock@gmail.com>
2021-03-24 15:17:56 +02:00
Sebastian Malton ee4d434d35 Add notification to user to add accessible namespaces (#2173) 2021-03-23 13:21:47 -04:00
Sebastian MaltonandSebastian Malton 0b99377feb add user-store file name migration (#733)
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2021-03-23 11:56:04 -04:00
RomanandSebastian Malton 62c3501011 Fix: incorrect subscribing event name to navigate in cluster view (#2363)
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-03-23 11:04:31 -04:00
e718b250cc Change Cluster Settings button to be consistent with cluster icon menu (#2065)
Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Alex Culliere <alozhkin@mirantis.com>
2021-03-23 08:41:58 -04:00
tehho 72e1915ef4 Update jsonnet folder structure to default bundler format (#536)
Signed-off-by: Andreas Antonsson <Andreas.Antonsson@collectorbank.se>
2021-03-23 08:12:40 -04:00
Lauri Nevala 4afec72ceb Fix: Recreate proxy kubeconfig if it is deleted (#2372) 2021-03-23 08:12:01 -04:00
Roman e70ac87c52 Fix: editing resource is broken when another resource is being editing (#2364)
Signed-off-by: Roman <ixrock@gmail.com>
2021-03-23 08:11:11 -04:00
Sebastian Malton b066fb3527 release v4.2.0-rc.1 (#2339)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-18 10:28:06 -04:00
Roman aedcc6d70e Persist local-storage in external json-file (#2279) 2021-03-18 08:36:34 -04:00
Alex Andreev da5a4bbdf4 Removing explicit z-index in lens-views (#2358)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-18 08:35:08 -04:00
Sebastian Malton 0561f6bfd0 Add common app routes to the protocol renderer router (#2272) 2021-03-17 13:57:49 -04:00
Alex Andreev ca39379b3a Fix: closing workspace menu after clicking on iframe (#2349) 2021-03-17 11:31:34 -04:00
Jari Kolehmainen df2d79173f Fix extension command palette loading (#2351)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-17 15:13:03 +02:00
Sebastian Malton 1aff341f0e Fix workspace overview switching and enabled state storage (#2342) 2021-03-16 13:48:07 -04:00
Violetta a9a5766920 Add the ability to hide metrics from the UI (#2036) 2021-03-16 09:22:08 -04:00
Sebastian Malton 7d14ba5e48 Move clearKubeconfigEnvVars to separate file (#2337)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-16 08:05:28 -04:00
Sebastian Malton 6c872c1aad Fix Lens not clearing other KUBECONFIG env vars (#2297) 2021-03-15 11:28:14 -04:00
Alex Andreev 5c373a886c Navigation menu in Preferences (#2304) 2021-03-15 08:57:19 -04:00
Violetta 8e1583a59c Add terminal shortcut for mac os (#2316)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-03-15 08:22:30 -04:00
Jari Kolehmainen 817f01321d Start hidden on autostart (#2334)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-15 08:03:06 -04:00
Sebastian Malton c0d18ff19e Cleanup SearchStore (#2299) 2021-03-12 16:26:02 -05:00
Sebastian Malton 373d2d2a47 add debug prints for actions against the navigation object (#2321) 2021-03-12 16:03:34 -05:00
Roman c815396622 Fix: cluster-settings page back-button navigation is broken (#2330)
Signed-off-by: Roman <ixrock@gmail.com>
2021-03-12 12:48:09 -05:00
Sebastian Malton 7d1b5e4627 Release 4.2.0-beta.1 (#2318)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-03-12 10:29:29 -05:00
Alex Andreev 7ce7722db4 Fixing workspace menu icon color (#2325)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-12 09:22:37 -05:00
Sebastian Malton 6508871209 Add horizontal scrolling to NamespaceSelect (#2276) 2021-03-12 08:45:32 -05:00
Jim Ehrismann 51715b6a8c properly load workspace cluster store outside of render() (#2320)
also minor bulletproofing for cluster version string

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-03-11 16:01:50 -05:00