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
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
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
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
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
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
osddeitf and Sebastian Malton
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
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
c79b6c0015
Fix releases not reloading when selecting namespaces ( #2515 )
2021-04-19 11:46:07 -04:00
MinJeong Kim and Jim Ehrismann
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
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
pashevskii and Pavel Ashevskiy
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
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
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 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
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
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
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
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
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
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
Roman and Sebastian 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
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
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
Alex Andreev
5c373a886c
Navigation menu in Preferences ( #2304 )
2021-03-15 08:57:19 -04:00