Alex Andreev
84cc0cdf55
Preferences page redesign ( #2446 )
...
* Removing header part
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Restyling PageLayout
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Restyling .round-black Input
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding Tab navigation to Preferences
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Styling Application tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add esc button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add media queries
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Introducting Switcher component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Styling Proxy tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving start-up switcher to Other tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Styling Kubernetes tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Styling Extensions tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Styling inputs and selects
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Styling helm chart section
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Create a telemetry tab with extensions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding lens Select theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove Other tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix mainBackground color
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Simplifying Tabs boilerplate
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Replacing button font
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing one-column settings layout
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing integration tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixin tests harder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Showing bottom bar in workspaces
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-04-06 15:45:23 +03:00
Jari Kolehmainen
b5e7be7591
Initial command palette feature ( #1957 )
...
* wip: command palette
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* register shortcut to global menu
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* introduce openCommandDialog & closeCommandDialog
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix ipc broadcast to frames from renderer
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* add more commands
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* ipc fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* add integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* ipc fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* implement workspace edit
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* workspace edit fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* make tests green
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fixes from code review
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup ipc
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup CommandRegistry
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* ipc fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix ClusterManager cluster auto-init
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* ensure cluster view is active before sending a command
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* switch to last active cluster when workspace change
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* tweak integration tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* run integration tests serially
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fixes based on code review
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup more
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* add workspace fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-02-02 12:34:13 +02: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
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
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
Sebastian Malton
4e8fb65a2e
fix URL validator, add some tests ( #1627 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-12-03 08:49:51 -05: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
Roman
7243dfdce4
Installing extensions UI improvements ( #1522 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-25 16:42:19 +02:00
Roman
4474d87ed2
Fix: Unhandled exception for <DropFileInput disabled={true}/> ( #1512 )
...
* fix: invalid handling disabled={false} causing app crash
Signed-off-by: Roman <ixrock@gmail.com >
* re-fix: put React.Children.only() validation inside try-catch to avoid crash as well
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-25 11:55:30 +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
Panu Horsmalahti
ff93760dc4
Enable object-shorthand rule ( #1500 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-24 13:16:35 +02: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 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
Roman
f69f8c793f
Export more UI components via extensions-api ( #1285 )
...
* export more UI components via extensions-api, touches #1277 #1284
Signed-off-by: Roman <ixrock@gmail.com >
* fix build, added table + notification-store exports
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-09 15:16:32 +02:00
steve richards and Steve 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
Alex Andreev
dc07d646ec
Align NamespaceSelect and SearchField ( #1073 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-12 10:08:57 +03:00
Sebastian Malton and Sebastian Malton
87061cee9e
Refactor testing harness to use defaults ( #808 )
...
* Refactor testing harness to use defaults
- Move tests into defaultly named test folders
- Use default test suffix of ".test" instead of "_test"
- Make cluster-store tests unit tests by adding more
nesting, so that order of tests doesn't matter
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Co-authored-by: Sebastian Malton <smalton@mirantis.com >
2020-10-02 10:05:59 -04:00
Alex Andreev
163b34463b
Removing pre-defined input type ( #984 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-09-28 14:59:35 +03:00
Jari Kolehmainen
cc973bb9ef
fix isPath message ( #860 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-09-11 17:02:56 +03:00
Lauri Nevala and Alex Andreev
4250523fe4
Allow user to configure kubectl binary preferences ( #800 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-09-04 22:50:50 +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
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
Sebastian Malton and Sebastian Malton
858ab88940
use the Kubernetes regex for matching system names ( #659 )
...
* use the Kubernetes regex for matching system names
Signed-off-by: Sebastian Malton <smalton@mirantis.com >
Co-authored-by: Sebastian Malton <smalton@mirantis.com >
2020-08-07 16:24:47 -04:00
Roman
b7974827d2
Lens restructure ( #540 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-06-30 14:35:16 +03:00