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

855 Commits

Author SHA1 Message Date
Alex Andreev
c11b272cba Fine-tuning rootMargin prop
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-11 10:43:12 +03:00
Alex Andreev
85bcdcc2c7 Fixing PageLayout child positioning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-11 09:56:30 +03:00
Alex Andreev
edfae3212d Small cleaning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-10 10:21:14 +03:00
Alex Andreev
31fd3a351e Fixing root element for mutation observer
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-09 18:56:54 +03:00
Alex Andreev
7d1f356d88 Moving <ScrollSpy/> out from <PageLayout/>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-09 15:06:03 +03:00
Alex Andreev
66994bdf4c Adding TreeView & ScrollSpy tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-09 14:50:38 +03:00
Alex Andreev
8339ecc5f1 Updating navigation on DOM mutations
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-09 12:06:39 +03:00
Alex Andreev
09a009049f Expanding parent nodes when scrolling along child ones
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-09 11:26:02 +03:00
Alex Andreev
d0e25e90b0 Scrolling to item on TreeItem click
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-05 17:37:49 +03:00
Alex Andreev
662cb25787 Expand all links by default
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-05 17:30:34 +03:00
Alex Andreev
830eac3952 Fixing firing intersection on parent sections
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-05 15:34:33 +03:00
Alex Andreev
0ef16fef31 Remove default inner selected state
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-05 10:25:46 +03:00
Alex Andreev
f1a071d2a7 Fixing page layout --spacing
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-05 10:16:09 +03:00
Alex Andreev
fd1b82ed5e Making navigation fixed in one place
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-05 10:13:27 +03:00
Alex Andreev
3194fa9139 Highlight selected item
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-05 09:57:29 +03:00
Alex Andreev
06e747dfa8 Fine-tuning IntersectionObserver options
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-04 14:17:37 +03:00
Alex Andreev
a2bb733e48 Observing section by IntersectionObserver
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-04 09:29:13 +03:00
Alex Andreev
1e73769bc1 Styling tree view active element
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-03 14:53:49 +03:00
Alex Andreev
3870f07eca A bit of TreeView styling
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-03 14:50:18 +03:00
Alex Andreev
2c5ad51b47 Adding ids to all sections
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-03 14:39:26 +03:00
Alex Andreev
3744d4a3cd Using material-ui lab TreeView components
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-03-03 13:05:05 +03:00
Alex Andreev
69e7397e17 Using react-simple-tree-view lib for preferences links
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-26 12:56:45 +03:00
Alex Andreev
90a1101a0f Introducting ScrollSpy component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-25 15:40:11 +03:00
Alex Andreev
f4764c757f Move helm charts preferences to own component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-25 12:11:25 +03:00
Alex Andreev
e6a5df7a30 Spread preferences layout by <section> tags
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-25 12:11:05 +03:00
Alex Andreev
000244a484 Add navigation layout in <PageLayout/>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-24 15:18:42 +03:00
Violetta
0d3505cfac
Add persistent volumes info to storage class submenu (#2160)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
2021-02-24 11:02:39 +03:00
Alex Andreev
6876d774a5
Fix: deprecated helm chart filtering (#2158)
* Refactor of excludeDeprecated helm service method

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

* Pick first helm chart from the list on load

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

* Removing helm filtering in UI

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

* Cleaning up

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

* Cleaning up type definitions

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

* Adding sorting charts by version

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

* Adding tests for methods that manipute chart listing

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

* Cleaning up tests a bit

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

* Adding semver coercion before comparing versions

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-24 10:20:06 +03:00
Lauri Nevala
103467d31b
Display environment variables coming from secret in pod details (#2167)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-02-23 15:47:40 +02:00
Sebastian Malton
5258aab0d2
Fix removal of langci from repo (#2204)
- Move all strings of the form {`...`} to use just ""

- Fix RoleBindingDetails not rendering the name of the role binding

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-23 08:13:46 -05:00
Steven Martin
83d7e4550c
Fix Heading spelling (#2202)
Repositories was misspelled in Managing Helm Repositories

Signed-off-by: stevenGravy <steven@gravitational.com>
2021-02-23 14:05:44 +02:00
Sebastian Malton
5559c166d0
Fix auto update on quit with newer version (#2128)
- Fix auto update on quit with newer version

- If the user specifies that Lens should auto update on quit to a specific version, and before they quit the auto-updater finds a newer version. Then disregard the previous request to update

- reset broadcast-ed version if failed to broadcast

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-22 16:53:34 -05:00
Roman
9bb9e23d55
fix: allow scrolling in main-layout's content area (#2201)
Signed-off-by: Roman <ixrock@gmail.com>
2021-02-22 20:29:26 +02:00
Sebastian Malton
b2d4311e94
fix RoleBindings Namespace and Bindings field not displaying the correct data (#2203)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-22 12:18:48 -05:00
Roman
25f4833117
- fix: don't reset selected "all namespaces" on page reload (#2185)
- fix: don't reload namespaces on every page visit / NamespaceSelect.render()

Signed-off-by: Roman <ixrock@gmail.com>
2021-02-22 14:44:21 +02:00
Roman
82d8181938
Fix: proper sorting resources by age column (#2182)
* - fix: proper sorting for resource age column
- use Date.now() instead of new Date().getTime() (#2141 follow-up)

Signed-off-by: Roman <ixrock@gmail.com>

* fix: proper bar-chart tooltip callback

Signed-off-by: Roman <ixrock@gmail.com>

* fix: sorting in cronjobs, more Date.now() replacements

Signed-off-by: Roman <ixrock@gmail.com>
2021-02-19 14:21:07 +02:00
Jari Kolehmainen
e87bb850fb
Bump master version to v4.2.0-alpha.0 (#2184)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 19:30:18 +02:00
Jari Kolehmainen
06c131f860
Fix duplicate cluster iframes (#2190)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 19:20:58 +02:00
Rafed Ramzi
41f1cdff65
Fix Documentation: fix broken link in getting-started page (#2155)
Signed-off-by: Rafed Ramzi <rafedramzi@gmail.com>
2021-02-18 09:42:23 -05:00
Jari Kolehmainen
9f15bb9626
Wait for cluster to be ready before loading iframe (#2183)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 15:11:03 +02:00
Jari Kolehmainen
4ce618b4d4
Trigger quitAndInstall after update-downloaded event (#2181)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 13:36:35 +02:00
Roman
5029196d15
Fix: events sorting with compact=true is broken (#2141)
* fix: use default sorting for <Events/> as on "timeline" (fresh on top)

Signed-off-by: Roman <ixrock@gmail.com>

* responding to comments

Signed-off-by: Roman <ixrock@gmail.com>

* convert comments to jsdoc (table.tsx)

Signed-off-by: Roman <ixrock@gmail.com>
2021-02-18 12:21:41 +02:00
dependabot[bot]
4d6cba4741
Bump xterm from 4.6.0 to 4.10.0 (#2072)
Bumps [xterm](https://github.com/xtermjs/xterm.js) from 4.6.0 to 4.10.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.6.0...4.10.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-18 08:36:29 +02:00
Lauri Nevala
67395253be
Add test for re-registering store (#2161)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-02-18 07:31:40 +02:00
Jari Kolehmainen
32908883f8
Windows: use SHELL for terminal if set (#2168)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-18 07:30:48 +02:00
Jari Kolehmainen
174bba98d7
Fix isLoadingAll within KubeObjectStore.loadItems (#2174)
* fix isLoadingAll within KubeObjectStore.loadItems

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

* fix isLoadingAll within KubeObjectStore.loadItems

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-17 22:28:33 +02:00
Roman
b8c78cd18f
fix: keep last selected row during navigation in the details panel (#2165)
Signed-off-by: Roman <ixrock@gmail.com>
2021-02-17 13:39:27 +02:00
Sebastian Malton
0724819915
return undefined instead of localhost from getClusterIdFromHost (#2143)
* return undefined instead of localhost from getClusterIdFromHost

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-16 13:11:25 -05:00
Jari Kolehmainen
8692bdefa2
Release v4.1.0 (#2162)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-02-16 19:25:38 +02:00
Alex Andreev
2c196ec3ad
Fix: load releases for all namespaces at once (#2139)
* Load releases for all namespaces at once

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

* Check for accessibleNamespaces length

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

* Replacing loadAll() to loadFromContextNamespaces()

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-02-16 16:53:11 +02:00