* Tray icon #833 -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
* Tray icon #833 -- part 2
Signed-off-by: Roman <ixrock@gmail.com>
* Tray icon #833 -- part 3
Signed-off-by: Roman <ixrock@gmail.com>
* Tray icon #833 -- part 4
Signed-off-by: Roman <ixrock@gmail.com>
* fix: lint / linux build failed
Signed-off-by: Roman <ixrock@gmail.com>
* allow to disable tray from preferences
Signed-off-by: Roman <ixrock@gmail.com>
* allow to tweak svg-icon before applying as tray-icon
Signed-off-by: Roman <ixrock@gmail.com>
* add checkbox indication, setActive workspace on cluster select
Signed-off-by: Roman <ixrock@gmail.com>
* fix build version (cannon find module 'react')
Signed-off-by: Roman <ixrock@gmail.com>
* - switching dark/light icon depending on os-x theme settings
- optimization: don't re-create tray icon on menu udpates (avoid blinking)
Signed-off-by: Roman <ixrock@gmail.com>
* fix: refresh icon after turning on/off + switching dark-mode
Signed-off-by: Roman <ixrock@gmail.com>
* allow to close main window and re-open from dock or tray icon
Signed-off-by: Roman <ixrock@gmail.com>
* small fix
Signed-off-by: Roman <ixrock@gmail.com>
* fix: ensure main-window from global menu
Signed-off-by: Roman <ixrock@gmail.com>
* chore
Signed-off-by: Roman <ixrock@gmail.com>
* fix: hide traffic-light buttons for tray window
Signed-off-by: Roman <ixrock@gmail.com>
* removed redundant tray window
Signed-off-by: Roman <ixrock@gmail.com>
* removed delay from base-store
Signed-off-by: Roman <ixrock@gmail.com>
* adding cluster fix (reverted changes from master)
Signed-off-by: Roman <ixrock@gmail.com>
* - hide icon in dock when main-window closed (mac-os only)
- added preferences checkbox to open app at system start-up
Signed-off-by: Roman <ixrock@gmail.com>
* handle quit app action from tray menu
Signed-off-by: Roman <ixrock@gmail.com>
* moved generating tray icons to build step
Signed-off-by: Roman <ixrock@gmail.com>
* Fix integration tests (#1080)
* Fix integration tests
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* Update integration/helpers/utils.ts
Co-authored-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
* fix-build: invisible app icon when there are more files within "build/icons/*.png"
Signed-off-by: Roman <ixrock@gmail.com>
* chore
Signed-off-by: Roman <ixrock@gmail.com>
* yarn i18n.extract
Signed-off-by: Roman <ixrock@gmail.com>
* clean-up
Signed-off-by: Roman <ixrock@gmail.com>
* navigation refactoring, move out `buildUrl` to common/utils so `react` and `react-router` not required as package.json dependecies in runtime (main)
Signed-off-by: Roman <ixrock@gmail.com>
* Ignore namespace query param on integration tests (#1109)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
* merge-conflicts fixes
Signed-off-by: Roman <ixrock@gmail.com>
* support page fixes
Signed-off-by: Roman <ixrock@gmail.com>
* make eslint happy again
Signed-off-by: Roman <ixrock@gmail.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
* Adding extension's label text next to Icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Removing unused registerStatusBarItem()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Duplicate "support" items in menu, fix#1128
Signed-off-by: Roman <ixrock@gmail.com>
* clean up (contents moved to extensions/core-api/index.ts)
Signed-off-by: Roman <ixrock@gmail.com>
* Preload logs when scrolled to top
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Adding JumpToBottom button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Moving jump-to-bottom button to right
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Adding old/new logs separator
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Increase font-size in jump to bottom button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Moving newLogsSince determination out of component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Move newLogSince from storage data to observable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove notiifications on log loading errors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Transform logs into array in store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove excessive join('\n\)s
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Adding pod and namespace data to log controls panel (#1083)
* Move log controls into separate file
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Changing prev container logs icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Removing 'Logs' from the tab title
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove unused string template quotes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Hide JumpToBottom btn on error
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove mention about dialog
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Sort Pod environment values in alphabetical order
Fixes: #739
Signed-off-by: Steve Richards <srichards@mirantis.com>
* Consolidated to a single lodash import. Corrected Lint failure
- Removed the additional import of flatten and updated as needed;
- Changed the variabled `orderedEnv` to be a const;
Signed-off-by: Steve Richards <srichards@mirantis.com>
Co-authored-by: Steve Richards <srichards@mirantis.com>
* fix bundled kubectl path on dev env
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* fix specs
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Updated regex for isUrl to allow for an empty string aswell as a correct URL.
Signed-off-by: Steve Richards <srichards@mirantis.com>
Co-authored-by: Steve Richards <srichards@mirantis.com>
* initial telemetry extension
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Fix preferences saving and default value
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
* Show previous terminated container logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix for parsing error object
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
- Added check to see if the program being referenced in the command field of the
exec object in the User construct exists. If it doesn't an error will be raised.
If more than 1 context is selected when adding a kubeconfig then valid contexts
will be added and any with an error will not be.
Signed-off-by: Steve Richards <srichards@mirantis.com>
Co-authored-by: Steve Richards <srichards@mirantis.com>
* Moving pod logs into Dock
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Always set up default container
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Open existent tab if fount
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Moving logs load and properties into store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Setting a refresher
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Adding showButtons prop to InfoPanel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Hiding sequence number in log tabs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Removing PodLogsDialog
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Removing unused PodLogsDialog import
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Tiny cleaning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* A bit of cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Hiding drawer when opening logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Add some basic unit tests for cluster, kube-auth-proxy, and kubeconfig-manager
- src/main/cluster.ts
- src/main/kube-auth-proxy.ts
- src/main/kubeconfig-manager.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>