Alex Andreev
4fbaa7f43f
Use getByText from frame selector
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-02 13:27:50 +03:00
Alex Andreev
8566ae8e9e
Using asElement() for assertions
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-02 12:49:17 +03:00
Alex Andreev
5921098bde
Search for element using getByTestId
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-02 11:27:28 +03:00
Alex Andreev
a49c947e51
Test for white-space rule changing
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-02 10:43:46 +03:00
Alex Andreev
2c2266e13d
Adding hard wait for debugging
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-01 13:38:24 +03:00
Alex Andreev
d19e65bf23
Fix click .wrap-logs click event
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-01 12:30:56 +03:00
Alex Andreev
13257f03b2
Set viewport size for the tests
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-01 11:48:52 +03:00
Alex Andreev
f1810813a1
Linter fix
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-01 10:08:33 +03:00
Alex Andreev
8d2d9e8458
Insert very long log contents
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-12-01 09:54:30 +03:00
Alex Andreev
0f6b0f3ceb
Fixing finding wrapped log line height
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-30 15:49:16 +03:00
Alex Andreev
5a41265255
Fix logline selector
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-29 14:07:29 +03:00
Alex Andreev
85513859f8
Change namespace to default
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-29 13:14:04 +03:00
Alex Andreev
3748e943bd
Remove unused waitForSelector
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-29 11:46:34 +03:00
Alex Andreev
b88a9c3f13
Navigate to pods at the start of the test
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-29 11:01:09 +03:00
Alex Andreev
fb2b3ff8ea
Add navigateToPods step
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-29 10:35:59 +03:00
Alex Andreev
f8c00280ac
Updating snapshots
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-29 09:54:19 +03:00
Alex Andreev
4e3c596a80
Few line characters, bigger timeout
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-29 09:51:50 +03:00
Alex Andreev
c8998eb4e8
Add missing click event
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-28 19:11:24 +03:00
Alex Andreev
cbee79176d
Fix selector
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-28 16:15:17 +03:00
Alex Andreev
24d059f9c3
Testing log lines wrap
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-28 15:30:25 +03:00
Alex Andreev
6a1c60706a
Fixing smoke tests
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-28 14:59:46 +03:00
Alex Andreev
a1e54ee6f1
Align with latest Virtualizer API
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-28 14:29:12 +03:00
Alex Andreev
efc79729c4
Fixing log-search tests
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-28 11:51:51 +03:00
Alex Andreev
d598ee5c37
Fix download-logs tests
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-28 10:46:55 +03:00
Alex Andreev
6b2b9bcc0f
Bump @tanstack/react-virtual version
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-28 10:18:56 +03:00
Alex Andreev
7ce064c21b
Fixing to-bottom tests
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-28 10:17:20 +03:00
Alex Andreev
31c7ae118d
Merge branch 'master' into wrap-pod-logs
2022-11-28 10:11:28 +03:00
Alex Andreev
95cee3bcc8
Removing big padding after cluster settings avatar ( #6634 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-23 14:52:13 +03:00
Alex Andreev
1354fa66a5
Adding spacing between Metrics Settings sections ( #6632 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-23 13:43:27 +03:00
Alex Andreev
82ab60d544
Fix for Menu component memory leak ( #6526 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-11-07 09:54:02 -05:00
Alex Andreev and Janne Savolainen
c527014011
Expose a way to add cluster frame components in Extension API ( #6385 )
...
* Add cluster modals registrator
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add ClusterModal components and injection token
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add clusterModals tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots and use css modules
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting 0 height as an inline style
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Do not export clusterModalsInjectionToken to extensions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Testing changing visibility flag
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refactor cluster modals registrator and injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Harder linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linter again
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using clusterFrameChildComponentsInjectionToken
for specific extension elements
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused modal registration
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Improving tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linting
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update snapshots
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Rename test suite for consistency
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
2022-11-04 09:15:16 +03:00
Alex Andreev
07a775c32d
Fix scss compilation warning by removing flex.box dependency ( #6411 )
...
* Save only used selectors from flex.box library
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove flex.box dependency
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-10-14 09:56:54 -04:00
Alex Andreev
491082f784
Add data-origin to status bar items for better observability ( #6400 )
...
* Passing id to status-bar-items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add data-origin prop for status bar items
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing status bar tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Rename id -> origin because it is not unique
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-10-14 09:27:10 +03:00
Alex Andreev
0fe3242030
Refactoring dock tab download logs tests ( #6149 )
...
* Separate 'download visible' and 'download all' tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add disabled prop to DownloadLogsDropdown
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Test for dropdown if no logs available in the tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused code statement
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-10-04 14:17:21 +03:00
Alex Andreev
e3703dbf26
Leading topbar home button to welcome page ( #6218 )
2022-09-13 10:43:51 -04:00
alexfront
85426ace80
Remove a leftover
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-09 11:47:35 +03:00
alexfront
66dbcede1c
Merge branch 'master' into wrap-pod-logs
2022-09-09 11:34:15 +03:00
alexfront
0de9b9c168
Decrease scroll to bottom timeout time a bit
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-09 11:27:44 +03:00
alexfront
0383666f23
Remove unused files
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-09 11:26:42 +03:00
alexfront
c4f41db275
Increase timeout delay to wait virtualizer
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-09 11:06:41 +03:00
alexfront
aeb0127a8f
Disable smooth scrolling
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-09 11:04:24 +03:00
alexfront
e82f83fa5a
Use named export for useIntersectionObserver
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-09 10:00:42 +03:00
alexfront
511fc09419
Prevent useEffect not firing with because of condition
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-09 09:59:42 +03:00
alexfront
64773f3b69
Unify styles for the top and bottom lines
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-09 09:58:59 +03:00
alexfront
2d69bbcfd8
Fix linter errors
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-08 16:04:57 +03:00
alexfront
d951f3a017
Move all side effects to hooks
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-08 16:00:01 +03:00
alexfront
ac8ed1478e
Scroll list to bottom when new logs arrived
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-08 14:14:35 +03:00
alexfront
d37ae1bffe
Fixing ts compilation errors
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-07 15:24:47 +03:00
alexfront
1898a4d68e
Remove unused code
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-07 15:21:23 +03:00
alexfront
dadd69ef03
Add useIntersectionObserver() hook
...
Signed-off-by: alexfront <alex.andreev.email@gmail.com >
2022-09-07 15:10:32 +03:00
Alex Andreev
05a3ed0e57
Fix scrolling to items on search
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-06 19:28:01 +03:00
Alex Andreev
7b53650628
Hook function renaming
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-06 19:05:10 +03:00
Alex Andreev
51c059f1ba
Give more room to the LogRows content
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-06 18:54:26 +03:00
Alex Andreev
6ec761868b
Restyling Jump to bottom button
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-06 18:49:50 +03:00
Alex Andreev
b8f4fa14bf
Show Jump to bottom button
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-06 18:35:02 +03:00
Alex Andreev
4c74d5a780
Add useInitialScrollToBottom() hook
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-06 18:26:16 +03:00
Alex Andreev
8ed40ffb8f
Create useScrollToBottomButton hook
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-06 17:40:05 +03:00
Alex Andreev
b989340f84
Refresh rows measurement by refreshing their keys
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-06 16:56:06 +03:00
Alex Andreev
5443f40259
Highlight log row on hover
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-06 16:44:52 +03:00
Alex Andreev
c4ae074abd
Add wrapper switch
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-05 15:26:24 +03:00
Alex Andreev
f90ede1026
Scroll to overlay from the search
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-05 13:54:57 +03:00
Alex Andreev
f09974fd1f
Move LogRow to its own file
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-05 13:36:49 +03:00
Alex Andreev
da8570d974
Add more styles
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-05 13:27:32 +03:00
Alex Andreev
2e0b4d15b3
Add LogList external styles
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-05 13:21:23 +03:00
Alex Andreev
1679ba14e1
Scroll to bottom on tab change
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-05 13:15:13 +03:00
Alex Andreev
c4538e928b
Scroll to bottom on pod id change
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-02 14:33:00 +03:00
Alex Andreev
968621f7c6
Fix scroll position when more logs loaded
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-02 13:46:44 +03:00
Alex Andreev
6d0d524f4f
Merge branch 'master' into wrap-pod-logs
2022-09-02 12:49:48 +03:00
Alex Andreev
62cc0d7689
Keep scrolling position when loaded more logs
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-02 10:28:37 +03:00
Alex Andreev
37318cab4e
Fix: align sidebar menu items ( #6138 )
...
* Introduce sitebar-items.module.scss
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adjust sidebar item styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use classnames from a scss module
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set sidebar min width to 150px to keep readability
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Break words in long links
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adjust navigation paddings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused scss file
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updating bunch of snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-01 12:52:55 +03:00
Alex Andreev
af8f39f83a
Show logs regarding to showTimestamps flag
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-01 11:28:09 +03:00
Alex Andreev
e16fcf23a7
Remove overflow from the LogControls
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-01 09:51:06 +03:00
Alex Andreev
e02278d515
Merge branch 'master' into wrap-pod-logs
2022-09-01 09:49:29 +03:00
Alex Andreev
88678f63a2
Load more logs when scrolled to top
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-01 09:44:19 +03:00
Alex Andreev
85fadc74e0
Set some list onScroll events
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-01 09:28:31 +03:00
Alex Andreev
843c0f76f6
Remove overflow from the LogControls
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-09-01 09:27:55 +03:00
Alex Andreev
2fe7668edc
Remove requests/limits text data for workload metrics ( #6128 )
2022-08-31 14:20:35 -04:00
Alex Andreev
6f91071af4
Using new <LogList/>
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-31 14:34:54 +03:00
Alex Andreev
5795452cc3
Add option to download all logs from the container ( #5970 )
...
* Creating callForAllLogsInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add sketch of Download all logs button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use randomId while creating pod logs tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Initial draft of download all logs tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Introduce download logs dropdown
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleaning up Controls component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Coloring and styling Download logs button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Drop waiting state on network or other error
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* After clicking on button test cases
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing previous Download icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Respect timestamps and previous props
in callForAllLogsInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused .mockReturnValueOnce
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove one more unused line
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Cleanin up by overriding internals of logsViewModel
injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Replace usage of callForAllLogs with
simple callForLogs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use css modules for the Controls component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move downloadAllLogs logic to injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move downloadLogs logic to the model
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove withInjectables wrapper from LogControls
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move downloadAllLogs to model
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Testing resolve/reject options for callForLogsInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Catching call for logs errors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Doesn't show save dialog if no logs received
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* More descriptive describe statement
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Introduce Dropdown component with Menu
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Use <Dropdown/> in Download All Logs dropdown
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix line-break symbol
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Return a Promise from downloadAllLogs()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Extend LogTabViewModel mocks in other tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix downloadAllLogs prop typings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linter harder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix selectors in integration test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move tests into /behaviours
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-30 16:00:11 +03:00
Alex Andreev
d51c327370
Add tanstack/react-virtual dependency
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-29 15:54:01 +03:00
Alex Andreev
da39984cc1
Create functional LogList component
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-29 15:53:07 +03:00
Alex Andreev
edd5d54e49
Replace deprecated <FormSwitcher/> in metrics-cluster-feature extension ( #6060 )
...
* Use new <Switch/> inside deprecated material switcher
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up material UI (except types) from FormSwitch
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix button size in Metrics Settings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove material-ui references from
<Switcher/> & <FormSwitcher/>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Change to newer <Switch/> component
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-25 16:18:58 +03:00
Alex Andreev
0c32490fb0
Make cluster #app component transparent ( #6076 )
...
until theme ready
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-25 16:16:39 +03:00
Alex Andreev
3fe31d5fb5
Fix node conditions column text-align ( #6092 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-25 08:56:19 -04:00
Alex Andreev
ba54a64ebb
Fix <Select/> text overflow below baseline ( #6085 )
...
* Fix: do not crop <Select/> single value
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix: do not crop namespace selector placeholder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Align working dir input height with others
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-23 19:19:15 +03:00
Alex Andreev
93cefe7897
Use color-scheme: auto on all iframes ( #6074 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-22 15:09:41 +03:00
Alex Andreev
17ddee2bde
Remove Tabs hover line width transition ( #6020 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-11 15:39:23 +03:00
Alex Andreev
3d62d1c029
Fix ingress list line heights ( #5949 )
...
* Split ingress rules by multiple lines
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Force updating virtual list when rowHeights changed
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Replacing simple div selectors with more specific
.ingressRule classnames
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-08-02 15:24:53 +03:00
Alex Andreev
5ddd8e8846
Fine-tune styles of Extensions page ( #5921 )
2022-07-28 16:34:06 -04:00
Alex Andreev
e334a6aeda
Adding more control over extension preferences page title ( #5901 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-07-27 14:05:55 +03:00
Alex Andreev
811d96eb74
Fix styles for topbar window buttons on linux ( #5874 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-07-25 08:55:41 +03:00
Alex Andreev
014ec6a03b
Align HotbarSelector elements with status bar items ( #5755 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-06-29 15:44:36 +03:00
Alex Andreev and Janne Savolainen
3084b7b8d9
Change update warning level over time ( #5445 )
...
* Give an UpdateButton injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* AppUpdateWarning class and injectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Rename folder to app-update-warning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add appPublishDateInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Inject ipcRenderer into app-update-warning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add setter for downloadedUpdateDate
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add tests for AppUpdateWarning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* appPublishDate initial test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Parsing app release date from the package version
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Introduce appUpdateWarningLevelInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix withInjectables props
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Determine warning from days passed after update available
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Save update available date in session storage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move quitAndInstall() to separate function
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Register quit-and-install ipc channel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make update function injectable for button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Set proper timeframes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting global UTC timezone for tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refresh tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Testing warning level changes over time
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove unused app-publish-date files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make linter happy
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Pass quitAndInstallUpdateInjectable to UpdateButton
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove updateAppInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Initial tests for installing update using topbar button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refactor AppUpdateWarning class using injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Permit side effects in injectable
periodicalCheckForUpdateWarningInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Temporarily set noop for UpdateButton update()
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove previous implementation files
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Unoverriding topbar injectables
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Render TopBar inside ApplicationBuilder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Move updateWarningLevelInjectable
to /common subfolders from /main
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Make UpdateButton warning prop observable
by using computed() structure
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Updating snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add sync box files allowing to restart & install
update from renderer process
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add Update button dropdown tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix jest.advanceTimersByTime usage
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Check for severe warning level
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove usage of legacy global causing trouble in unit tests
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Make update warning level completely reactive and responsibility of a renderer
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove dead code
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove tests that are covered by behaviour
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Fix restarting and installing update when pressing update button
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update snapshots
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove dead code
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Update more snapshots
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Remove duplication from behavioural unit test
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi >
* Reducing too large MenuItems height
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Reduce too large UpdateButton paddings
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add jest globalSetup into package.json
to fix timezone test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Do not triggering computed value every time it is being used
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
2022-06-28 16:27:19 +03:00
Alex Andreev
0e1c507ce1
Do not affect history while navigating ( #5741 )
...
to Preferences extensions tabs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-06-28 13:47:55 +03:00
Alex Andreev and Janne Savolainen
0784085bf4
Show extension preferences in separate page ( #5284 )
...
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com >
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi >
2022-06-21 11:11:31 -04:00
Alex Andreev
96ed99a06b
Fix table row heights ( #5652 )
2022-06-16 10:01:27 -04:00
Alex Andreev
8349d6aa4a
Fix html font size and adjust usage of rem units ( #5641 )
...
* Leave default browser font-size for the html
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix preferences helm repos layout
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adjust usage of rem units
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adjust namespace select filter option sizes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing ToBottom btn sizing
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing Remove Cluster dialog sizing
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing catalog sidebar title font-size
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix Notice sizing
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update more snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-06-15 19:38:10 -04:00
Alex Andreev
c2b4fed5c3
TopBar Update button ( #5376 )
...
* UpdateButton skeleton
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Show UpdateButton in topbar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Default button styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add update icon to menu item
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Replace colors for medium & high levels
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fine-tune colors for light theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix keyboard events bug
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Hide <UpdateButton> from topbar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using dropdown icon instead of sandwich
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Used determenistic id for the button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Respect id prop
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add small space
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using accent color directly from active theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Update snapshots
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix open/close Menu errors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix linter harder
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clean up tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix act() wrapper console.error
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Remove aria-expanded attribute
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2022-05-18 19:36:40 +03:00
Alex Andreev
cc9ee67dc2
Fix <Switch/> checked callback attribute value ( #5360 )
2022-05-11 10:33:01 -04:00
Alex Andreev
fdf65e8ab6
Allowing to copy text from About dialog ( #5335 )
2022-05-05 11:49:11 -04:00