Sebastian Malton
005ed1c34e
Remove uses of legacy global logger from injectables ( #6660 )
...
- Clean up some of them to use more injectables
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-29 08:56:09 -05:00
Sebastian Malton
9589175604
Make EntitySettingRegistry fully injectable ( #6604 )
...
* Make EntitySettingRegistry fully injectable
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add behavioural tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Revert tsconfig change
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Update snapshot
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Improve naming
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-28 12:13:15 -05:00
Sebastian Malton
286e6c8de7
Make PrometheusProviderRegistry fully injectable ( #6592 )
...
* Stop using source code in build file
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add new injectable version of binaryName
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add new NormalizedPlatform type
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Switch legacy execHelm to use legacy global DI for binaryPath
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Remove dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Introduce injectable for kube auth proxy certs
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Introduce injectable forms of PrometheusProviders
- Remove class requirement
- Make everything injectable
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Update tests to not use private functions
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Cleanup creating binary names and paths
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-25 09:19:57 -05:00
Sebastian Malton
65b14b9e7b
Improve UX for shell env sync failure ( #6644 )
...
* Move files to be under a feature folder
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add error notification on shell sync failure
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Improve error handling of case where match is not found
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-25 04:53:09 -08:00
Sebastian Malton
27fb128c05
Handle globalAgent having a single non-array CA ( #6628 )
...
* Handle globalAgent having a single non-array CA
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Rewrite ternary as IIFE
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-24 11:28:33 -08:00
Sebastian Malton
6142aad5ab
Make ResourceStack fully injectable ( #6591 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-24 08:46:53 -05:00
Jari Kolehmainen and Sebastian Malton
245e132ada
Fix KubeApi watch retry on timeout ( #6640 )
...
* fix KubeApi watch retry on timeout
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2022-11-24 08:44:35 -05:00
Alex Andreev
95cee3bcc8
Removing big padding after cluster settings avatar ( #6634 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-23 14:52:13 +03:00
Sebastian Malton
573cd83bfb
Fix crash when upgrading release ( #6626 )
...
* Fix crash when upgrading release
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix crash when upgrading helm releases
- Fixes not being able to upgrade helm releases as well.
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix test failures
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-23 03:38:37 -08:00
Janne Savolainen
892b105a6b
Add missing gutter between sections in cluster settings ( #6631 )
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
2022-11-23 12:16:46 +03:00
Sebastian Malton
0eee5a07c5
Remove mac-ca usage since it was only in tests ( #6043 ) ( #6321 )
...
* Remove mac-ca usage since it was only in tests (#6043 )
* Make injecting CAs injectable, remove mac-ca as dependency
* Fix win-ca failing on electron renderer on windows
* Fix the matcher under features/ for main
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix type errors from new types
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Temp change to see windows errors on CI
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix temp change
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Change error message for windows
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Increase maxBuffer size when reading windows CAs
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Switch back to running integration tests on windows
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix usage after rebase
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Update lock file
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-22 15:23:01 -05:00
Andreas Hippler and Andreas Hippler
6d7090f8a7
fix: getAllowedResources for all namespaces using SelfSubjectRulesReview ( #6614 )
...
* fix: getAllowedResources for all namespaces using SelfSubjectRulesReview
Signed-off-by: Andreas Hippler <andreas.hippler@goto.com >
* fix: refresh accessibility every 15 min
Signed-off-by: Andreas Hippler <andreas.hippler@goto.com >
* chore: remove unused clusterRefreshHandler
Signed-off-by: Andreas Hippler <andreas.hippler@goto.com >
* fix: resolve SelfSubjectRulesReview globs
Signed-off-by: Andreas Hippler <andreas.hippler@goto.com >
Signed-off-by: Andreas Hippler <andreas.hippler@goto.com >
Co-authored-by: Andreas Hippler <andreas.hippler@goto.com >
2022-11-22 09:48:59 -08:00
Sebastian Malton
98e42cf25f
Make ClusterFrameManager fully injectable ( #6590 )
...
* Make ClusterFrameManager fully injectable
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-22 09:10:22 -05:00
Jim Ehrismann
7b5e1b8a31
Update Button, keep left ( #6612 )
...
* Update Button, keep left
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
* update snapshots
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2022-11-18 16:28:48 -05:00
dependabot[bot] and Sebastian Malton
9c64ddd59e
Bump typescript from 4.8.4 to 4.9.3 ( #6606 )
...
* Bump typescript from 4.8.4 to 4.9.3
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.8.4 to 4.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.8.4...v4.9.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2022-11-18 10:10:23 -05:00
Sebastian Malton
1b6f64c523
Remove spdy support ( #6580 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-17 13:02:47 -05:00
Sebastian Malton
56e7897bc4
Block renderering non http(s):// links via <Icon> ( #6588 )
...
* Block renderering non http(s):// links via `<Icon>`
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix type error
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Still render icon, just without href
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Update tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-17 11:10:54 -05:00
Panu Horsmalahti
1861fe2049
Allow computed tray menu for extensions ( #6598 )
...
* Add computed tray menu for extensions.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Use disposer. Fix style.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Register/reregister injectables by id.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2022-11-17 11:03:25 -05:00
Sebastian Malton
a91e3a7f8e
Fix not using the users configured shell for sync ( #6589 )
...
* Fix not using the users configured shell for sync
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix issue with use of userShellSetting in ShellSessions
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-17 10:15:56 -05:00
Sebastian Malton
a89eb486d8
Fix not being able to install Lens metrics ( #6597 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-17 09:56:10 -05:00
Sebastian Malton
8dd1d1a8fa
Add winston formatting support for error causes ( #6576 )
...
* Add winston formatting support for error causes
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix failing to run built version
- Finally make logger fully injectable
- Simplify startMainApplication to only have runMany(Sync) invocations
to fix time of use bugs related to logger
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Remove legacy type enforced ipc to fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix type error
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-17 14:56:16 +02:00
Sebastian Malton
bc1d11aca7
Do not mark terminating namespaces as disabled ( #6577 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-16 04:34:49 -08:00
Sebastian Malton
05ab0a3f55
Remove hyperlink of Helm Maintainers ( #6579 )
...
- Instead just show the name and email
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-16 04:34:34 -08:00
Sebastian Malton
3ad841bc15
Fix CronJob trigger menu missing ( #6581 )
...
- It was only missing for users of newer versions of Kube
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-16 04:31:31 -08:00
Sebastian Malton
9ed64a29df
Fix auto finding logic of preferred versions ( #6573 )
...
* Fix auto finding logic of preferred versions
- The kube preferred version might not contain the resource requested in
some kube versions. Whereas the resource does exist on some previous
api version
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Simplify getOrderedVersions
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Split test file
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix grammer
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-15 11:04:51 -05:00
Sebastian Malton
86ac417cab
Upgrade to latest node-fetch ( #6046 )
...
* Upgrade to latest node-fetch
- Introduce injection tokens for retriving the implementation of
node-fetch via await import() calls
- Add webpack file for compiling node-fetch to electron-renderer single
file format
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Update lock file
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add type packages which were removed for some reason
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add more dev @types deps that weren't added last time
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Simpify by using webpack to create a commonjs package
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix build for integration tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix unit tests on CI not having all deps
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Revert accidental timeout change
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Replace manually specifying nodeJS externals with preset
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-14 10:46:53 -05:00
Sebastian Malton
5c34d65de8
Fix cron jobs not being viewable on newer kube ( #6542 )
...
* Replace use of legacy globals with injectables
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Remove dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix error shown to users when load fails
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Switch CronJob default apiBase
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-10 15:34:58 +02:00
Jari Kolehmainen
fadcba1d75
detach shell process in computeUnixShellEnvironmentInjectable ( #6551 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2022-11-10 08:40:05 +02:00
Sebastian Malton
610c195cf5
Fix non-bundled extensions not working ( #6543 )
...
- Stop omitting the optional dependencies (which happens to also
just remove them)
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-09 15:39:15 -05:00
Iku-turso and Janne Savolainen
bf11a482c2
Preserve preference URLs ( #6501 )
...
* Add line breaks for readability of a long warning message
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Preserve URLs leading to extension preferences
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Tweak variable name for readability
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
2022-11-09 09:09:36 +02:00
Sebastian Malton
5ae60e218c
Fix installing extension dependencies ( #6537 )
...
- The --only option was removed in v7 and the --omit option was
introduced then too.
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-08 10:00:35 -05:00
Sebastian Malton
4cf16e1aee
Fix jsonPath functions ( #6530 )
...
* Fix jsonPath functions
- Add handling of / shorthand
- Update tests to show new behaviour of safeJSONPathValue so that it is more usable
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Defend CRDResourceDetails against bad jsonPaths
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Update CRDResources for new behaviour of helper function
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Update snapshots
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-08 10:00:23 -05:00
Sebastian Malton
077c49f97d
Fix computeUnixShellEnv tests ( #6532 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-07 15:35:19 -05:00
Sebastian Malton
c00b548d61
Improve unix shell env sync error logging ( #6531 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-07 14:57:25 -05:00
Sebastian Malton
b498f12186
Refactor runnables ( #6528 )
...
* Convert runManyFor to use composite
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Convert runManySyncFor to use composite and to enfore sync-ness
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Remove dead code
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Convert getStartableStoppable to be always sync as it is never used in an async fashion
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Convert all sync runnables to comply with new checks for sync-ness
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-07 19:04:56 +02:00
Alex Andreev
82ab60d544
Fix for Menu component memory leak ( #6526 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-07 09:54:02 -05:00
Sebastian Malton
2370928ea7
Fix syncing shell environment when using fish ( #6502 )
...
* Fix syncing shell environment when using fish
- Add some better logging for the future
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add some unit tests to codify assumptions
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix timeout
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Update tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix handling of '' in env
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Add function description
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-11-04 09:25:29 -04:00
Jari Kolehmainen
d63bf277b2
Fix compute unix shell environment timeout ( #6516 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2022-11-04 07:20:19 -04:00
Alex Andreev and Janne Savolainen
c527014011
Expose a way to add cluster frame components in Extension API ( #6385 )
...
* Add cluster modals registrator
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add ClusterModal components and injection token
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add clusterModals tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots and use css modules
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting 0 height as an inline style
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Do not export clusterModalsInjectionToken to extensions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Testing changing visibility flag
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refactor cluster modals registrator and injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Harder linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linter again
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using clusterFrameChildComponentsInjectionToken
for specific extension elements
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused modal registration
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Improving tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linting
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update snapshots
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Rename test suite for consistency
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
2022-11-04 09:15:16 +03:00
Jari Kolehmainen
cd6df109aa
React on any KubeObjectStore eventsBuffer change, not just length ( #6490 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2022-10-31 11:23:13 -04:00
Sebastian Malton
900f02fd8c
Remove global version of appEventBus ( #6096 )
...
* Remove global version of appEventBus
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Introduce a temporary but better shape of ExecFileInjectable error
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-10-31 14:59:05 +02:00
Iku-turso and Janne Savolainen
646e953d47
Bump ogre-tools and adapt to breaking changes ( #6481 )
...
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
2022-10-27 12:06:03 +03:00
Sebastian Malton
2403e6d0cb
Change log level to file always be debug ( #6462 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-10-26 16:02:39 -04:00
Iku-turso and Janne Savolainen
37eb236948
Refactor and transform "Application update", "Preferences" and "Application menu" into Features ( #6437 )
...
* Move some code for application update to feature directory
The rest of the code could not be moved yet because of work-in-progress refactorings for OCP compliance.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Introduce helper to get a global override for a function-injectable
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Extract global override-files from bloated getDiForUnitTesting
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Move some more code for application update to feature directory
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Introduce competition for top bar items to achieve OCP-compliance
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Extract top menu item for opening context menu using the new competition
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Extract top menu item for navigating to home as OCP
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Extract top menu item for navigating to back as OCP
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Extract top menu item for navigating to forward as OCP
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Extract top menu item for application update as OCP
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Format code to make ongoing refactoring a bit easier
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Add missing unit tests for top bar extendability using extension API
This makes ongoing refactoring easier.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Replace implementation for old top-bar items for losing competition
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Extract top menu item for window controls as OCP
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Introduce reusable component for spacing between other components
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce helper component to render list of React elements
Features:
- Placeholder for empty list
- Separators between items
- No boilerplate for "key" prop in React
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix double-clicking and dragging of window from top bar
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update snapshots
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix stuff broken in rebase
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Update snapshots after rebase
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make fake time have a default value for "now"
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Migrate some application menu items to injectables
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Consolidate separators of application menu in single file
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Remove duplication from separators in application menu
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Extract some operation system actions from application menu as injectables
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Extract menu item for quitting application as injectable
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Introduce way to type narrow a string property
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make the di's for unit testing able to auto-register also named exports
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make global override less strict to simplify setup of many unit tests
There's a better solution for this in the horizon, as this overridden thing is better faked than stubbed.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Simplify a test
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Introduce way to create hierarchical composites from a flat array
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Implement hierarchy of application menu items using "many-root" composite
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Migrate more application menu items to injectables
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Simplify hierarchy of application menu items using "single-root" composite
Also solve composed typing of application menu by using Discriminated Unions of TypeScript, see: https://www.typescriptlang.org/docs/handbook/2/narrowing.html#discriminated-unions
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update snapshot
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Simplify creation of composite
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make composite able to have custom handler for missing parent ids
This will be useful next for application menu items, where a missing parent id cannot be fatal.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Defend against self-referencing composites
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Reintroduce non-fatal handling of orphan application menu items
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make faked, yet weak, typing a bit stronger
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Simplify getting of composite paths
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make registrator for application menu items support all known scenarios
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Add logging for unrecognizable application menu item types
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Rename id of menu item to keep it discoverable by existing extensions
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Consolidate code to check for updates closer to feature
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Introduce reusable horizontal line
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for preferences as a Feature
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for terminal preference tab
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for editor preference tab
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for proxy preference tab
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for telemetry preference tab
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for application preference tab
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Move code related to helm chart preferences under related Feature in preparation for competition
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for kubernetes preference tab
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Switch to using competition for application preferences
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Switch to using competition for editor preferences
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Switch to using competition for kubernetes preferences
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Switch to using competition for proxy preferences
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add missing observer to make sure component updates
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Switch to using competition for telemetry preferences
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Switch to using competition for terminal preferences
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak UI for preferences
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove dead code
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Tweak more UI of preferences
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Revert "Introduce reusable horizontal line"
This reverts commit 4d8c147fe0f1a14bd884f73cf345e7d3a28b954a.
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove dead code
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce utility to find exactly one item from array
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce competition for preferences navigation
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Move code under a Feature
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove usage of old code
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove dead code
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add extensions tab group to preferences
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce way to find out if composite has a descendant
This will serve eg. hiding of empty preference tab groups.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make tab groups and tabs in preferences not render when there is no content
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Remove code made redundant with hiding of preference tabs without content
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Tweak UI for preference navigation tab groups
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Introduce test helper to abstract discovery of HTML elements
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Kill dead code
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate discovery of HTML elements in some tests
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update snapshots
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Adapt application builder to changes in preference navigation
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Adapt test setup to changes in preference navigation
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove uninteresting technical tests that are covered by behavioural ones
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate discovery of HTML elements in a test
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove test ID made redundant by consolidating discovery of HTML elements
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove duplication from preference pages
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix import
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make queries in element discovery return matching attribute values for easier testing
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make element discovery able to do nested discovery
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make element discovery able to discover without value for attribute
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Implement registrator for preference items
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update snapshots
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make styling less brittle by not relying on static HTML-element structures with CSS-rules
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Add todo
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Remove "group" from preference types, as it is exact replica of "item"
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Update snapshots
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Replace usages of react-component factory with actual components for simplicity
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Start considering application preferences as default tab
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate naming
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make sense in horizontal lines
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Clean public interface of a normalize composite
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate name of function
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate directory structure of composite
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Move utility functions to common
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Rename a preference item type to better communicate intent in UI
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Move shared UI component to more common place
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate sizing of horizontal line to t-shirts
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Move application update related preferences under application update feature
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make winner of competition to use original route for preferences
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make HTML element discovery require less parameters
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Extract "composable-responsibilities" for Discriminable, Labelable, Orderable, and Showable
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Update snapshot
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Remove dead code
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Move code under a feature
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Consolidate navigating to preferences
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Move code under a feature
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Relocate code under a sub-feature
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add TODO
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove dead code
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix merge conflicts
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update snapshots after rebase
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix import path after rebase
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove duplication from exhaustiveness checks for discriminating unions
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Add TODO
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update link to a more recent article
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Simplify static Showability of a PreferenceItem
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Move general function to general directory
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Extract responsibility of "separability"
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make separator in Map-component know left and right item
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Remove additional separators when separated items are not shown for having no content
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Update snapshots
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix lint error
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Adapt integration test to recent changes
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Adapt more integration tests to recent changes
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make composite not care about in formatting of ids
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Adapt application builder and tests to array-like paths over string-like paths
Array-like paths do not have weakness for special characters as part of id, such as ".".
Also note: the error messaging for clicking of application menu in application builder is a bit worse now I think, but the simplification of the test code is worth it in this case IMHO.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make composite not care about formatting of ids
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Adapt application builder and tests to array-like paths over string-like paths
Array-like paths do not have weakness for special characters as part of id, such as ".".
Also note: the error messaging for clicking of application menu in application builder is a bit worse now I think, but the simplification of the test code is worth it in this case IMHO.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Consolidate output of get-composite-path to match find-composite's input
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make global overrides for functions log args of the call for devability
Also make the thrown error suggest how to fix the problem.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make attempts to log error throw in unit tests
Errors cannot be allowed to happen without a unit test explicitly causing it. Errors cannot be allowed to happen without author of unit test knowing it.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make composite not know about how children are transformed
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Remove some duplication from tests of composite
Also make the thrown error suggest how to fix the problem.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make composite unit test an unrealistic test scenario about undefined ids
Also make the thrown error suggest how to fix the problem.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Kill dead code
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Simplify unit tests for composite
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Consolidate tests to now point-free composite
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Simplify "Showable"
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make non-shown application menu items not break composite structure
This was made apparent by adding related unit tests for all known environments.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Simplify usages of Orderable and Showable
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Extract being maybe Showable as explicit composable responsibility
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make more showables maybe showable
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Consolidate logic for application menu for Windows to be based on composite
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Start using named export for composite
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Rename type for accuracy
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Remove unnecessary type and value
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make composable responsibilities readonly to nudge towards immutability
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Remove a bit of duplication to create TS-constants
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Make a comment and test name make more sense
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Simplify fallthrough in a switch/case
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Replace inline styles with proper CSS
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Switch to correct type to indicate "object which might not contain a property"
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Simplify overriding of platform in a unit test
Also make typing of platforms more strict, and remove some magic strings.
Also add a TODO for further OCP-ification.
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Consolidate some "maybe-types" and arguments using them
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
* Update snapshots
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
2022-10-26 11:16:23 -04:00
Lauri Nevala
c30aae2bec
Fix manually set prometheus service address to work after re-connect ( #6435 )
...
* Fix manually set prometheus service address to work after re-connect
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Fix manually set prometheus service address to work after re-connect
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Setup prometheus also on contenxt handler constructor
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2022-10-24 16:02:41 -04:00
Sebastian Malton
d84d2e28a1
Fix syncing shell env on TCSH and CSH ( #6453 )
...
* Fix syncing shell env on TCSH and CSH
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Refactor computeUnixShellEnvironment to be clearer
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-10-24 11:36:12 -04:00
Jari Kolehmainen
8a2492a24a
Increase log file maxsize from 16KB to 1MB ( #6458 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2022-10-24 07:47:34 -04:00
Sebastian Malton
4f7776789b
Update all links within application ( #6442 )
...
- URLs removed the /latest/ and /main/ pathname prefixes
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2022-10-21 16:34:58 -04:00
Damien Degois
8bc5856b8c
Fix AppImage windows not showing the application icon ( #6444 )
...
Signed-off-by: Damien Degois <damien@degois.info >
Signed-off-by: Damien Degois <damien@degois.info >
2022-10-21 14:55:11 -04:00
Jari Kolehmainen
97fc7cf6fb
Export node-pty spawn from main to extensions ( #6438 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2022-10-20 11:02:49 -04:00