Commit Graph
434 Commits
Author SHA1 Message Date
JeongHoon Byun (a.k.a Outsider) 2a3b391870 force revision type to number for sort (#1097)
Signed-off-by: Outsider <outsideris@gmail.com>
2020-10-27 09:44:09 +03:00
Alex Andreev e9ebd06664 Allowing any item for StatusBarRegistration (#1143)
* Adding extension's label text next to Icon

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

* Removing unused registerStatusBarItem()

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-26 17:29:54 +03:00
Roman 9b9bf47970 Refactor PageRegistration to separate registries/interfaces #1130 (#1144)
Signed-off-by: Roman <ixrock@gmail.com>
2020-10-26 15:40:34 +02:00
Roman 48d8d985ae FIX: Duplicate "support" items in menu (#1140)
* Duplicate "support" items in menu, fix #1128

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

* clean up (contents moved to extensions/core-api/index.ts)

Signed-off-by: Roman <ixrock@gmail.com>
2020-10-26 13:07:26 +02:00
Alex Andreev 2e2eec7195 Add search bindings for 'Esc' & 'Enter' hits
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-26 11:10:46 +03:00
Jari Kolehmainen 62ae7771df Allow extensions to define cluster features (#1125)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-26 08:21:22 +02:00
RomanandJim Ehrismann f3a0059355 Extension support page (#1112)
Signed-off-by: Roman <ixrock@gmail.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
2020-10-24 09:24:54 +03:00
Alex Andreev d736f24961 Use log row hover color from theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-23 12:57:00 +03:00
Alex Andreev de536b8436 Fix search within timestamps if they not provided
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-23 12:42:56 +03:00
Alex Andreev fcf94224d4 Scroll down to bottom after each reload
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-23 12:30:10 +03:00
Lauri Nevala 2a9d39a8b9 Test is user cluster admin on cluster activate (#1116)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-10-23 10:05:44 +03:00
Lauri Nevala ce995f3deb Implement cluster metadata detectors (#1106)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-10-22 21:45:54 +03:00
Jari Kolehmainen 99db7aca19 Allow extensions to register kube-object menus + details (#1108)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-22 21:41:20 +03:00
Alex Andreev 99b6babb8d Reducing container selector size
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-22 15:11:15 +03:00
Alex Andreev c962ea68ad Fixing since label
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-22 15:08:02 +03:00
Alex Andreev c099711953 Removing jump-to-bottom animation
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-22 15:03:57 +03:00
Alex Andreev d5ed79d128 Clean up some duplicated styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-22 14:59:21 +03:00
Alex Andreev 4b0b635d73 Fixing downloading logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-22 14:49:56 +03:00
Alex Andreev 6bb874d8ab Catching empty logs in various places
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-22 14:43:37 +03:00
Alex Andreev 01e485d0e4 Improve logs scrolling experience
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-22 13:22:48 +03:00
Alex Andreev e3a3fb42eb Case-insensitive search
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-22 12:53:26 +03:00
Alex Andreev a6eb28335d Refresh search when logs get changed
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-22 11:22:54 +03:00
Alex Andreev 45b6fafd38 Clean search query on dock tab change
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-22 11:19:55 +03:00
Alex Andreev cfb6c3c4c0 Adding find counters
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-22 11:06:38 +03:00
Alex Andreev de33f52a30 SearchInput refactoring
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-22 11:05:30 +03:00
Alex Andreev 14e88a5bb6 No trigger logs load when scrolled by method
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-22 11:04:17 +03:00
Alex Andreev 7ac13f5004 Using Prev/Next icons for search
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-21 14:49:41 +03:00
Alex Andreev 93ae4b6adc Using SearchInput in PodLogSearch
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-21 14:30:29 +03:00
Alex Andreev f8548d6ec4 Centering overlay when scroll to it
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-21 14:09:24 +03:00
Alex Andreev 5c084b8557 Introducing search store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-21 13:59:11 +03:00
Jari Kolehmainen 91bef77997 Extension store base class + rename main/renderer-extensions -> extensions (#1107)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-21 13:55:50 +03:00
Alex Andreev 118ed207a1 Setting ref for VirtualList to access its methods
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-21 09:57:42 +03:00
Jari Kolehmainen 8f8dd9eb45 Extension npm packaging preparations (#1103)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-20 20:25:51 +03:00
Jari Kolehmainen d25e2f015b Restructure extension apis (#1101)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-20 14:45:15 +03:00
Alex Andreev 7234d2eb7f Introducing log search
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-20 13:44:54 +03:00
Alex Andreev edf59c9efd Moving logs to virtual list
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-20 11:49:08 +03:00
Jari Kolehmainen c566c85351 Move tracker to telemetry extension (#1092)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-19 11:56:08 +03:00
Jari Kolehmainen a478143423 Build extensions automatically before app is built (#1093)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-19 11:41:07 +03:00
Jim Ehrismann 4a15e65fea fix cluster page integration test (#1088)
(make it independent of prometheus metrics install)

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-10-17 09:36:48 +03:00
steve richards c0b8d472a0 Add LoadBalancer information to the Ingress view (#1064)
Signed-off-by: Steve Richards <srichards@mirantis.com>
2020-10-16 17:13:18 +03:00
steve richards bf20a15819 Added Last Status information for Container (#1041)
Signed-off-by: Steve Richards <srichards@mirantis.com>
2020-10-16 17:12:13 +03:00
Lauri Nevala bdd0f0b604 Fetch Helm available repositories from Artifact HUB cache (#1090)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-10-16 17:10:37 +03:00
Alex Andreev 073b8a43f2 Preloading previous logs on scroll (#1079)
* Preload logs when scrolled to top

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

* Adding JumpToBottom button

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

* Moving jump-to-bottom button to right

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

* Adding old/new logs separator

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

* Increase font-size in jump to bottom button

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

* Moving newLogsSince determination out of component

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

* Move newLogSince from storage data to observable

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

* Remove notiifications on log loading errors

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

* Transform logs into array in store

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

* Clean up

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

* Remove excessive join('\n\)s

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

* Adding pod and namespace data to log controls panel (#1083)

* Move log controls into separate file

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

* Changing prev container logs icon

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

* Removing 'Logs' from the tab title

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

* Remove unused string template quotes

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

* Hide JumpToBottom btn on error

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

* Remove mention about dialog

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2020-10-16 12:46:16 +03:00
steve richardsandSteve Richards 6e4fa31a49 Sort Pod environment values in alphabetical order (#1075)
* Sort Pod environment values in alphabetical order

Fixes: #739

Signed-off-by: Steve Richards <srichards@mirantis.com>

* Consolidated to a single lodash import. Corrected Lint failure

- Removed the additional import of flatten and updated as needed;
- Changed the variabled `orderedEnv` to be a const;

Signed-off-by: Steve Richards <srichards@mirantis.com>

Co-authored-by: Steve Richards <srichards@mirantis.com>
2020-10-16 10:46:30 +03:00
Jari Kolehmainen a00d26149c Merge branch 'master' into extensions-api
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-16 07:58:47 +03:00
Sebastian Malton 087ebf6aec extract internationalizations (#1086)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-10-14 12:44:16 -04:00
Lauri Nevala 81575b333a Fix KubeAuthProxy unit tests (#1084)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-10-14 17:10:58 +03:00
Sebastian Malton 770c6b80f1 move autobind and debouncePromise to common/utils (#1081)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-10-14 14:36:19 +03:00
Jari Kolehmainen 78f6f8ef54 Fix bundled kubectl path on dev env (#981)
* fix bundled kubectl path on dev env

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

* fix specs

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-14 14:35:33 +03:00
steve richardsandSteve Richards db9af88d91 Updated regex for isUrl to allow for an empty string (#1049)
Updated regex for isUrl to allow for an empty string aswell as a correct URL.

Signed-off-by: Steve Richards <srichards@mirantis.com>

Co-authored-by: Steve Richards <srichards@mirantis.com>
2020-10-14 14:34:04 +03:00