1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/extensions/example-extension
Roman be4e1aa15c
Navigation refactoring, handling extension page params (#1651)
* decentralizing page url-params management -- PoC / tsc 4.1 random fixes

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

* fixes, tweak example-extension for demo

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

* lint fixes, revert tests

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

* removed occasional changes related to typescript 4.1

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

* updated example with 2 menu-items targeting same page with different params

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

* fix: merge page url chunks with native URL()-api, simplified default page-params registration

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

* fix: make lint happy

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

* fix: unit-tests

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

* renaming by jim's request: UrlParam => PageParam (type), createUrlParam => createPageParam (helper)

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

* fix: reverting NamespaceStore public-api breaking changes

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

* lint fix

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

* fine-tuning

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

* yes, lint always unhappy

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

* fix build

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

* small fixes

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

* fix merge-conflicts

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

* removed `isSystem` page-param's init field exposed to extensions-api

Signed-off-by: Roman <ixrock@gmail.com>
2020-12-22 15:29:25 +02:00
..
.gitignore Improve how extension-api is exposed/loaded (#1055) 2020-10-09 14:12:40 +03:00
main.ts add no-unused and react/recommended to eslint (#1523) 2020-11-27 08:48:38 -05:00
package-lock.json lint whole repo (#1600) 2020-12-02 17:22:10 +08:00
package.json [BREAKING]: remove deprecated routePath before GA (#1505) 2020-11-25 12:03:57 +02:00
page.tsx Navigation refactoring, handling extension page params (#1651) 2020-12-22 15:29:25 +02:00
README.md Initial telemetry extension (#1067) 2020-10-13 12:57:38 +03:00
renderer.tsx Navigation refactoring, handling extension page params (#1651) 2020-12-22 15:29:25 +02:00
tsconfig.json npm package publish preparations (#1150) 2020-10-27 13:02:31 +02:00
webpack.config.js add no-unused and react/recommended to eslint (#1523) 2020-11-27 08:48:38 -05:00

Lens Example Extension

TODO: add more info

Build

npm run build

Dev

npm run dev