Commit Graph
2853 Commits
Author SHA1 Message Date
Jari Kolehmainen 7d9c79b50a bump npm to 8.19.1 (#6176)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-09-07 08:32:40 -04:00
dependabot[bot] 60c5af7520 Bump eslint-plugin-react from 7.30.1 to 7.31.7 (#6186)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 14:08:16 -04:00
Sebastian Malton 4eb71420a5 Move pod-logs test to features folder (#6188) 2022-09-06 14:07:33 -04:00
dependabot[bot] e89afe081c Bump esbuild-loader from 2.19.0 to 2.20.0 (#6172)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 13:35:06 -04:00
dependabot[bot] 658bc5fe99 Bump sharp from 0.30.7 to 0.31.0 (#6184)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 13:34:54 -04:00
dependabot[bot] 3b810598fb Bump @typescript-eslint/eslint-plugin from 5.36.1 to 5.36.2 (#6185)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 13:33:30 -04:00
dependabot[bot] 2e6178760f Bump esbuild from 0.15.6 to 0.15.7 (#6173)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 11:01:03 -04:00
dependabot[bot] 9e924dcdb8 Bump @types/node from 16.11.56 to 16.11.57 (#6174)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 11:00:44 -04:00
dependabot[bot] 6997b4d0db Bump @swc/core from 1.2.246 to 1.2.247 (#6175)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 11:00:28 -04:00
Sebastian Malton f461b85b66 Fix type error in download-logs test (#6167) 2022-09-02 17:01:31 -04:00
Sebastian Malton bab1b13317 Fix envFrom.prefix not being applied in container's env view (#5434) 2022-09-02 13:49:53 -04:00
Sebastian Malton 6ef284560a Use extension version as projectVersion for exported ExtensionStore (#6161) 2022-09-02 09:43:06 -04:00
fc3512daf2 Introduce a centralised way to emit telemetry from calls of injectable functions (#6164)
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Co-authored-by: Juho Heikka <juho.heikka@gmail.com>
2022-09-02 09:33:22 -04:00
dependabot[bot] 60b538eec1 Bump electron from 19.0.14 to 19.0.15 (#6163)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 08:48:15 -04:00
dependabot[bot] 979ff5df76 Bump @swc/core from 1.2.244 to 1.2.246 (#6162)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 08:48:01 -04:00
Lauri Nevala f3ff5117e5 Add Prometheus Helm 14.x metrics provider (#6157) 2022-09-02 08:47:42 -04:00
Lauri Nevala ba49ede36c Reset Prometheus metrics provider on disconnect (#6158) 2022-09-02 08:46:35 -04:00
dependabot[bot] 4ad47f93bc Bump typedoc from 0.23.11 to 0.23.13 (#6153)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 14:48:55 -04:00
Sebastian Malton 0d28af3fe5 Update snapshots from other work (#6160) 2022-09-01 11:26:10 -04:00
dependabot[bot] 58da542179 Bump sass from 1.54.7 to 1.54.8 (#6154)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 10:25:07 -04:00
Sebastian Malton b0d72b78d0 Bump typescript, @typescript-eslint/eslint-plugin, and @typescript-eslint/parser (#6143) 2022-09-01 10:05:32 -04:00
Jim Ehrismann 27871f57b6 reinstate integration tests on windows (#6152) 2022-09-01 09:27:31 -04:00
Alex Andreev 37318cab4e Fix: align sidebar menu items (#6138)
* Introduce sitebar-items.module.scss

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adjust sidebar item styles

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Use classnames from a scss module

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Set sidebar min width to 150px to keep readability

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Break words in long links

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adjust navigation paddings

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Remove unused scss file

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Updating bunch of snapshots

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-09-01 12:52:55 +03:00
Alex Andreev 2fe7668edc Remove requests/limits text data for workload metrics (#6128) 2022-08-31 14:20:35 -04:00
Lauri Nevala cacc92d37a Fix Promethes operator metrics provider detection (#6150) 2022-08-31 11:22:17 -04:00
dependabot[bot] 0a14151e03 Bump sass from 1.54.6 to 1.54.7 (#6147)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-31 08:13:00 -04:00
dependabot[bot] 0c142cf339 Bump react-beautiful-dnd from 13.1.0 to 13.1.1 (#6145)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-31 08:12:41 -04:00
dependabot[bot] 0f515239c8 Bump marked from 4.0.19 to 4.1.0 (#6144)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-31 08:12:19 -04:00
Sebastian Malton 7ad7c89061 Remove release building pipelines (#6117) 2022-08-30 14:45:31 -04:00
dependabot[bot] e89841c51e Bump sass from 1.54.5 to 1.54.6 (#6136)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-30 14:36:04 -04:00
dependabot[bot] 03dc97fefd Bump esbuild from 0.15.5 to 0.15.6 (#6134)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-30 14:35:47 -04:00
dependabot[bot] 76c7d7e52b Bump webpack-dev-server from 4.10.0 to 4.10.1 (#6135)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-30 14:35:30 -04:00
Sebastian Malton c8fe453948 Update failing tests after merge (#6140) 2022-08-30 11:19:14 -04:00
Lauri Nevala da6b7a5b4b Update metric queries used for Helm installed Prometheus (#6139) 2022-08-30 09:18:38 -04:00
Alex Andreev 5795452cc3 Add option to download all logs from the container (#5970)
* Creating callForAllLogsInjectable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add sketch of Download all logs button

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Use randomId while creating pod logs tab

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Initial draft of download all logs tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Introduce download logs dropdown

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Cleaning up Controls component

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Coloring and styling Download logs button

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Drop waiting state on network or other error

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* After clicking on button test cases

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Linter fixes

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Removing previous Download icon

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Respect timestamps and previous props

in callForAllLogsInjectable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Update snapshots

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Update snapshots

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Remove unused .mockReturnValueOnce

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Remove one more unused line

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Cleanin up by overriding internals of logsViewModel

injectable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Replace usage of callForAllLogs with

simple callForLogs

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Use css modules for the Controls component

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Move downloadAllLogs logic to injectable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Move downloadLogs logic to the model

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Remove withInjectables wrapper from LogControls

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Move downloadAllLogs to model

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Testing resolve/reject options for callForLogsInjectable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Catching call for logs errors

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Doesn't show save dialog if no logs received

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* More descriptive describe statement

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Introduce Dropdown component with Menu

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Use <Dropdown/> in Download All Logs dropdown

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix line-break symbol

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Update snapshots

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Return a Promise from downloadAllLogs()

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Extend LogTabViewModel mocks in other tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix downloadAllLogs prop typings

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing linter

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix linter harder

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix selectors in integration test

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Move tests into /behaviours

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-08-30 16:00:11 +03:00
Sebastian Malton 106c3d246a Add data-warning prop on button for better snapshot testing (#6040) 2022-08-30 08:28:20 -04:00
Dominic1DL ac6a5f9b83 Fix IPv6 missing brackets in httpProxy.ServerOptions (#5914) 2022-08-30 08:17:51 -04:00
Sebastian Malton 4b1c9fb5fd Fix doughnut graphs on workload overview sometimes not showing (#5727) 2022-08-30 07:54:18 -04:00
Sebastian Malton 7767216167 Fix issues when using newer @types/semver (#6132)
- All the removed uses of `includePrerelease` that are removed were not
  actually used within the semver package

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-30 09:46:52 +03:00
dependabot[bot] 642300c71f Bump eslint from 8.22.0 to 8.23.0 (#6125)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 10:50:17 -04:00
dependabot[bot] f2c392edde Bump playwright from 1.24.2 to 1.25.1 (#6126)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 10:49:54 -04:00
dependabot[bot] 63d7b9b991 Bump typedoc from 0.23.10 to 0.23.11 (#6124)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 10:49:37 -04:00
dependabot[bot] 45a4de5ae5 Bump @types/semver from 7.3.10 to 7.3.12 (#6127)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 10:48:39 -04:00
Sebastian Malton 70967294e7 Revert eslint-plugin-react to 7.30.1 to fix linting (#6130) 2022-08-29 10:39:14 -04:00
dependabot[bot] 905af0b3a5 Bump marked and @types/marked (#6105)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-26 18:11:51 -04:00
Sebastian Malton 2d32d0ff09 Remove old create-release-script (#6121) 2022-08-26 16:21:24 -04:00
Sebastian Malton 69e45f01be Cherry-pick improvements to creation of release PRs script (#6120) 2022-08-26 16:19:07 -04:00
dependabot[bot] b421e254db Bump dompurify and @types/dompurify (#6109)
Bumps [dompurify](https://github.com/cure53/DOMPurify) and [@types/dompurify](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dompurify). These dependencies needed to be updated together.

Updates `dompurify` from 2.3.10 to 2.4.0
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.3.10...2.4.0)

Updates `@types/dompurify` from 2.3.3 to 2.3.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dompurify)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: "@types/dompurify"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-26 15:50:13 -04:00
dependabot[bot] ca96208520 Bump moment-timezone from 0.5.34 to 0.5.37 (#6108)
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.34 to 0.5.37.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.34...0.5.37)

---
updated-dependencies:
- dependency-name: moment-timezone
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-26 15:49:53 -04:00
dependabot[bot] 92d5558cb8 Bump @typescript-eslint/parser from 5.31.0 to 5.35.1 (#6107)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.31.0 to 5.35.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.35.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-26 15:49:35 -04:00