Commit Graph
1865 Commits
Author SHA1 Message Date
Roman c6367f9797 Merge remote-tracking branch 'origin/master' into monaco_editor_refactoring
# Conflicts:
#	src/renderer/components/dock/dock.tsx
2021-10-11 12:58:15 +03:00
Alex Andreev b2b3c44695 Closing dock tabs with cmd+w on mac (#3849)
* Change Close menu item accelerator

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

* Listening global keydown event in <Dock/>

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

* Prevent terminal to fire custom event

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

* Refresh tooltip hint

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

* Make Tab line gray if Dock isn't focused

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-10-11 10:06:43 +03:00
Roman e9ee815cc8 fine-tuning / more fixes
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-10 18:35:19 +03:00
Roman 59efe2a544 - added initial tests for dock/__test__/dock-tab.store.test.ts
- fix: make DockTabStore.init() as public/async / handle opts.autoInit == false
- fix: increased terminal-tab window spacing

Signed-off-by: Roman <ixrock@gmail.com>
2021-10-10 17:40:18 +03:00
Roman 10a7db54d0 fix: refresh terminal's available space (cols/rows) on dock's resize
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-09 22:21:36 +03:00
Roman 103566f4bf master merge fixes
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-09 21:49:21 +03:00
Roman e527cafde7 Merge remote-tracking branch 'origin/master' into monaco_editor_refactoring
# Conflicts:
#	src/renderer/bootstrap.tsx
#	src/renderer/components/+apps-releases/release-details.tsx
#	src/renderer/components/dock/__test__/log-tab.store.test.ts
#	src/renderer/components/dock/create-resource.tsx
#	src/renderer/components/dock/dock.store.ts
#	src/renderer/components/dock/edit-resource.store.ts
#	src/renderer/components/dock/edit-resource.tsx
#	src/renderer/components/dock/editor-panel.tsx
#	src/renderer/components/dock/log-tab.store.ts
#	yarn.lock
2021-10-09 21:44:22 +03:00
Roman d7006e63ea ui/ux: improved handling editor's focus when interacting with <Dock/>
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-09 21:39:11 +03:00
Roman 118d07cfb9 fix: provide validation error to <InfoPanel/> via MonacoEditor.props.onError()
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-09 20:11:00 +03:00
Roman 091ef1f11a provide validation error via props.onError()
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-09 18:09:27 +03:00
Roman adbe6cad69 fix: always use string for monaco.editor.setValue(value) / handle undefined
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-09 17:31:06 +03:00
Roman 5093b094f6 monaco editor value validators -- part 1
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-08 23:01:36 +03:00
dependabot[bot] a3765211de Bump ts-node from 10.1.0 to 10.2.1 (#3994)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-08 12:26:54 -04:00
Roman 18ca0aab86 fix: restore editor's model state (cursor pos, selection, etc.) on any dock tabs change
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-08 17:26:18 +03:00
dependabot[bot] 7193231422 Bump typescript from 4.3.2 to 4.4.3 (#3993)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-08 09:47:43 -04:00
Sebastian Malton 0cd3931d67 Don't run store migrations on renderer (#3968) 2021-10-08 09:15:40 -04:00
dependabot[bot] 40835ae3a2 Bump @types/proper-lockfile from 4.1.1 to 4.1.2 (#3991)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-08 09:10:44 -04:00
dependabot[bot] a5b432bff0 Bump tcp-port-used from 1.0.1 to 1.0.2 (#3992)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-08 09:10:24 -04:00
Sebastian Malton cdb57f4c97 Remove directly depending on openid-client (#3935) 2021-10-08 09:02:32 -04:00
Roman f86fc022f3 - fixed animation for open/close <Dock/>'s UI state
- added helper dockStore.onTabClose(): IReactionDisposer for easier clean up

Signed-off-by: Roman <ixrock@gmail.com>
2021-10-08 13:57:04 +03:00
07c8177a97 Feature/port forward dashboard (#3922)
* Added ability to add custom port on pod and service port forwarding (#3295)

* Added ability to add custom port on pod and service port forwarding

Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com>

* Added ability to add custom port on pod and service port forwarding

- pod-container-port fixed init async and active port checking
- service-port-component fixed init async and active port checking
- port-forward-route promise and response fix

Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com>

* Added ability to add custom port on pod and service port forwarding

Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com>

* - Added Custom Port Selection for port forwarding
- Implemented Random Port if custom port is not provided

Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com>

Co-authored-by: Saumya Shovan Roy <saumyashovanroy@gmail.com>

* cherry-pick of hackweek work plus merge conflicts/build errors

    added a route to get all port forwards

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    Added Forwarded Ports to cluster dashboard

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    working port-forward page (open, edit, remove)

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    added local storage to the port-forward store

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    automatically restore port-forward after pod is restarted

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    start port-forwards using random local port by default, rearranged pod and service port-forward UI

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* refactor

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* more refactoring, don't always open port-forwards in browser, refined reused port-forward dialog

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* removed unimplemented forwarded port details page,modified logging

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* addressed some review comments

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* made port and forwardPort query params and cleaned up port-forward routing paths

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* address more review comments and change dashboard tab name to 'Port Forwarding'

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* changed port and forwardPort fields to be Numbers

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* removed extraneous reset() call, reorder field declarations

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* port-forward now gets the bundled kubectl path without going through the 'ensureKubectl' hoops

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* more cleanup/tweaking

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* fix bug where port-forward info did not update on pod details page when different pod (in same deployment?) is clicked

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

Co-authored-by: Saumya Shovan Roy (Deep) <12953177+rdeepc@users.noreply.github.com>
Co-authored-by: Saumya Shovan Roy <saumyashovanroy@gmail.com>
2021-10-07 15:51:26 -04:00
Sebastian Malton e10c13cdf4 Switch integration tests to get application menus by IDs (#3912) 2021-10-07 15:30:52 -04:00
Juho HeikkaandSebastian Malton 724b9450a6 Change onBeforeRun API (#3981)
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-10-07 12:43:50 -04:00
dependabot[bot] 58f7bcb38d Bump @types/react-router-dom from 5.1.6 to 5.3.1 (#3976)
Bumps [@types/react-router-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-router-dom) from 5.1.6 to 5.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-router-dom)

---
updated-dependencies:
- dependency-name: "@types/react-router-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-07 10:09:50 -04:00
Sebastian Malton 913244b204 Catch metadata being undefined at KubeObject creation (#3960) 2021-10-07 10:09:21 -04:00
dependabot[bot] 433c2c0d4d Bump typedoc from 0.21.0-beta.2 to 0.22.5 (#3977)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.21.0-beta.2 to 0.22.5.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/commits/v0.22.5)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-07 10:09:00 -04:00
dependabot[bot] 15a5ddc6e6 Bump @typescript-eslint/eslint-plugin from 4.29.0 to 4.33.0 (#3978)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.0 to 4.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/eslint-plugin)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-07 10:08:51 -04:00
dependabot[bot] 0f4250d1e6 Bump path-to-regexp from 6.1.0 to 6.2.0 (#3975)
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v6.1.0...v6.2.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-07 10:08:43 -04:00
Sebastian Malton 31f84234a0 Fix taints on nodes view (#3957)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-10-07 10:08:34 -04:00
Jim Ehrismann d4eeacd9c3 release v5.3.0-alpha.0 (#3966)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-07 10:07:55 -04:00
Roman dfd1f06977 detach dock-views registration from dock.tsx
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-07 16:20:53 +03:00
Sebastian Malton ae96ae7d50 Update extension's package-lock.json files
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-10-06 15:24:17 -04:00
Roman e66ed4709b fix: apply global editor settings from app preferences
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-06 17:38:18 +03:00
dependabot[bot]andSebastian Malton cf25b1c7eb Bump tempy from 0.5.0 to 1.0.1 (#3964)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-10-06 10:24:05 -04:00
dependabot[bot] 3a461ee3bf Bump win-ca from 3.2.1 to 3.4.5 (#3963)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-06 08:40:11 -04:00
dependabot[bot] b688fd8b6e Bump sharp from 0.29.0 to 0.29.1 (#3962)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-06 08:35:18 -04:00
Roman c4aa88183f dock-tabs: create-resoure refactoring & fixes
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-06 14:56:04 +03:00
chhandSebastian Malton 4af796c532 Before hook for onRun of Catalog entities (#3911)
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-10-05 15:36:44 -04:00
Marc Bachmann 851274d314 Fix prometheus operator support (#3653) 2021-10-05 12:35:57 -04:00
Roman 7355f61465 fix tests
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-05 17:25:30 +03:00
Roman b421591931 refactoring dock-tab stores -- part 3
Signed-off-by: Roman <ixrock@gmail.com>
2021-10-05 16:49:51 +03:00
dependabot[bot] e329ffd52c Bump @types/react-table from 7.7.0 to 7.7.6 (#3953)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 09:17:56 -04:00
dependabot[bot] 81bc350dfe Bump @types/jest from 26.0.22 to 26.0.24 (#3951)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 09:17:50 -04:00
dependabot[bot] 7b9798de78 Bump eslint from 7.7.0 to 7.32.0 (#3954)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 09:12:37 -04:00
dependabot[bot] 21c452eb48 Bump electron-updater from 4.5.2 to 4.6.0 (#3952)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 09:01:07 -04:00
Sebastian Malton 4705a66632 Use JSON patch for editing components (#3674) 2021-10-04 16:28:19 -04:00
Sebastian Malton 8b1de233f2 Don't override entity source on cluster icons (#3928) 2021-10-04 14:38:14 -04:00
Sebastian Malton f2c623f89e Specify tableId for DeploymentReplicaSets (#3950) 2021-10-04 14:32:15 -04:00
Gabriel Henriquesandgabriel.henriques gabriel.henriques 2ff91b0ecf Added tooltipOnParentHover to taint tooltip on nodes list page (#3939)
Co-authored-by: gabriel.henriques gabriel.henriques <gabriel.henriques@g.globo>
2021-10-04 13:15:08 -04:00
dependabot[bot] 1d045ec62c Bump deepdash from 5.3.5 to 5.3.9 (#3947)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-04 13:14:59 -04:00