Roman
c0db9e3bef
merge:fixes, lint:fixes
...
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-21 17:35:46 +03:00
Roman
a0193a2cda
Merge remote-tracking branch 'origin/master' into mobx-6.2
...
# Conflicts:
# extensions/survey/package-lock.json
# extensions/survey/package.json
# extensions/survey/src/survey-preferences-store.ts
# extensions/telemetry/src/telemetry-preferences-store.ts
# src/common/user-store.ts
# src/extensions/core-api/catalog.ts
# src/extensions/extension-discovery.ts
# src/extensions/lens-extension.ts
# src/main/cluster-manager.ts
# src/renderer/bootstrap.tsx
# src/renderer/components/+apps-helm-charts/helm-chart.store.ts
# src/renderer/components/+apps-releases/release.store.ts
# src/renderer/components/+catalog/catalog.tsx
# src/renderer/components/+extensions/extension-install.store.ts
# src/renderer/components/+extensions/extensions.tsx
# src/renderer/components/+preferences/preferences.tsx
# src/renderer/components/dock/create-resource.store.ts
# src/renderer/components/kube-object/kube-object-list-layout.tsx
# src/renderer/theme.store.ts
# src/renderer/utils/storageHelper.ts
2021-04-21 17:28:18 +03:00
Sebastian Malton
9563ead2e6
Fixing Singleton typing to correctly return child class ( #1914 )
...
- Add distinction between `getInstance` and `getInstanceOrCreate` since
it is not always possible to create an instance (since you might not
know the correct arguments)
- Remove all the `export const *Store = *Store.getInstance<*Store>();`
calls as it defeats the purpose of `Singleton`. Plus with the typing
changes the appropriate `*Store.getInstance()` is "short enough".
- Special case the two extension export facades to not need to use
`getInstanceOrCreate`. Plus since they are just facades it is always
possible to create them.
- Move some other types to be also `Singleton`'s: ExtensionLoader,
ExtensionDiscovery, ThemeStore, LocalizationStore, ...
- Fixed dev-run always using the same port with electron inspect
- Update Store documentation with new recommendations about creating
instances of singletons
- Fix all unit tests to create their dependent singletons
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-21 09:59:59 -04:00
Roman
9470ef9888
migration additions -- part 6 (bugs hunting)
...
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-21 14:48:40 +03:00
Roman
46c699b26f
migration additions -- part 5 (removing @autobind as class-decorator where mobx)
...
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-21 13:28:07 +03:00
Sebastian Malton
9ed395ea80
Display a pod as terminating even if it isn't running ( #2575 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-21 08:26:42 +03:00
osddeitf
04d3cd5b14
Add support for viewing 'User-supplied values' of helm release ( #1862 )
...
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-04-20 11:47:38 -04:00
Sebastian Malton
a2be178191
Refactor helm-release.api to use free functions instead of an object ( #2264 )
...
- Rename functions to be more descriptive
- Change all functions to be Promise based
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-20 10:51:45 -04:00
Jari Kolehmainen
05a3494acb
Don't bundle extension with eula on default build ( #2542 )
2021-04-20 09:35:37 -04:00
Arthur Knoepflin
52ebcc4fdb
Add ability to configure the locale timezone ( #2523 )
2021-04-20 09:26:52 -04:00
Roman
a7ebf7cb3c
migration additions -- part 4 (isolate mobx for app & extensions)
...
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-20 15:18:20 +03:00
Roman
08787dce1f
migration additions -- part 3 (adding makeObservable to constructor)
...
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-20 13:45:35 +03:00
Roman
95794af5b2
migration additions -- part 2
...
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-20 12:24:06 +03:00
Jari Kolehmainen
8d42d40433
fix initial hotbar not showing ( #2551 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-20 09:09:13 +03:00
Jari Kolehmainen
8dde4a1ecb
Refactor cluster settings to catalog entity settings ( #2525 )
...
* fix cluster settings page layout
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* refactor cluster settings to pluggable entity settings
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix gh actions network timeout on yarn install
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* review changes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-20 07:05:44 +03:00
steve richards
e560baa2d0
Pre-Validate kubeconfig before making available in Lens ( #1078 )
2021-04-19 11:46:07 -04:00
Sebastian Malton
23c9255b9a
Refactor StorageHelper to be clearer in its constructor ( #2417 )
2021-04-19 11:46:07 -04:00
Sebastian Malton
c79b6c0015
Fix releases not reloading when selecting namespaces ( #2515 )
2021-04-19 11:46:07 -04:00
MinJeong Kim
92139d26ed
fix: proper sorting resources by age column ( #2182 followup) ( #2414 )
...
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2021-04-19 11:46:07 -04:00
Sebastian Malton
5a72f7a022
Fix CRD versions not being provided ( #2500 )
2021-04-19 11:46:07 -04:00
Sebastian Malton
05f5176419
Broadcast failure to list namespaces less frequently ( #2501 )
...
- Only of three successive (non-overlapping) list failures
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-19 11:46:07 -04:00
Roman
9ca7104a2a
migration additions -- part 1
...
Signed-off-by: Roman <ixrock@gmail.com>
2021-04-19 17:29:59 +03:00
Alex Andreev
d5bc7425f5
Polishing settings styles ( #2534 )
...
* Polishing settings css
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fixing inputs border-radius
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Removing Box component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Removing unused import
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove content region style fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Revert theme colors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Set new colors in theme files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Change Cluster extectedText
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-04-19 15:19:09 +03:00
Sebastian Malton
61b00b4c12
display close button on deleted kube details page ( #2428 )
2021-04-16 17:37:02 -04:00
Jari Kolehmainen
4d8b7b0853
Move catalog to top-level module in extension api ( #2527 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-16 12:28:11 +03:00
pashevskii
ec9c47752f
YAML Templates in Create Resource dock tab ( #2327 )
...
Co-authored-by: Pavel Ashevskiy <pavel.ashevskiy@ifellow.ru>
2021-04-15 08:19:54 -04:00
Jari Kolehmainen
1ac5588fab
Allow to control catalog entity menu item visibility based on source ( #2499 )
...
* allow to control catalog entity menu item visibility based on source
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-15 15:16:56 +03:00
Alex Andreev
e5f613ead7
Exporting search input component ( #2521 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-04-15 14:02:13 +03:00
Alex Andreev
126d542335
Dropping catalog sidebar paddings ( #2526 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-04-14 15:00:50 +03:00
Jari Kolehmainen
e948fc047c
Allow register actions to "add to catalog" button ( #2497 )
...
* registrable add-to-catalog button
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-13 14:51:43 +03:00
Jari Kolehmainen
2eb512a85c
mobx 6.2.0
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-13 12:16:03 +03:00
Jim Ehrismann
bbfad2f35f
Modified kubeconfig manager test to avoid intermittent ENXIO error ( #2516 )
...
* modified kubeconfig manager test to avoid intermittent ENXIO error
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* fix lint
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-04-13 06:57:56 +03:00
Sebastian Malton
743597e2f5
Cleanup shell sessions ( #2469 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-12 09:51:25 +03:00
Jari Kolehmainen
4504a76e6a
Improve CatalogEntityRegistry types & add tests ( #2495 )
...
* improve CatalogEntityRegistry types & add tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-12 09:50:01 +03:00
Alex Andreev
ec28d884ae
Styling catalog sidebar ( #2496 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-04-12 09:32:07 +03:00
Jari Kolehmainen
99a464c61d
Catalog & Hotbar - initial groundwork ( #2418 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-09 09:11:58 +03:00
Alex
40f4631831
Export sub-title component to extensions API ( #2471 )
...
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>
Co-authored-by: Alex Culliere <alozhkin@mirantis.com>
2021-04-08 10:25:42 -04:00
Sebastian Malton
8c5f0ddfe3
Fix node shell failure to open ( #2467 ) ( #2468 )
...
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2021-04-08 07:34:25 +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
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
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
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
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