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

1100 Commits

Author SHA1 Message Date
Alex Andreev
aec1f10fb0 Renaming Table -> ReactTable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-19 11:59:06 +03:00
Alex Andreev
405f3dbee5 Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-19 11:40:51 +03:00
Alex Andreev
1f8e816e62 Ignoring ts files to tailwind purge
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-19 10:18:01 +03:00
Alex Andreev
eab854b58c Fixing tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-18 15:55:41 +03:00
Alex Andreev
daf7a89e3c Merge branch 'master' into refresh-extensions-page 2021-05-18 13:47:17 +03:00
Jari Kolehmainen
b6b1b467e0
Add connect/disconnect methods to KubernetesCluster kind (#2758)
* add connect/disconnect methods to kubernetes cluster

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

* return void

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-05-18 13:42:33 +03:00
Lauri Nevala
ef4bae341f
Re-implement deployment revisions (#2795)
* Re-implement deployment revisions

* Fix css

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-05-18 13:25:10 +03:00
Jari Kolehmainen
752f49821a
Show active item in hotbar & allow to pin/unpin (#2790)
* show active item in hotbar & allow to pin it

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

* cleanup

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

* fix styles

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-05-18 13:13:33 +03:00
Alex Andreev
12eb42f8ee Fix linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-18 12:31:17 +03:00
steve richards
d08d5a24d7
Remove custom GA Tags script. Use built in GA. (#2794)
Signed-off-by: Steve Richards <srichards@mirantis.com>
2021-05-18 12:29:13 +03:00
Lauri Nevala
0537792c56
Update node shell to use Alpine 3.13 (#2792)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-05-18 12:26:29 +03:00
Sebastian Malton
6be465858b
Add IPC capabilities for Extensions (#2775)
* Add IPC capabilities for Extensions

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

* revert onA|D change:

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

* Switch to pushing the disposer in the methods

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

* improve documentation, switch to a singleton instead of extension methods

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

* fix build

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

* make exported class abstract, improve guide

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

* fix docs

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

* fix lint

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

* Change guide demo to initialization in constructor

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-05-18 12:24:43 +03:00
Lauri Nevala
e188cf45e6
Delete node shell container on exit (#2793)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-05-18 12:23:17 +03:00
Alex Andreev
aa6a074bd6 Fixing extension name sorting
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-18 11:07:48 +03:00
Alex Andreev
63730358b6 Fix drag-n-drop indication
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-17 19:29:03 +03:00
Jari Kolehmainen
6a33944f52
Remove universal analytics types (#2781)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-05-17 09:57:52 -04:00
Jari Kolehmainen
f8b939bf59
Check license header using eslint (#2780)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-05-17 09:43:53 -04:00
Alex Andreev
835d6566b4 Fixing search input cross icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-17 15:58:37 +03:00
Alex Andreev
993c3746b1 Making extension components observable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-17 15:06:26 +03:00
Alex Andreev
51231ae2df Aligning not found state
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-17 13:39:37 +03:00
Alex Andreev
db8463b055 Updating MaterialIcons font
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-17 13:17:24 +03:00
Alex Andreev
7dd4bc0028 Adding a extensions placeholder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-17 13:17:11 +03:00
Alex Andreev
32f612f673 Fine-tuning overall styling
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-17 12:02:52 +03:00
Alex Andreev
d4c0955320 Adding extension notice
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-17 12:02:03 +03:00
Jim Ehrismann
c594844b9b
include the hotbar index in the label displayed for a hotbar (#2770)
* include the hotbar index in the label displayed for a hotbar

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

* address review comments for hotbarDisplayLabel()

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

* tweaks to hotbarDisplayLabel()

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-05-17 07:40:32 +03:00
Sebastian Malton
623973add0
Add license header to more files (#2776)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-05-17 07:19:45 +03:00
Alex Andreev
64ee0cb486 Align table rows
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-16 07:55:54 +03:00
Alex Andreev
a1cbc7a568 Merge branch 'master' into refresh-extensions-page 2021-05-16 07:27:46 +03:00
Alex Andreev
8fba4ee331 Fine-tuning page view
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-16 06:51:17 +03:00
Alex Andreev
974f04a15a Fixing inputs line-height
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-16 06:35:01 +03:00
Lauri Nevala
761e3a8f52
Add kubectl 1.21 to version map (#2772)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2021-05-14 14:39:19 -04:00
Alex Andreev
f9fda30045 Add table sorting
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-14 11:53:39 +03:00
Alex Andreev
38343af2ef Spread extensions to smaller components
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-14 11:20:50 +03:00
Alex Andreev
34bce1764d Introducing react-table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-14 11:19:01 +03:00
Alex Andreev
84ed899874 Using tailwind with scss files also
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-14 11:17:40 +03:00
Alex Andreev
a930d5f14f
Hotbar disabled items (#2710)
* Saving more entity data to HotbarItem

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

* Adding generic MaterialTooltip component

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

* Move HotbarCell to separate component

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

* Abstract out HotbarEntityIcon from HotbarIcon

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

* Styling disabled hotbar items

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

* Migration for adding extra data to hotbar items

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

* Testing migration

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

* Some cleaning up

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

* Bump migration version

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

* Bump app version in package.json

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-13 10:24:58 +03:00
Jari Kolehmainen
2d0609ed24
Check source files for license header (#2763)
* check source files for license header

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

* tweak

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

* add license header to all relevant source files

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-05-12 18:33:26 +03:00
Alex Andreev
60cdd27d19
Exporting chart components to extensions (#2759)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-12 11:22:59 -04:00
Alex Andreev
1e16e0bdae
Removing color reference from docs (#2757)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-12 09:23:46 -04:00
Sebastian Malton
f4ff28e51c
Switch main's route handlers to be static functions (#2712) 2021-05-12 08:08:42 -04:00
dependabot[bot]
b373411a16
Bump hosted-git-info from 2.8.8 to 2.8.9 (#2736)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 08:08:35 -04:00
Sebastian Malton
0771fd5be5
Cherry-Pick from v4.2.4 (#2701)
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2021-05-12 08:04:01 -04:00
Sebastian Malton
3a3edeea08
Add tag command, update guide, add PR templates (#2679) 2021-05-12 08:03:45 -04:00
Sebastian Malton
47e5cb1732
Only show the UserManagement tab in the sidebar if the sub menus are allowed for that cluster (#2258)
- Optimize Cluster.isAllowedResource

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-05-12 08:03:23 -04:00
Jim Ehrismann
c0dddc0f40
relax kube api data type validation (to allow metrics-server resources) (#2744)
* relax kube api data type validation (to allow metrics-server resources)

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

* removed a few now incorrect tests

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

* correct PodMetrics kind

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2021-05-12 06:56:31 +03:00
Alex
619b66c5d5
Allow dynamic menu titles in 'WelcomeMenuRegistration' (#2752)
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>

Co-authored-by: Alex Culliere <alozhkin@mirantis.com>
2021-05-11 18:41:45 +03:00
dependabot[bot]
cd1ed5a22b
Bump url-parse from 1.4.7 to 1.5.1 (#2739)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-05-11 09:49:33 -04:00
Alex Andreev
0facf5be66 Setting up tailwind and css modules env
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-05-11 16:25:41 +03:00
dependabot[bot]
204dfdc202
Bump handlebars from 4.7.6 to 4.7.7 (#2735)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 11:39:05 +03:00
dependabot[bot]
db492097f6
Bump hosted-git-info from 2.8.8 to 2.8.9 in /extensions/node-menu (#2732)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 09:38:05 -04:00