Alex Andreev
a157eb03e6
Generic logs view with Pod selector ( #1984 )
...
* Adding LogTabStore
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding Pod selector in logs tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refresh containers on pod change
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding <LogResourceSelector /> tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding LogTabStore tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clearn getPodsByOwnerId method
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Extracting dummy pods into mock file
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Eliminating containers and initContainers from store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refreshing tab pods if pod amount is changed in store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* A bit of cleaning up, fixing tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix lint newline errors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Return getPodsByOwner() method
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Rename log tab when pod changes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-27 17:20:02 +03:00
Roman
f8c111ddd8
Load k8s resources only for selected namespaces ( #1918 )
...
* loading k8s resources into stores per selected namespaces -- part 1
Signed-off-by: Roman <ixrock@gmail.com >
* loading k8s resources into stores per selected namespaces -- part 2
- fix: generating helm chart id
Signed-off-by: Roman <ixrock@gmail.com >
* loading k8s resources into stores per selected namespaces -- part 3
Signed-off-by: Roman <ixrock@gmail.com >
* fixes
Signed-off-by: Roman <ixrock@gmail.com >
* fixes / responding to comments
Signed-off-by: Roman <ixrock@gmail.com >
* chore / small fixes
Signed-off-by: Roman <ixrock@gmail.com >
* fixes & refactoring
Signed-off-by: Roman <ixrock@gmail.com >
* make lint happy
Signed-off-by: Roman <ixrock@gmail.com >
* reset store on loading error
Signed-off-by: Roman <ixrock@gmail.com >
* added new cluster method: cluster.isAllowedResource
Signed-off-by: Roman <ixrock@gmail.com >
* fix: loading namespaces optimizations
Signed-off-by: Roman <ixrock@gmail.com >
* fixes & refactoring
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-22 13:18:46 +02:00
Alex Andreev
a92ed46f0d
Fixing tolerations list layout ( #2002 )
...
* Expanding tolerations div width
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding tolerations table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing tolerations table styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding <PodTolerations/> tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add new line at the end of the file for linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-22 10:27:54 +03:00
Sebastian Malton
2e2283bcc9
enfore unix line endings and always ending files with line endings ( #1997 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-01-21 08:09:41 -05:00
pashevskii
12c538b0eb
Column filters ( #1532 )
...
* Column filters
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com >
* Add showWithColumn property
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com >
2021-01-13 10:38:20 +03:00
Jari Kolehmainen
a03da3c572
Remove lingui ( #1874 )
...
* remove lingui
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* babelless
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak ts-loader options
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak renderer webpack config
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-12-29 14:53:34 +02:00
Alex Andreev
050603a7b3
Applying dark colors to dock regardless of active theme ( #1873 )
...
* Appliying dark colors on dock contents
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix lint error
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-29 13:54:22 +03:00
00c2c2c3c9
Catch HTTP Errors in case pod metrics resources do not exist or access is forbidden ( #1755 )
...
Signed-off-by: Mario Sarcher <msarcher@mirantis.com >
Add proper error message when catching a error during loadKubeMetrics()
Co-authored-by: Sebastian Malton <sebastian@malton.name >
Signed-off-by: Mario Sarcher <msarcher@mirantis.com >
Co-authored-by: Mario Sarcher <msarcher@mirantis.com >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
2020-12-28 11:06:16 +02:00
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
Lauri Nevala and Alex Andreev
11c611dabe
Display node column in pods list ( #1832 )
...
* Display node column in pods list
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Adding flat option to <Badge />
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing <Span /> component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using badge with tooltips in pods list
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-22 15:45:30 +03:00
Violetta
abd4223675
Add information about the startupProbe ( #1538 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2020-12-13 19:08:26 +02:00
Violetta
c22d569fe2
Add Ready status column in the Deployment view ( #1586 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2020-12-02 13:55:54 +03:00
Panu Horsmalahti
dcf253e7d5
Add eslint rule padding-line-between-statements ( #1593 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-02 09:55:52 +02:00
Panu Horsmalahti
335778aeef
Enforce template strings in eslint ( #1574 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-30 15:35:16 +02:00
Sebastian Malton
7451869c25
add no-unused and react/recommended to eslint ( #1523 )
...
* add no-unused-vars and no-unused-imports
* added quotes: double, and remove ignore pattern
* move itif and describeif into utils
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-27 08:48:38 -05:00
Panu Horsmalahti
460dfe4d2b
Use @typescript-eslint/semi.
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-19 18:12:52 +02:00
Panu Horsmalahti
1477bb8274
Enforce semicolons in eslint
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-19 16:35:04 +02:00
pashevskii
b64694acda
Add Search by Ip to Pod View ( #1445 )
...
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com >
2020-11-19 09:24:06 -05: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
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
Roman
474aaae8c6
ApiManager.registerStore should be simplified #1275 ( #1278 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-09 13:30:41 +02:00
Alex Andreev
e3354f3b75
Fixing return statements in Pod menus ( #1211 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-03 16:22:54 +03:00
Jari Kolehmainen
4e8bdace79
Merge branch 'master' into extensions-api
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-10-27 09:24:27 +02: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
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
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 richards and Steve 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
Alex Andreev
83b8fa9d98
Ability to show previous terminated container logs ( #1074 )
...
* Show previous terminated container logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix for parsing error object
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-12 15:58:18 +03:00
Alex Andreev
f4f0cba6ca
Moving Pod logs into Dock panel ( #1043 )
...
* Moving pod logs into Dock
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Always set up default container
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Open existent tab if fount
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving logs load and properties into store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting a refresher
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding showButtons prop to InfoPanel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Hiding sequence number in log tabs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing PodLogsDialog
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused PodLogsDialog import
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Tiny cleaning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* A bit of cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Hiding drawer when opening logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-11 19:36:19 +03:00
Alex Andreev
3d0b843891
Preventing drawer close on secret's click ( #1003 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-09-30 16:54:21 +03:00
5670312c47
Migrating Vue components to React and stores refactoring ( #585 )
...
Signed-off-by: Roman <ixrock@gmail.com >
Co-authored-by: Sebastian Malton <sebastian@malton.name >
Co-authored-by: Sebastian Malton <smalton@mirantis.com >
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-08-20 08:53:07 +03:00
Jim Ehrismann
693017d2ec
adding port-forward for containers in pods ( #528 )
...
* adding port-forward for containers in pods
address review comments
use more idiomatic approach for async code
move some files in advance of merge conflict with Lens restructure work
* Separate the port forward links in the UI (so they don't all spin when one link is clicked)
* minor fixes
* addressed review comments (replaced <p> with <div>, moved key attribute to proper element)
* fix lint issue
* removed extraneous <div> from pod container port details
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com >
2020-08-07 11:30:37 -04:00
Roman
b7974827d2
Lens restructure ( #540 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-06-30 14:35:16 +03:00