Jari Kolehmainen
c8421e4740
handle missing data on disabled hotbar items ( #2829 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-05-20 16:05:12 +03:00
Sebastian Malton
5ed4537979
Turn on noUnusedLocals, noImplicitReturns, importsNotUsedAsValues: error, and isolatedModules ( #2777 )
2021-05-19 12:11:54 -04:00
Jari Kolehmainen
683e5926e0
Show lens-metrics on cluster settings ( #2714 )
...
* show lens-metrics on cluster settings
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* remove ClusterFeature
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* remove ClusterFeature
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak resource applier/stack
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* update metrics stack components
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix drawer menu styles
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 >
* clarify ui
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* built-in -> bundled
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* splitterError -> splitError
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* support multi-doc yamls
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* dedicated action button
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix headers
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* async file operations
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix bugs
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-05-18 16:12:45 +03:00
Jari Kolehmainen
752f49821a
Show active item in hotbar & allow to pin/unpin ( #2790 )
...
* show active item in hotbar & allow to pin it
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix styles
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-05-18 13:13:33 +03:00
Jari Kolehmainen
f8b939bf59
Check license header using eslint ( #2780 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-05-17 09:43:53 -04:00
Jim Ehrismann
c594844b9b
include the hotbar index in the label displayed for a hotbar ( #2770 )
...
* include the hotbar index in the label displayed for a hotbar
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* address review comments for hotbarDisplayLabel()
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* tweaks to hotbarDisplayLabel()
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2021-05-17 07:40:32 +03:00
Alex Andreev
a930d5f14f
Hotbar disabled items ( #2710 )
...
* Saving more entity data to HotbarItem
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding generic MaterialTooltip component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move HotbarCell to separate component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Abstract out HotbarEntityIcon from HotbarIcon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Styling disabled hotbar items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Migration for adding extra data to hotbar items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Testing migration
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Some cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Bump migration version
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Bump app version in package.json
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-05-13 10:24:58 +03:00
Jari Kolehmainen
2d0609ed24
Check source files for license header ( #2763 )
...
* check source files for license header
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* add license header to all relevant source files
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-05-12 18:33:26 +03:00
Alex Andreev
768e1d14ca
Fixing hotbar drag-n-drop animation issues ( #2704 )
2021-05-05 17:37:06 -04:00
Alex Andreev
1af12fe59e
Hotbar inner drag-n-drop ( #2691 )
...
* Configure ts to use react-jsx rule
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving HotbarSelector to separate component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Initial drag-n-drop implementation
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Revert tsconfig and linter changes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Reverting back active cell effect
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding drag-n-drop behavior
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix drag-n-drop logic
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* White border on dragging over
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding test coverage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing cell hover effect
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Increase PageLayout z-index
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Styling hotbar selector tooltip
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-05-04 07:49:14 +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
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
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
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
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
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
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
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
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
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