1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

1365 Commits

Author SHA1 Message Date
Hung-Han (Henry) Chen
9c186ab65b
Varible name chanages: dsn -> sentryDsn; isValidDsn -> isValidSentryDsn
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:39:09 +03:00
Hung-Han (Henry) Chen
7ee40d5edd
Refactor
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:39:09 +03:00
Hung-Han (Henry) Chen
86f05e11e3
Add regex to enhance dsnIsValid
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:39:09 +03:00
Hung-Han (Henry) Chen
e9a9f44b83
Fix rebase error
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:39:01 +03:00
Hung-Han (Henry) Chen
7866ad8d5d
Remove Boolean(url)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:38:37 +03:00
Hung-Han (Henry) Chen
d2336d1e85
Refactor
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:38:37 +03:00
Hung-Han (Henry) Chen
f2989f6127
Remove unused @sentry/browser @sentry/types and @sentry/utils
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:38:36 +03:00
Hung-Han (Henry) Chen
16d19c7d00
Add sentryDsn to package.json, and do not init Sentry (and error report checkbox) if dsn is not valid
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:38:33 +03:00
Hung-Han (Henry) Chen
4fb7113593
Add UI to disable Sentry
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:37:49 +03:00
Hung-Han (Henry) Chen
728774a3c2
Fix *.init() is undefined exception
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:37:48 +03:00
Hung-Han (Henry) Chen
749c0e428b
Remove process.env
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:37:48 +03:00
Hung-Han (Henry) Chen
76ce64c20e
Use import
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:37:48 +03:00
Hung-Han (Henry) Chen
c88c8434c7
Fix typo rocess.env.NODE_ENV
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:37:48 +03:00
Alex Andreev
0105c66c9f
Setting up environment prop
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-08 10:37:48 +03:00
Alex Andreev
f7bcad0717
Usign Sentry.ErrorBoundary
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-08 10:37:47 +03:00
Hung-Han (Henry) Chen
6616c0b937
Add initialScope (tags)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:37:47 +03:00
Hung-Han (Henry) Chen
d3abeac7dc
Add @sentry/browser, @sentry/types and @sentry/utils
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:37:47 +03:00
Hung-Han (Henry) Chen
43e8a79d66
Add captureReactErrorBoundaryError
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:37:47 +03:00
Hung-Han (Henry) Chen
bcd43e9cc4
Add dsn
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:37:47 +03:00
Hung-Han (Henry) Chen
da58c17b2c
Add integration to main
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:37:46 +03:00
Hung-Han (Henry) Chen
6eced04c76
Add process.type to be used by Sentry
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:37:46 +03:00
Hung-Han (Henry) Chen
1bf6f5a94e
Add @sentry/electron and @sentry/integrations
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
2021-07-08 10:37:46 +03:00
Sebastian Malton
497e47b277
Automatically sync all kubeConfigPaths (#3227) 2021-07-07 16:29:58 -04:00
Sebastian Malton
fe443f462b
Fix table columns being hidden after changing any user preference (#3302)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-07 15:48:00 -04:00
Sebastian Malton
17a8044647
Add logging on proxy error (#3303)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-07 09:42:16 -04:00
Alex Andreev
f7ad554108
Fixing initial scroll-to-bottom in pod logs (#3281)
* Fixing scroll to bottom in pod logs

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

* Fixing invalidDate error if no timestamp provided

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-07-07 09:35:40 +03:00
Sebastian Malton
a301283adc
Fix unhandled exception in visibility handler (#3291)
- If an KubernetesCluster entity is being deleted then the
  catalogEntityRegistry.getById() will return undefined. This leads to
  an unhandled exception in the handler because we tried to read
  apiVersion. This commit changes it so that we get the apiVersion and
  kind from KubernetesCluster class itself

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-07 09:30:07 +03:00
Sebastian Malton
b03eb443c9
Await kubeconfigPathP for fish shell args (#3286)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-07 09:20:17 +03:00
dependabot[bot]
eca03ddd6f
Bump dompurify from 2.0.11 to 2.3.0 (#3282)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.11 to 2.3.0.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.11...2.3.0)

---
updated-dependencies:
- dependency-name: dompurify
  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-07-06 16:39:02 -04:00
Sebastian Malton
0f9f79a8c9
Emit an error on async fromStore (#3285) 2021-07-06 11:05:07 -04:00
Sebastian Malton
803c3a3d34
Unblock subsequent Singleton.createInstance() (#3225)
- Also fix clusters with unknown workspaces

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-06 17:16:04 +03:00
Sebastian Malton
c4623c424d
Formalize the to/from Store rules for UserStore (#2708)
- Explicitly don't save to disk if the value in the store is the same as
  the default. That way we can change the defaults between versions

- Calculate the PreferencesModel on demand

- In the future, when we turn on strict null checking, we can enforce
  that the UserStore expects the correct types too

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

simplify default check, remove defaults from UserStore

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-06 09:14:13 -04:00
Sebastian Malton
baef6944aa
Reduce transition duration for <Tab>'s (#3167)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-06 08:42:59 -04:00
Jari Kolehmainen
30bd552322
Run integration tests against real build (#3278)
* run integration tests against real build

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* add author.email to package.json

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-06 15:38:49 +03:00
steve richards
ad52ec1511
Add new workflow to automatically add new issues and prs to the lens project (#3059)
Signed-off-by: Steve Richards <srichards@mirantis.com>
2021-07-06 09:54:45 +01:00
Sebastian Malton
b2836eb57a
Don't clear searchValue on CommandDialog onBlur (#3172)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-06 11:01:11 +03:00
Jari Kolehmainen
8ac3203924
v5.0.2 (#3275)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-06 00:12:57 +03:00
Jari Kolehmainen
e60c6905da
Fix problem with in-tree extension load (#3274)
* Revert "don't set prerelease version info when non-prerelease (#3261)"

This reverts commit 3f01abbddf.

* include fix from #3256

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-05 23:17:35 +03:00
Jari Kolehmainen
3138307895
Release v5.0.1 (#3269)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-05 18:16:20 +03:00
Jari Kolehmainen
eb37ae636e
Revert "set build.appId (#3264)" (#3268)
This reverts commit 1091eca464.
2021-07-05 17:14:35 +03:00
Jari Kolehmainen
1091eca464
set build.appId (#3264)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-05 16:03:02 +03:00
Jari Kolehmainen
e3a2922ddc
remove rc mentions because we don't use rc anymore (#3262)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-05 13:09:39 +03:00
Sebastian Malton
4cae802a08
Don't clear cluster icon on cancel (#3191)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-05 11:05:40 +03:00
Jari Kolehmainen
3f01abbddf
don't set prerelease version info when non-prerelease (#3261)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-05 10:57:49 +03:00
Sebastian Malton
189f017b2e
Set ownerReference to manually triggered cron jobs (#3229)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-02 15:10:37 +03:00
Sebastian Malton
2708ca63ed
Use kubeconfigPath for delete synced clusters confirmation (#3205)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-02 15:08:42 +03:00
Sebastian Malton
a12fc68242
Cap cpu chart label values to 2 decimal points (#3228)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-02 14:26:53 +03:00
Sebastian Malton
223dadc073
Allow users to disconnect from clusters that fail to connect (#3231)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-02 14:22:16 +03:00
Lauri Nevala
020acd1c40
Increase shell sync timeout (#3241)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-07-02 14:21:26 +03:00
Sebastian Malton
05311c4b1b
Correctly migrate duplicate clusters in workspaces (#3211)
- Keep track of the set of all workspaces that each duplicated entry was
  a part of

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-02 14:21:04 +03:00