- Has better typing
- Removes use of unnusual unique symbol
- Fix welcome banner tests
- Update associated snapshots
- Start converting custom column tests to use ApplicationBuilder
- Remove old and unnused RecursiveTreeView
- Introduce new TreeView for use in CatalogMenu to fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* fix: Dispose the kubeconfig watcher when application quits
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* fix: Dispose the extension watcher when application quits
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Persist apiVersion when editing resources in monaco
- Use a new custom k8slens prefixed label
- Means that users aren't surprised when they use lens to update a
resource to a new apiVersionWithGroup
- Doesn't touch the versions in the stores
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* fix: Fix lint issues
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* chore: make lint not bail on failure
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* chore: Run lint:fix on all files
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
- Bundled extensions are always enabled, and are always compatible
- Have bundled extensions be loaded asyncronously to support
typescript dynamic import (which is typed) as opposed to require
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* feat: Allow built versions to specify an environment
- This should be hard coded at build time
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* chore: Add default value to open-lens
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* chore: Add --no-bail to test script invocations
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* chore: Add tests for coverage of new code
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Renderer file logging through IPC
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Remove pagehide event listener as it may cause UI to freeze
Pagehide was needed in cluster frame to better handle main frame close/reload situation. But even empty pagehide listener in cluster frame seems to freeze the UI at least on some situations (multiple clusters open).
Beforeunload is not always executed in cluster frame when main frame is reloaded/closed, leaving log files open. To fix that, `stopIpcLoggingInjectable` is introduced to close all log files.
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Remove unnecessary formatting changes
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Lint fix
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Winston logger override
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Remove usage of doGeneralOverrides as it has been removed
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Update imports to match the new base
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Remove unnecessary id
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Review improvements
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Extract beforeunload listener to injectable
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Typo fix
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Behavioural tests and log file rename
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Update messaging to work with new base
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Move files to feature
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
---------
Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
* Introduce getWorkloadKindFromUrl() method
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Whitelist kind param to 'show-details' event
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Using parseKubeApi instead of new utility
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Adding checks for empty selfLink
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
---------
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* no updates available
Signed-off-by: Gabriel <gaccettola@mirantis.com>
* lint fix
Signed-off-by: Gabriel <gaccettola@mirantis.com>
* lint padding-line-between-statements
Signed-off-by: Gabriel <gaccettola@mirantis.com>
* test stubs - wip
Signed-off-by: Gabriel <gaccettola@mirantis.com>
* tray - when no new update is discovered showMessagePopupMock toHaveBeenCalled & toHaveBeenCalledWith
Signed-off-by: Gabriel <gaccettola@mirantis.com>
* fake tray and fake menu parity
Signed-off-by: Gabriel <gaccettola@mirantis.com>
* tray and menu passing tests and lint
Signed-off-by: Gabriel <gaccettola@mirantis.com>
---------
Signed-off-by: Gabriel <gaccettola@mirantis.com>
* fix: Add check in release-tool for no relevant PRs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* fix: Change wording of message while picking PRs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Introduce feature for assigning keyboard shortcuts
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Enable keyboard shortcuts automatically instead of requiring explicit listener to be used in the application
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Start using keyboard shortcuts feature
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Update package-lock after rebase
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Tweak scripts for a package
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Introduce modifier for ctrl or command based on platform in use
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
---------
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Get dev mode fixed
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add empty scripts for windows to satisfy run-script-os
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Refactor out Cluster.apiUrl to direct reading
- Should help prevent using stale data
- Removes some uses of synchronous FS operations
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Rename helper function to better communicate intent
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Improve prometheus handler tests to override less things
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix crash due to non base64 encoded secrets
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update snapshot
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix app crash on quit (#7407)
* Fix app crash on quit
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Back out disabling extensions on quit
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fixup cherry-pick
Signed-off-by: Sebastian Malton <sebastian@malton.name>
---------
Signed-off-by: Sebastian Malton <sebastian@malton.name>