Sebastian Malton
2c3750c240
Fix display name on accessible namespaces notification ( #2657 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-29 08:29:32 -04:00
Sebastian Malton
f61f768fc7
fix getNodeWarningConditions ( #2644 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-29 12:25:44 +03:00
Jari Kolehmainen
0a604201d4
Fix hotbar icon kind light theme ( #2668 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-29 12:24:48 +03:00
Alex Andreev
7bbe6aeab1
Removing add/delete empty cells feature ( #2667 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-04-29 12:21:47 +03:00
Jari Kolehmainen
c057f3fc20
Show entity source on tooltip + use it for color ( #2669 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-29 12:12:33 +03:00
Jari Kolehmainen
78c77a169a
Set product name to window title ( #2665 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-28 15:40:25 -04:00
Sebastian Malton
ac963ede6e
Ignore failures due to files in bundled folder ( #2661 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-28 15:29:02 -04:00
Black-Hole
fbf1245576
fix(renderer-log): multiple spaces merge into one ( #2655 )
...
Signed-off-by: BlackHole1 <158blackhole@gmail.com>
2021-04-28 21:56:02 +03:00
Jari Kolehmainen
41c9a355ed
Refactor / fix cluster view visibility ( #2654 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-28 21:38:57 +03:00
Jari Kolehmainen
1e1cbd3333
hotbar icon status led ( #2651 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-28 11:25:16 +03:00
Alex Andreev
53606202c1
Command palette restyling ( #2642 )
...
* Styling command palette
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Animating command palette entering
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fixing errors paddings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-04-27 16:44:35 +03:00
Sebastian Malton
afa5379ba9
Flatten user preferences in user store ( #2587 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-27 09:44:02 -04:00
Jari Kolehmainen
119d584bcb
Fix zsh zdotdir ( #2640 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-27 15:18:03 +03:00
Alex Andreev
808642b64b
Fixing CatalogAddButton ( #2639 )
...
* Start first action on button click
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fixing SpeedDial styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-04-27 14:23:28 +03:00
Jari Kolehmainen
2ba0a90cb5
Show cluster metrics settings always ( #2635 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-27 11:28:00 +03:00
Sebastian Malton
9dad08c45f
Asyncronously recompute the placement of an open <Menu> ( #2631 )
...
* Asyncronously recompute the placement of an open <Menu>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* fix refreshPosition
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-27 11:27:37 +03:00
Alex Andreev
6a702ad19c
Hotbar visual improvements ( #2638 )
...
* Adding hotbar cells
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add/remove empty cells
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Increase cell corner radius
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Styling hotbar selector
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Generating 12 cells by default
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Adding custom scrollbar on hover
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Reset active cluster when leaving dashboard
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Moving kind icon top the top left corner
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Highlighting kind icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add hotbar cell animations
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Adding small hover effect
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-04-27 11:25:06 +03:00
Jari Kolehmainen
b1274cbb33
Extensible welcome page ( #2637 )
...
* welcome/landing page
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-27 11:24:39 +03:00
Sebastian Malton
1f854d0a0f
Cherry-pick from 4.2.3 ( #2628 )
...
* Fix: logs data disapearing causing crashes (#2566 )
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Refactor helm-chart.api and improve kube validation and error handling (#2265 )
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix: HPA's not sortable by age (#2565 )
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Conditionally render status icon for kube meta (#2298 )
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix custom resource loading spinner appears above extensions' cluster menus (#2344 )
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Lens should point to the release docs (#2268 )
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Refactor the Extensions settings page (#2221 )
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* try and get jest to not core dump
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-27 08:11:50 +03:00
Sebastian Malton
bcdc0243f4
Support non-ascii characters in entity names ( #2610 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-26 08:58:51 +03:00
Sebastian Malton
339502cf4f
Switch CatalogEntity and CatalogCategory abstract classes ( #2612 )
2021-04-23 16:08:21 -04:00
Sebastian Malton
4d10e07087
Fix: don't assign to priority in getItemsForKind ( #2611 )
2021-04-23 12:26:26 -04:00
Jari Kolehmainen
476235b861
Add tooltip to hotbar index ( #2604 )
...
* add tooltip to hotbar index
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-23 18:39:40 +03:00
Jari Kolehmainen
f4211d1be7
Use generated background color for hotbar icons ( #2608 )
...
* use generated background color for hotbar icons
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* style fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-23 17:25:04 +03:00
Jari Kolehmainen
fd36830865
Allow to define entity setting priority ( #2596 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-23 15:27:42 +03:00
Jari Kolehmainen
cb373befaf
Enable search on catalog ( #2600 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-23 15:27:24 +03:00
Jari Kolehmainen
b77317c243
Add icon to catalog category ( #2606 )
...
* add icon to catalog category
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix styles
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-23 13:58:05 +03:00
Sebastian Malton
b20bedfbae
Initialize HelmRepoManager on demand ( #2591 )
2021-04-22 15:34:17 -04:00
Sebastian Malton
7132bf3834
fix cleanup in createStorage racing the creation of ClusterStore ( #2595 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-22 12:01:16 -04:00
Sebastian Malton
9191533634
refactor AddRemoveButtons's renderButtons method to be just a filter map ( #2210 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-22 15:14:10 +03:00
Sebastian Malton
21585d882d
add doc describing ItemStore.sortItems ( #2257 )
...
* add doc describing ItemStore.sortItems
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* fix wording
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* fix spelling
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-22 15:13:26 +03:00
Jari Kolehmainen
9392b321b8
Fix HotbarStore merge conflict ( #2589 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 10:45:34 +03:00
Jari Kolehmainen
da8cc889c4
Hotbar command palette + switching ( #2552 )
...
* fix initial hotbar not showing
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* hotbar command palette + switching
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* lint fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* add clickable index to switcher
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* refactor
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix typo
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* remote notifications
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix add to hotbar
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* don't show remove-from-hotbar on catalog context menu
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix bad merge
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix bad merge
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix bad merge
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 10:07:14 +03:00
Sebastian Malton
b63fdfaff3
Improve documentation of Singleton functions, change to createInstance ( #2585 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-04-22 10:05:29 +03:00
Jari Kolehmainen
33ca6c9c17
Reserve cluster proxy port just in time ( #2554 )
...
* reserve cluster proxy port just in time
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* refactor
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 07:18:53 +03:00
Jari Kolehmainen
d0712b3c32
Use productName from package.json ( #2580 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-22 07:13:29 +03:00
Marc Bachmann
013057dc23
Fix chart upgrade screen by coercing the chart version to semver ( #2584 )
...
Signed-off-by: Marc Bachmann <marc.brookman@gmail.com>
2021-04-21 15:13:22 -04: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
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
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
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
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
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
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
Roman
2c50e7aa1c
refactoring: get rid of SidebarItem.props.subMenus in favour of props.children only ( #2384 )
...
Signed-off-by: Roman <ixrock@gmail.com>
2021-03-25 13:19:58 +02:00
Jari Kolehmainen
7a35253710
Proxy should listen only on loopback device ( #2388 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-03-25 12:50:13 +02:00
Roman
6789815217
Set initial cursor position for the editor to beginning ( #2385 )
...
Signed-off-by: Roman <ixrock@gmail.com>
2021-03-24 13:22:17 -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 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
Roman
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
Alex
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
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
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