Sebastian Malton
5f98751e56
Fix not being able to select roles and clusterroles
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-09 12:38:59 -04:00
Sebastian Malton
1c493dac67
revert
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-09 10:05:46 -04:00
Sebastian Malton
b2be0aa9ce
Revert changing RB's namespace to required
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-09 10:05:10 -04:00
Sebastian Malton
4d67fe80b7
minor textual changes
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-09 08:53:59 -04:00
Sebastian Malton
738cf564a0
Fix review comments
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-08 19:28:00 -04:00
Sebastian Malton
f988ea95b1
Merge branch 'master' of github.com:lensapp/lens into split-user-management
2021-06-08 14:06:57 -04:00
Sebastian Malton
c20850fbd4
fix CRB's not being able to specify names, fixed SA not being bound to their namespace
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-08 08:26:13 -04:00
Sebastian Malton
ae2fa15b20
Make customizing ItemListLayout header explicitly reducable ( #2956 )
...
- Add search placeholder text for helm releases
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-08 07:41:36 -04:00
Violetta Shakirova
b8a99eafcd
Fix hotbar light theme colors ( #2943 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2021-06-08 10:03:03 +03:00
Sebastian Malton
60a19143b4
Revert 2844 ( #2980 )
...
* Revert "review comments"
This reverts commit 97f2ecd88d .
* Revert "Switch to I, remove type parameter default"
This reverts commit a3073cc99b .
* Revert "Improve Table typing and remove annotations on callbacks"
This reverts commit defb0ea0dd .
2021-06-07 12:02:15 -04:00
Sebastian Malton
97f2ecd88d
review comments
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 11:30:29 -04:00
Sebastian Malton
a3073cc99b
Switch to I, remove type parameter default
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 11:30:29 -04:00
Sebastian Malton
defb0ea0dd
Improve Table typing and remove annotations on callbacks
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 11:30:28 -04:00
Sebastian Malton
755d1b383b
Fix not being able to select ServiceAccounts
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 10:07:31 -04:00
Sebastian Malton
f3b38d36c6
Wait for LensApp to report that the view has loaded before showing main window ( #2597 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 08:39:38 -04:00
Sebastian Malton
88de530913
Cherry pick commits from 4.2 ( #2953 )
2021-06-07 08:39:16 -04:00
Alex Andreev
6e80c65d99
Fix catalog table classnames ( #2975 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-06-07 15:15:36 +03:00
Sebastian Malton
817c8e00db
Simplify add cluster view ( #2716 )
...
- Only shows editor, and will save all text to file
- Reports some validation errors, but doesn't block the add cluster
button
- Cleanup kube helpers to facilitate clearer FS interactions
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 08:14:43 -04:00
Sebastian Malton
27ec650e0a
Remove try/catch around lens:// route, as that happens in route() ( #2935 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 08:13:48 -04:00
Sebastian Malton
cb4a7497dd
Remove Namespace filter from ItemListLayout ( #2952 )
2021-06-07 08:13:26 -04:00
Sebastian Malton
d21f99e609
Await onActivate/onDeactive of extensions ( #2963 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 08:08:39 -04:00
Alex Andreev
026cbbac09
Generic TopBar component for Catalog/Cluster views ( #2882 )
...
* Rendering close button in cluster view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Changing Icon hover style
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving onClick handler away
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing sidebar compact view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing 'compact' refs in SidebarItem
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Wrapping Catalog with MainLayout
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Making sidebar resizing indicator visible on hover
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding TopBar to catalog view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using TopBar in cluster views
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up Sidebar styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using getActiveClusterEntity() for searching
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix resizing anchor position
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Align cluster name on left
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused css var
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Showing Topbar in ClusterStatus page
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing TopBar from ClusterManager
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-06-07 11:46:40 +03:00
Jari Kolehmainen and Sebastian Malton
0fb927f96b
catalog details panel ( #2939 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 10:09:00 +03:00
Sebastian Malton
031c57962b
Readd NamespaceSelectFilter to releases.tsx ( #2962 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 10:06:52 +03:00
Sebastian Malton
683a520186
Fix drawer closing on updating kube objects ( #2964 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-07 08:23:09 +03:00
Sebastian Malton
244e0aa466
remove isClusterScoped
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-04 15:48:34 -04:00
Sebastian Malton
7c66cd2db0
Several fixes:
...
- Not being able to type in the ClusterRole add dialog
- Editing not working as intended on subjects for CRBs and RBs
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-04 15:48:34 -04:00
Sebastian Malton
63de3dc76b
Add unit tests
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-04 15:48:34 -04:00
Sebastian Malton
59fa7f6065
Revert global changes, rename paths to be correct
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-04 15:48:34 -04:00
Sebastian Malton
d28a0d486b
Return this from static funcitons
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-04 15:48:34 -04:00
Sebastian Malton
bc498bdb98
Fix Dialog not being openable, rearrange tabs
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-04 15:48:34 -04:00
Sebastian Malton
6986e9304f
Split User Management types into seperate places
...
- simplify subscribe
- fix NamespaceStore subscribe
- remove showClusterOption
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-04 15:48:34 -04:00
Aprameya Bhat
91404d3ab3
Fixed #2954 : Rollback should include current version as well. ( #2955 )
...
Rollback should include the current version as well. This will reset the rollback.
Signed-off-by: Aprameya <abhat@fanatics.com >
2021-06-04 08:59:41 -04:00
Jari Kolehmainen
a411f4cfe5
Cleanup cluster views on unmount ( #2961 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-06-04 08:51:41 -04:00
Lauri Nevala
573a635e29
Fix app crash when logTabData does not exist in store ( #2959 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-06-04 08:51:11 -04:00
Lauri Nevala
9852e5cfd8
Implement extensions API for workloads overview details ( #2945 )
...
* Implement extensions API for workloads overview details
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Prefix workloadsOverviewDetailItems
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* More renaming
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Add missing registry
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-06-04 15:14:45 +03:00
Sebastian Malton
deaf67b30b
Remove isClusterScoped from ItemListLayout ( #2743 )
...
* remove isClusterScoped from ItemListLayout
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Move <NamespaceSelectFilter> to KubeObjectListLayout
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* revert to simpler NamespaceSelectFilter fix
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-04 12:58:12 +03:00
Sebastian Malton
0d0c67f13f
Update docs to be correct with the new api changes ( #2916 )
...
* Update docs to be correct with the new api changes
Signed-off-by: Sebastian Malton <sebastian@malton.name >
* Fix renderer-extension.md
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-04 12:44:25 +03:00
Violetta
3acc7b80d7
Add labels to metrics graph ( #2931 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2021-06-03 09:20:40 -04:00
Jari Kolehmainen
39149eedfd
Improve how kubernetes cluster status is resolved ( #2909 )
2021-06-03 08:43:08 -04:00
Jari Kolehmainen
0ad44d6f40
Show entity kind on catalog browse-all list ( #2932 )
...
* show entity kind on catalog browse-all list
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-06-03 15:15:10 +03:00
Jari Kolehmainen
e7086a66d1
update react-select types ( #2930 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-06-02 21:15:30 +03:00
Sebastian Malton
043f411ad1
Fix getReleases returning inconsistent data types ( #2924 )
2021-06-01 11:53:24 -04:00
Jari Kolehmainen
06612409ef
Fix ClusterView bugs ( #2928 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-06-01 09:32:42 -04:00
Lauri Nevala
e1be10b74d
Expose NamespaceSelectFilter component to Extensions API ( #2934 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-06-01 09:05:41 -04:00
Sebastian Malton
5fd2d5501c
Add notification in renderer if lens protocol handler fails to find any routes ( #2787 )
...
- Add notifications on missing lens:// handlers, and invalid URIs
- add notifications on unknown entity IDs
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-06-01 08:28:38 -04:00
Sebastian Malton
36e8888ecb
Improve loading animation when switching release details ( #2367 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-05-31 16:43:08 -04:00
Jari Kolehmainen
18e38223d4
Use in-tree extension tgz package only in production builds ( #2915 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-05-31 15:36:24 +03:00
Jari Kolehmainen
cd96842750
Typed catalog category events ( #2812 )
...
* typesafe catalog category events
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* use emit
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* rename events
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-05-31 08:09:57 +03:00
Jari Kolehmainen
c8e2f7ca2d
Fix main->renderer catalog entity sync issue ( #2902 )
...
* fix main->renderer catalog entity sync issue
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* refactor
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-05-31 08:09:16 +03:00