Roman
13dbdac2f2
PageRegistration / PageMenuRegistration fixes & more simplification ( #1386 )
...
* PageRegistration & PageMenuRegistration fixes & more simplification, fix #1383
Signed-off-by: Roman <ixrock@gmail.com >
* clean up test, deprecate page.routePath
Signed-off-by: Roman <ixrock@gmail.com >
* fix: proper `isActive` state matching for page-menu-target to page considering current document location
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-16 15:18:53 +02:00
Jari Kolehmainen
596e60a6f3
Generate extension-api .d.ts and .js files using tsc ( #1387 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-16 15:09:16 +02:00
Alex Andreev
d612626801
Adding Extensions item for non-mac menu ( #1392 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-16 13:50:32 +03:00
Alex Andreev
d559d5e62a
Exporting active theme to extensions ( #1371 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-16 12:10:35 +02:00
techknowlogick
fce05c6cb2
Use latest alpine version (3.12) for shell sessions ( #1384 )
...
Signed-off-by: Matti R <matti@mdranta.net >
2020-11-16 12:09:21 +02:00
pauljwil
656797abc7
Resolved conflicts in Your First Extension, Styling, and Color Reference after rebasing from master ( #1379 )
...
Signed-off-by: Paul Williams <pawilliams@mirantis.com >
2020-11-16 11:14:33 +02:00
Alex Andreev
f98d11a0be
MInor workspace fixes ( #1382 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-15 17:04:21 +03:00
Jari Kolehmainen
59ac1de15d
Fix support extension menu route ( #1381 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-14 16:22:29 +02:00
Jari Kolehmainen
55b6edfc2a
Fix PageRegistry.getByPageMenuTarget issue when package name has special chars ( #1380 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-14 10:16:40 +02:00
Sebastian Malton
4d3204766b
add retry cap to handleStaticFile to prevent an infitite loop ( #1373 )
...
* add retry cap to handleStaticFile to prevent an infitite loop
* 'yarn -> yarn run' for node_module dependencies
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-13 15:45:57 -05:00
Jari Kolehmainen
14425fb14e
Release v4.0.0-beta.2 ( #1372 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-13 22:01:36 +02:00
Jari Kolehmainen
0fb859a22a
Default PageRegistration.routePath to path based on id ( #1374 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-13 19:37:03 +02:00
Sebastian Malton
648dbfee98
Remove Makefile from all intree extensions ( #1312 )
...
* Remove Makefile from all intree extensions
- Makefiles are not really common (rightly so) in JS projects and script
entries in the package.json are good enough and what they're there
for.
- Move to using yarn for installing dependencies and running scripts as
that is what we mostly use for the rest of the project.
- Move from using make syntax to a dedicated script for building and
testing extensions.
- add jest as extension devDep, go back to using makefile foreach syntax
- add correct exit code
- add yarn check call to install-deps
- add yarn invokation to find deps
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-13 12:32:15 -05:00
Jari Kolehmainen and Roman
df0f080380
Simplify pages/menus/registry extension api internal implementation ( #1364 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Co-authored-by: Roman <ixrock@gmail.com >
2020-11-13 17:04:39 +02:00
Lauri Nevala
eccc502ef2
Exit pipeline if extensions build or tests fail ( #1370 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-13 16:42:34 +02:00
Alex Andreev
d7febf5e89
Docs: fixing typos in styling ( #1363 )
...
* Adding dashes -- before variable names
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing typos
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-13 15:55:49 +03:00
Alex Andreev
73d50f4695
Fix Landing Page width ( #1359 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-13 15:36:45 +03:00
Lauri Nevala
88fb43b73b
Upgrade cache pipeline task ( #1366 )
...
* Upgrade cache task
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-13 12:28:04 +02:00
Stefan Cameron
dd925a87de
Update styling docs ( #1339 )
...
Building on https://github.com/lensapp/lens/pull/1267 and iterating on the docs,
re-organizing them into Layout and Theme sections.
Also adding sample code on how to detect theme changes in JavaScript.
Signed-off-by: Stefan Cameron <stefancameron@SC-MBPt13-2018.austin.rr.com >
2020-11-13 10:09:47 +03:00
Jari Kolehmainen
dc983a757c
Release v4.0.0-beta.1 ( #1351 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-12 18:30:37 +02:00
Lauri Nevala
9188b58998
Update README.md ( #1353 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-12 17:49:19 +02:00
Roman and Jari Kolehmainen
faa1cef307
PageRegistration & BaseRegistry refactoring ( #1334 )
...
Signed-off-by: Roman <ixrock@gmail.com >
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-12 16:29:02 +02:00
Alex Andreev
6432b3bb9e
Removing parental element styles that affect extensions ( #1331 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-12 12:58:59 +02:00
Lauri Nevala and steve richards
89f575701d
Add extension development instructions for Windows users ( #1350 )
...
* Add extension development instructions for Windows users
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
Co-authored-by: steve richards <steve.james.richards@gmail.com >
2020-11-12 12:57:40 +02:00
Jari Kolehmainen
4222359bd6
Add LensRendererExtension.navigate ( #1345 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-12 10:30:57 +02:00
Jari Kolehmainen
deb4773b44
Allow to specify KubeObjectDetailRegistration priority ( #1335 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-12 09:16:22 +02:00
Roman
1f88c05e82
Refactoring: removed kube versioned api ( #1328 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-12 08:39:50 +02:00
Jari Kolehmainen
00be4aa184
Remove windowManager from extension api ( #1323 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-11 21:55:49 +02:00
Jari Kolehmainen
6a908cb528
Expose kube object store types to extensions ( #1326 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-11 16:12:31 +02:00
Roman
c67dad54e3
fix: allow to select kube-api objects with label & field selectors ( #1327 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-11 13:42:36 +02:00
Lauri Nevala
bcbbe140b9
Expose registration and related component interfaces to extensions ( #1322 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-11 11:56:13 +02:00
Jari Kolehmainen
d0102a2d9a
Expose all custom k8s api classes via extension api ( #1319 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-11 11:48:13 +02:00
Jari Kolehmainen
469b723469
Generate extension api reference docs using library mode ( #1307 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-11 09:02:26 +02:00
Lauri Nevala
85c4a10114
Implement KubeObjectStatusText extension API ( #1188 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-11 08:57:15 +02:00
Lauri Nevala
d15692a50e
Backport what's new items for 3.6.7 and 3.6.8 versions ( #1310 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-11 08:41:09 +02:00
Jari Kolehmainen
cb57e4ed7d
Release v4.0.0-alpha.5 ( #1311 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-10 19:21:48 +02:00
Sebastian Malton
a78bbb5f6c
Fix rendering of boolean values in CRDs ( #1087 )
...
* Fix rendering of boolean values in CRDs
- add optional special casing for boolean values in DrawerItems and
TableRows since React (imo annoying fashion) does not render boolean
values by default.
- add a spinner on the sidebar for when the CRD menu is expeanded but
the entries have not been loaded yet.
- Add ability to double click a Badge to expand, also make it so that
Badges highligh all text on first click.
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-10 10:10:19 -05:00
Alex Andreev
dd90dcb7f0
Removing !important statements from theme variables ( #1303 )
...
* Removing !important statements from theme vars
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Wait for user store to load
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix this reference
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Aligning test with resetTheme() fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-10 15:16:16 +03:00
Lauri Nevala
05188ef3cc
Do not expose registries to extensions ( #1304 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-10 12:46:40 +02:00
chh
3eeb395a78
Remove hard-source-webpack-plugin ( #1305 )
...
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com >
2020-11-10 12:13:01 +02:00
Alex Andreev
b2f3cdd0d2
Keeping Icon focus state only for keyboard ( #1234 )
...
* Passing toolbar prop into action menus
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Toggling .mouse-intent
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Icon focus restyling
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding what-input dependency
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-10 12:36:06 +03:00
Mario Sarcher
14e83a4b2a
Merge pull request #1301 from lensapp/typedocs
...
Generate API Reference documentation using typedocs and gh-actions
2020-11-10 09:53:49 +01:00
Mario Sarcher
de85229512
Generate API Reference documentation using typedocs and gh-actions
...
Signed-off-by: Mario Sarcher <msarcher@mirantis.com >
2020-11-10 09:36:28 +01:00
Lauri Nevala
b7fde0c6a6
Fix KubeObjectDetails example in common capabilities ( #1299 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-10 09:46:50 +02:00
Lauri Nevala
0f8e8c2237
Expose CRD api to extensions ( #1297 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-10 09:02:32 +02:00
Jim Ehrismann
033a91f002
implemented app menu testing support ( #1105 )
...
* implemented app menu testing support
* addded Preferences page helm repo test
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2020-11-09 15:10:30 -05:00
Alex Andreev
8d1c29ae4c
Docs: extension styling and theming ( #1267 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-09 19:05:27 +02:00
Sebastian Malton
6e77e7eabb
add some overview documentation to the getting started page ( #1269 )
...
* add some overview documentation to the getting started page
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-09 10:48:09 -05:00
Sebastian Malton and Sebastian Malton
d0ada00a18
Add mechanism for users to specify accessible namespaces ( #702 )
...
* Add mechanism for users to specify namespaces that are accessible to them. This is generally useful for when the user doesn't have permission to list the namespaces.
- Add new component "EditableList" which provides a simple way to
display a list of items that can be added too.
- Add the ClusterAccessibleNamespaces to the GeneralClusterSettings
- style editable list list of lists, switch to using <>
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Co-authored-by: Sebastian Malton <smalton@mirantis.com >
2020-11-09 10:45:09 -05:00
Alex Andreev and Lauri Nevala
16fb35e3f9
Log search ( #1114 )
...
* Moving logs to virtual list
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Introducing log search
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting ref for VirtualList to access its methods
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Introducing search store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Centering overlay when scroll to it
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using SearchInput in PodLogSearch
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using Prev/Next icons for search
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* No trigger logs load when scrolled by method
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* SearchInput refactoring
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding find counters
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean search query on dock tab change
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refresh search when logs get changed
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Case-insensitive search
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Improve logs scrolling experience
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Catching empty logs in various places
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing downloading logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up some duplicated styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing jump-to-bottom animation
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing since label
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Reducing container selector size
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Scroll down to bottom after each reload
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix search within timestamps if they not provided
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use log row hover color from theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add search bindings for 'Esc' & 'Enter' hits
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Focus input fields on CmdOrCtrl+F
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move search.store.ts in to /common folder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* search.store.ts -> search-store.ts
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding test for search store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding integration tests for logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing scroll jumping bug
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing download icon check for testing purpose
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing clicking on nginx-create-pod-test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving log tests before cluster operations
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Build extensions before integration tests
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Build also npm before integration tests
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Move npm build and extension build into own build step
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Removing separator sketches
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Horizontal scrolling to founded keyword
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Delaying horizontal scrolling
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-09 17:46:14 +03:00