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

710 Commits

Author SHA1 Message Date
Roman
4eb9a689ba
Allow to scroll table columns with labels (badges) (#4358) 2021-11-16 14:05:14 -05:00
Sebastian Malton
159c240a80
Display resource load errors seperately from list of items (#4228) 2021-11-16 12:41:10 -05:00
Alex Andreev
df230d2bec
<Menu/> styles fine-tuning (#4279) 2021-11-16 11:14:28 -05:00
Roman
c3bf05a263
Catalog pin icon too far from entity name, fix #4350 (#4355)
Signed-off-by: Roman <ixrock@gmail.com>
2021-11-16 14:47:09 +02:00
Alex Andreev
125f49fc8e
Fixing setting page bottom margin (#4353)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-16 15:45:50 +03:00
Sebastian Malton
53dd538350
Fix edit-resource by correctly saving first draft (#4342) 2021-11-15 16:32:46 -05:00
Jim Ehrismann
3feb0d1651
Made 'Forward...' buttons have primary style (#4341) 2021-11-15 11:16:55 -05:00
Sebastian Malton
e51ff5051f
Fix crash when finding CRD's preferred version (#4332) 2021-11-15 11:16:37 -05:00
Roman
4c83f5becf
Replacing global themed sass-vars to css-vars (#4322)
* generating css-vars
* convert all global / theme sass vars to css vars with available default theme colors
* added missing colors to dark lens theme
2021-11-15 17:37:23 +02:00
Sebastian Malton
673f20fb74
Fix CRDs not updating in Sidebar (#4288) 2021-11-12 08:51:14 -05:00
Sebastian Malton
333d77f66a
Make Delete/Remove menu item consistent as Delete (#4313) 2021-11-12 08:51:04 -05:00
Sebastian Malton
3522485c6f
Improve cluster connection visibility (#4266) 2021-11-12 08:49:21 -05:00
Sebastian Malton
de4c7e4cff
Fix race condition in refreshViews (#4094) 2021-11-10 12:07:55 -05:00
Roman
38ebbc8b9e
Fix: Catalog's visibility columns menu -> Empty title for Icon (#4189)
* fix: Catalog -> Columns visibility menu -> Empty title for "Icon"

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

* moving entity-icon inside name column / fixes

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

* fix lint

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

* added vertical alignment for texts in the name column

Signed-off-by: Roman <ixrock@gmail.com>
2021-11-10 14:28:21 +02:00
Sebastian Malton
c37a8aee0a
Correctly catch and notify user about NodeShell pod failures (#4244)
* Correctly catch and notify user about NodeShell pod failures

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

* Fix error throwing sometimes during Terminal.detach

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-09 22:52:46 -05:00
Sebastian Malton
200061d386
Use .status.phase instead of computing it for Pod.getStatusMessage (#4286) 2021-11-09 09:33:42 -05:00
Alex Andreev
b52bd29784
Cluster sidebar dropdown (#4292)
* Making cluster area hoverable

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

* Move sidebar cluster block to separate component

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

* Clean up

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

* Add keyboard support

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

* Adding tests

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

* Cleaning up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-09 13:41:46 +03:00
Sebastian Malton
a399b8ee20
Fix crash on HorizontalPodAutoscalers view (#4276) 2021-11-08 10:12:26 -05:00
Sebastian Malton
3666c56319
Display loading spinner while switching between helm charts (#4269) 2021-11-08 10:12:17 -05:00
Jim Ehrismann
f3c3453308 address review comment
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-05 13:13:12 -04:00
Jim Ehrismann
3302bc69c7 added an 'About Port Forwarding' notification
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-11-05 11:08:50 -04:00
Roman
368e2d9a00
Monaco editor refactoring (#4225)
* monaco editor refactoring

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

* clean up / responding to comments

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

* move custom monaco themes to own folder

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

* fix lint

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

* removed unused rules from webpack's config (renderer)

Signed-off-by: Roman <ixrock@gmail.com>
2021-11-03 17:19:17 +02:00
Sebastian Malton
79c4132df9
Reduce selection on triple click in Drawers (#4201) 2021-11-03 10:10:07 -04:00
Lauri Nevala
205cce43c7
Display namespace for subject on ClusterRoleBinding details (#4242) 2021-11-03 10:09:53 -04:00
Juho Heikka
9f14b4c534
Fix catalog button border-radius when modal is shown (#4236)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-11-03 13:09:38 +02:00
Sebastian Malton
c6dce043a7
Lint: comma-spacing (error) & comma-dangle (error) (#4200)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-02 17:38:20 -04:00
Alex Andreev
dec043f3f2
Catalog Browse page Add Button with menu (#4223)
* Adding MenuItems to catalog browse add button

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

* Convert menuItems from Array to Map

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

* Clean up

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-02 18:46:18 +03:00
Sebastian Malton
41863e87ce
Lint: object-curly-spacing (error) (#4198) 2021-11-01 08:45:45 -04:00
Sebastian Malton
0759b80435
Lint: space-before-function-paren (error) (#4199) 2021-11-01 08:37:49 -04:00
Sebastian Malton
e74f17e8ce
Lint: no-unused-expressions (error) (#4197) 2021-11-01 08:37:37 -04:00
Sebastian Malton
4d63ef2878
Use spec.serviceName as an externalIP if nothing else (#4188)
* Use spec.serviceName as an externalIP if nothing else

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

* Move using externalName to display logic

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-01 07:23:29 -04:00
Alex Andreev
c7e38052fc
Fix <a href...> visibility (#4208)
* Removing tailwind base and components styles

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

* Fix link coloring in few places

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-11-01 12:36:55 +03:00
Sebastian Malton
d6d378bd3f
Fix NamespaceSelectFilter (#4187) 2021-10-29 11:39:18 -04:00
Sebastian Malton
82162e5021
Only listen to CMD+f for <SearchInput> on macOS (#4175) 2021-10-29 09:43:20 -04:00
Sebastian Malton
9e2ee00974
Clear up some NamespaceStore.toggleAll and NamespaceStore.hasAllContexts (#4167) 2021-10-29 08:45:02 -04:00
Jim Ehrismann
8cbb4c29d5
ensure namespace placeholder reflects what will be saved to local storage (#4176) 2021-10-29 08:42:42 -04:00
Roman
a9b9c87d1f
Fix: added missing "Upgrade" option in Helm Release menu (#4163) 2021-10-28 13:23:31 -04:00
Roman
18e1c76b8f
Fix: helm chart icon has incorrect size when app's window too small (#4166) 2021-10-28 12:35:03 -04:00
Juho Heikka
079976d703
Use filtered items in finding the default action catalog add button (#4170) 2021-10-28 12:25:59 -04:00
Sebastian Malton
6c599556a2
Fix NamespaceSelectFilter all namespaces button (#3983)
* Fix NamespaceSelectFilter all namespaces button

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

* simplify fix

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-10-28 15:55:40 +03:00
Alex Andreev
50d9b9b467
Fix cluster overview loading background (#4157)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-10-28 14:34:58 +03:00
Jari Kolehmainen
bcb18668c5
disable sentry in cluster frame (#4161)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-10-28 12:01:52 +03:00
Alex Andreev
74abf474d7
Navigate cluster context menus via broadcastMessage (#4139)
* Navigate cluster context menus via broadcastMessage

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

* Ability to navigate context in different frames

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

* Renaming an argument

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-10-28 06:50:15 +03:00
Sebastian Malton
f297407156
Stop using @electron/remote to obtain app.getPath() (#4078)
* Stop using remote to obtain app.getPath()

- Initialize entire map in bootstrap()

- Updated unit tests

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

* Resolve PR comments

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

* Fix test

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

* Fix build

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

* Ensure that init can only be called once and catch errors

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

* Replace basically all uses of app.getPath() with AppPaths.get()

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

* Fix unit tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-10-27 21:07:41 -04:00
Jim Ehrismann
65b6908bf1
improved port-forward error reporting (#4155)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-27 18:19:03 -04:00
Sebastian Malton
5abc1c618c
Add several more util functions and tests (#4106) 2021-10-26 09:36:34 -04:00
Sebastian Malton
983304f824
Copy whole drawer title if no colon exists (#4120) 2021-10-26 09:16:50 -04:00
Jim Ehrismann
353b79ab76
Support port forwarding https protocol (#4119)
* added support for port-forwarding https

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

* added protocol to the port-forward list and details page. Added the port-forward address to the details page title

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

* predict the protocol based on the port name, some cleanup

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

* address review comments

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

* code reorg

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

* fix lint

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-25 11:25:37 -04:00
Jim Ehrismann
bbfb8372f3
improved port-forward error reporting (#4108)
* improved port-forward error reporting

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

* satisfy lint and some autoformatting

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-10-22 17:19:50 -04:00
Alex Andreev
e643b37c7f
Cluster overview css fixes (#4104) 2021-10-22 09:13:43 -04:00