1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-17 12:17:08 +03:00
Commit Graph

4080 Commits

Author SHA1 Message Date
Sebastian Malton
d2183cb975 chore: Update integration tests to new testid format
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
83244ceefc chore: Fix more lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
747f8cec94 chore: Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
e6bef1a168 chore: Fixup tests snapshots to match new testid behaviour
- Move order-of-sidebar-items to the new package
- Fix the extension sidebar item registrator

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
81293304a7 chore: Convert sidebarItemInjectionToken to use InjectWithMetadata instead of duplicating the IDs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
72a1e2aaa0 chore: Rename sidebar item injectable files
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
8ac66380ad chore: Extract sidebar item injection token into separate package
- Add unit tests to cover custom resources sidebar items

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:46:02 +02:00
Sebastian Malton
add1a0a39e chore: Remove previous daily alpha when trying to create a new one
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:29:13 +02:00
Sebastian Malton
99e6b77fc1 fix: Use correct path for node-shell shell PTY
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-23 10:19:49 +02:00
Sebastian Malton
a20a1eade1 chore: Bumps [electron](https://github.com/electron/electron) from 22.3.7 to 22.3.10
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v22.3.7...v22.3.10)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 15:45:20 -04:00
Sebastian Malton
00f0b9fce4 fix: Remove erroneous prefixes when using loggerInjectable and prefixLoggerInjectable
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-19 14:19:50 -04:00
Gabriel
32a6179681 chore: switch back to arm64
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-17 08:09:59 -04:00
Alex Andreev
2dfb5c00f7
Replace StatusBar bgcolor from --colorInfo to --primary (#7738)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2023-05-17 14:26:13 +03:00
Iku-turso
fc641b3838 chore: Update package-lock.json
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-17 11:55:05 +03:00
Iku-turso
1b5145bac3 chore: Deprecate obsolete ways to log
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-17 11:55:05 +03:00
Iku-turso
62a76d05ab chore: Consolidate to using a shared NPM-script
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-17 11:55:05 +03:00
Iku-turso
f9e5f9bf43 feat: Implement automatic Feature-specific prefixing for logging
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-17 11:55:05 +03:00
Iku-turso
2e4aba735f chore: Bump ogre-tools to permit Feature-specific logging prefixes
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-17 11:55:05 +03:00
Iku-turso
f7b77c781d feat: Expose different ways to log as tokens, and add unit tests
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-17 11:55:05 +03:00
K8s Lens Bot
7c1c7d45e8 Release 6.5.0-alpha.13
Signed-off-by: K8s Lens Bot <info@k8slens.dev>
2023-05-16 16:47:36 -04:00
Sebastian Malton
618a1c7004 chore: Fixup dependencies and ensure no duplication between kinds of dependencies
- Also un-bump xterm-fit-addon as it is only compatible with xterm@^5

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:33 -04:00
Sebastian Malton
a9f48ee93a chore: Simplify file route handling
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:27 -04:00
Sebastian Malton
33a9f3ea35 fix: Copy fonts from @k8slens/core to open-lens correctly
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:27 -04:00
Sebastian Malton
14653c84e6 chore: Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:15 -04:00
Sebastian Malton
4f8e4707f9 fix: Switch to using IAsyncComputed to resolve bad setState error within ClusterOverview from react
- The ClusterOverviewStore (now just ClusterStore) is not an exported type,
  so removing the legacy and wrong-abstraction code from it is not
  a breaking change

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-16 16:42:15 -04:00
K8s Lens Bot
4a7eff1841 Release 6.5.0-alpha.12
Signed-off-by: K8s Lens Bot <info@k8slens.dev>
2023-05-16 08:10:45 -04:00
Sebastian Malton
6fc01284d3 chore: Support and switch to using ^9.6.5 version of NPM
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 15:58:46 -04:00
Sebastian Malton
f2247adfdb chore: Fix dev mode of open-lens running is circles
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 15:58:35 -04:00
Sebastian Malton
1a817d314c chore: Update snapshot after rebase with master
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
978015510a chore: Add some behavioural tests for custom columns for custom resources
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
2ca77ecfe8 fix: Fix StrictReactNode not accepting multiple children
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
9ab8cf7bef chore: Remove incorrect function documentation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
c76b30cf4a chore: Fix typo in CRD view
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
05784f5dfe chore: Fix spelling mistake in CRD type
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
7b57f0d52d chore: Remove unnecessary use of toSafeReactChildrenArray
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
58263497ae chore: Add documenting ref to StrictReactNode type
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
d8823085a8 chore: Change name from SafeReactNode to StrictReactNode
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
e88de58b5d chore: Remove unnecessary use of SingleOrMany<SafeReactNode>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
adb288e48a chore: Update snapshots due to adding new data-testid
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
15b942aa39 chore: Add unit tests to cover the hovering bug
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
9d51ef2aa6 fix: Don't crash when hovering hotbar menu index
- Remove all uses of React.ReactNode as it is unsafe, replace them with
  usages of SafeReactNode which doesn't contain the '{}' type

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
dependabot[bot]
f13a145a27 chore(deps-dev): Bump xterm-addon-fit from 0.5.0 to 0.7.0
Bumps [xterm-addon-fit](https://github.com/xtermjs/xterm.js) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.5...0.7)

---
updated-dependencies:
- dependency-name: xterm-addon-fit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 09:58:32 -04:00
dependabot[bot]
5dd49c1c3c chore(deps-dev): Bump xterm from 4.17.0 to 4.19.0
Bumps [xterm](https://github.com/xtermjs/xterm.js) from 4.17.0 to 4.19.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.17.0...4.19.0)

---
updated-dependencies:
- dependency-name: xterm
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 09:53:23 -04:00
dependabot[bot]
266ee3917d chore(deps-dev): Bump monaco-editor from 0.37.1 to 0.38.0
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.37.1 to 0.38.0.
- [Release notes](https://github.com/microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.37.1...v0.38.0)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 09:53:09 -04:00
Simon Smith
f7755828bf Update package.json
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2023-05-15 09:50:31 -04:00
Gabriel
0c7a0b3787 chore: remove commented code
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
3714fb24c1 chore: half remove unoverride, more to follow
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
cc94b69860 chore: half remove unoverride, more to follow
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
8445d6eabc unbump version
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00
Gabriel
4933b2a402 chore: fix package exports
Signed-off-by: Gabriel <gaccettola@mirantis.com>
2023-05-12 19:57:06 +02:00