1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer
Roman df686a64b9 Reverted "use {useDefineForClassFields: true} in tsconfig.json" (various app-crash fixes)
This flag seems to be not possible to use with class-inheritance in some cases.

Example / demo:
`KubeObject` class has initial type definitions for the fields like: "metadata", "kind", etc.
and constructor() has Object.assign(this, data);
Meanwhile child class, e.g. KubeEvent inherited from KubeObject and has it's own extra type definitions for underlying resource, e.g. "involvedObject", "source", etc.

So calling super(data) doesn't work as expected for child class as it's own type definitions overwrites data from parent's constructor with `undefined` at later point.

Signed-off-by: Roman <ixrock@gmail.com>
2021-05-12 17:13:13 +03:00
..
api Reverted "use {useDefineForClassFields: true} in tsconfig.json" (various app-crash fixes) 2021-05-12 17:13:13 +03:00
components Reverted "use {useDefineForClassFields: true} in tsconfig.json" (various app-crash fixes) 2021-05-12 17:13:13 +03:00
fonts Extension support page (#1112) 2020-10-24 09:24:54 +03:00
hooks storage-helper refactoring 2021-05-07 14:16:11 +03:00
ipc Fix display name on accessible namespaces notification (#2657) 2021-04-29 08:29:32 -04:00
navigation fix: namespace-store refactoring / saving selected-namespaces to external json-file 2021-05-10 15:55:07 +03:00
protocol-handler mobx-6: replacing @autobind() as method-decorator to @boundMethod 2021-05-06 17:24:11 +03:00
themes Polishing settings styles (#2534) 2021-04-19 15:19:09 +03:00
utils - fix: persist table-sort params and cluster-view's sidebar state to lens-local-storage 2021-05-10 23:22:36 +03:00
bootstrap.tsx refactoring: extensions-api exports clarification for "@k8slens/extensions" 2021-05-12 14:04:42 +03:00
item.store.ts normalize usages of #observable-value.toJSON() / attempt to catch the wind 2021-05-08 13:52:12 +03:00
kube-object.store.ts fix: don't cache mobx.when(() => this.someObservable) cause might not work as expected due later call of makeObservable(this) in constructor 2021-05-10 17:35:20 +03:00
lens-app.tsx Extensible welcome page (#2637) 2021-04-27 11:24:39 +03:00
mui-base-theme.tsx Add the ability to sync kube config files (#2567) 2021-04-30 16:48:20 +03:00
template.html Set product name to window title (#2665) 2021-04-28 15:40:25 -04:00
theme.store.ts mobx-6: replacing @autobind() as method-decorator to @boundMethod 2021-05-06 17:24:11 +03:00