* Use electron.clipboard for all clipboard uses (#4535)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Fix ERR_UNSAFE_PORT from LensProxy (#4558)
* Fix ERR_UNSAFE_PORT from LensProxy
- Use the current list of ports from chromium as it is much easier to
just reject using one of those instead of trying to handle the
ERR_UNSAFE_PORT laod error from a BrowserWindow.on("did-fail-load")
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move all port handling into LensProxy
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* don't use so many exceptions
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Fix not being able to clear set cluster icon (#4555)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Fix extension engine range not working for some ^ ranges (#4554)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Fix crash on NetworkPolicy when matchLabels is missing (#4500)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Replace all uses of promiseExec with promiseExecFile (#4514)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Less noisy metrics-not-available error logging (#4602)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Fix close button overflow in Preferences (#4611)
* Adding basic colors to tailwind theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Using tailwind inline to style close button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Make Select look similar to inputs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Moving styles into separate module
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Convert tailwind commands to css
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Fix prometheus operator metrics work out of the box (#4617)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Fix CRD.getPreferedVersion() to work based on apiVersion (#4553)
* Fix CRD.getPreferedVersion() to work based on apiVersion
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Fix crash for KubeObjectStore.loadAll() (#4675)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* Convert CloseButton styles out from css modules (#4723)
* Convert CloseButton styles out from css modules
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix close button styling
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* release v5.3.4
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
Co-authored-by: Mario Sarcher <mario@sarcher.de>
Co-authored-by: Roman <ixrock@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Juho Heikka <juho.heikka@gmail.com>
Co-authored-by: Jan Jansen <farodin91@users.noreply.github.com>
* Use setTimeout instead of unstable onTransitionEnd
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Remove clicking Disconnect after each test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fixing tests harder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* fix possible race condition in BaseStore persistence
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* cleanup variable names in tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* remove async
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Fix dropdowns not being searchable for ClusterRoleBindingDialog and RoleBindingDialog
- Added some tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix unit test
Signed-off-by: Sebastian Malton <sebastian@malton.name>