Alex Andreev
5d746cdff5
Dock tabs context menu ( #1863 )
...
* Adding context menu to dock tabs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Allowing to open menu by contextmenu event
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding DockTab tests with fine-tuning jest config
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding disable state to menu items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing empty lines
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving jest-canvas-mock to dev dependencies
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-28 15:18:03 +03:00
Alex Andreev
eb5a775a2d
Preserving line breaks when copiyng logs ( #1851 )
...
* Adding line break after log each log line
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding comment for line break
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-23 15:20:57 +03:00
Alex Andreev
507c485113
Fixing logs scrolling state ( #1847 )
...
* Passing raw logs to PodLogs child components
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Avoid autoscrolling while user is scrolling
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing status panel from log controls
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-23 11:51:43 +03:00
Alex Andreev
0facd34738
Fixing logs autoscroll behavior ( #1720 )
...
* Fixing autoscroll behavior
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Making statement simpler to read
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-12-09 21:03:16 +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
Alex Andreev
2a96e094bb
Pod logs refactoring ( #1516 )
...
* Spreading PodLogs into 2 components
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing pod-logs.scss
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused isScrollHidden param
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up logs components
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-26 14:11:54 +03:00
Roman
7243dfdce4
Installing extensions UI improvements ( #1522 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-25 16:42:19 +02:00
Roman
77ae31550a
Allow to install packed extensions from URL or local file ( #1456 )
...
* Option to install an extension from filesystem/url #1227 -- part 1 (UI)
Signed-off-by: Roman <ixrock@gmail.com >
* DropFileInput: common component to handle droped files (replaced also in add-cluster-page)
Signed-off-by: Roman <ixrock@gmail.com >
* fix: install via url-string on input.submit
Signed-off-by: Roman <ixrock@gmail.com >
* ui tweaks & minor fixes
Signed-off-by: Roman <ixrock@gmail.com >
* more ui/ux tweaks & fixes
Signed-off-by: Roman <ixrock@gmail.com >
* layout fixes
Signed-off-by: Roman <ixrock@gmail.com >
* component renaming: `copy-to-click` => `copy-to-clipboard` => `clipboard`
Signed-off-by: Roman <ixrock@gmail.com >
* reworks -- part 1
Signed-off-by: Roman <ixrock@gmail.com >
* fix downloading file, added common/utils/downloadFile
Signed-off-by: Roman <ixrock@gmail.com >
* confirm before install, unpack tar first steps
Signed-off-by: Roman <ixrock@gmail.com >
* installation flow, extracting .tgz
Signed-off-by: Roman <ixrock@gmail.com >
* clean up, fix lint issues
Signed-off-by: Roman <ixrock@gmail.com >
* update .azure-pipelines.yml
Signed-off-by: Roman <ixrock@gmail.com >
* fixes & refactoring
Signed-off-by: Roman <ixrock@gmail.com >
* fix lint harder :/
Signed-off-by: Roman <ixrock@gmail.com >
* fix validation
Signed-off-by: Roman <ixrock@gmail.com >
* fix validation harder
Signed-off-by: Roman <ixrock@gmail.com >
* responding to comments, fixed package validation
Signed-off-by: Roman <ixrock@gmail.com >
* common/utils/tar.ts: reject with Error-type
Signed-off-by: Roman <ixrock@gmail.com >
* fix: unit-tests
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-25 09:55:28 +02:00
Alex Andreev
2da598b66e
Set scrollbar colors as global styles ( #1484 )
...
* Setting global webkit-scrollbar styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing usage of custom-scrollbar mixin
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set overflow:auto on .Table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing .drawer-content paddings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-25 10:25:37 +03:00
Panu Horsmalahti
ff93760dc4
Enable object-shorthand rule ( #1500 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-24 13:16:35 +02:00
Alex Andreev
57a879c2e8
Making text selection bg color transparent a bit ( #1463 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-20 12:55:16 +03:00
Sebastian Malton
43976f5bd9
fix SwitchCase indent rule in eslint ( #1454 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-19 15:15:49 -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
Alex Andreev
960bbe6813
Showing colors in logs ( #1419 )
...
* Converting ansi values to colored html
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Rewriting AnsiUp colors for search overlay
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-18 08:31:36 +03: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
Alex Andreev
2197e5e53d
Renaming theme .json files ( #1256 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-11-06 15:30:55 +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
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
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
af71834676
Moving dock info panel to the top ( #1007 )
...
* Moving EditorPanel to the top
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Preventing save with empty yaml
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make tooltips in @withTooltip narrower
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Not showing api errors in icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Success notification for create resource operation
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Button outlined style
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Making second button to stay outlined
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fine-tuning dock info panel colors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing border-radius from ace-editor
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-02 09:32:20 +03:00
Sebastian Malton
9ecfeb316c
cleanup Draggable into ResizingAnchor ( #989 )
...
* Rename `Draggable` as `ResizingAnchor` since that is what it is used for and shouldn't be mistaken as a general draggable item
* Refactor `ResizingAnchor` to be much more smart about how it handles mouse movements. Allow it to know which direction the resizing should be in allowing it to produce exact resized values.
* Add event handlers for the min and max extents so that actions can be triggered when those extents are passed (in either direction)
* Add double click support
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-10-01 11:37:27 -04:00
Sebastian Malton
5401c99298
Helm components should always use version information ( #949 )
...
* clean up code to catch rejections
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-09-24 09:54:26 -04:00
Sebastian Malton
9a10db837e
fix Notifications blocking items not visually under them from being interacted with ( #915 )
...
* fix Notifications blocking items not visually under them from being interacted with
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-09-21 14:47:44 -04:00
Yangjun Wang and Yangjun Wang
44190c7321
Get focus to dock tab content after resize ( #935 )
...
Signed-off-by: Yangjun Wang <yangjun.wang@wartsila.com >
Co-authored-by: Yangjun Wang <yangjun.wang@wartsila.com >
2020-09-21 16:37:20 +03:00
Alex Andreev
7274658b51
Wider Select box for Helm chart installation ( #803 )
...
* Fixing typo
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fine-tuning select to show long items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-09-04 10:03:18 +03:00
b8994a453f
Allow user to select Kubeconfig from filesystem ( #740 )
...
* Allow user to select Kubeconfig from filesystem, fix #738
Signed-off-by: Roman <ixrock@gmail.com >
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-08-28 08:43:51 +03:00
Alex Andreev
0f11b03692
Switching color theme globally ( #728 )
...
* Adding cluster menu colors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding theme class name flag into #app
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up mixins
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Tuning up Wizard Layout styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using theme-light global flag
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Minor style fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using .theme-light flag across components
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set theme as @computed value
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Preventing Drawer slide-in scroll flickering
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting background for settings views
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Minor layout fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Switching AceEditor theme reactively
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-08-24 10:24:05 +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
Roman
b7974827d2
Lens restructure ( #540 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-06-30 14:35:16 +03:00