1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
Alex Andreev
5c4f29445c Adding shadow corners to scrollable area
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-15 10:03:54 +03:00
Alex Andreev
45644fe5ab Update scrollbar overflow on tabs change
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-14 16:11:44 +03:00
Alex Andreev
09457e9f95 Add custom scrollbar on hover
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-14 16:01:13 +03:00
Alex Andreev
3fb59bf8c2 Set tabs scrollable on small window sizes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-14 13:01:27 +03:00
Alex Andreev
1b2c866b45 Add dock-tabs.module.scss
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-14 11:34:55 +03:00
Alex Andreev
3d5da4f60d Removing custom left/right arrow buttons
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-03-14 11:24:10 +03:00
DmitriyNoa
7d47861ddc Merge branch 'master' into improve-dock-tabs-ux
# Conflicts:
#	src/renderer/components/dock/dock-tabs.tsx
2022-03-02 16:59:33 +01:00
Sebastian Malton
0b32775d40
Enforce some naming conventions (#4813) 2022-03-01 13:06:53 -05:00
Sebastian Malton
600bd659f6
Enforce member-delimiter-style using eslint (#4870) 2022-02-16 14:43:03 -05:00
DmitriyNoa
d97d0a6cda Cleanup. Remove reaction.
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-01-31 17:35:34 +01:00
DmitriyNoa
1c55fe6167 Add reaction cleanup
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-01-31 16:37:54 +01:00
DmitriyNoa
6746ae489f Merge branch 'master' into improve-dock-tabs-ux
# Conflicts:
#	src/renderer/components/dock/dock-tabs.tsx
2022-01-31 16:24:10 +01:00
Sebastian Malton
0ce4e3d793
Full dependency inversion of <Dock> and all current tab kinds (#4757)
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-31 09:49:36 -05:00
DmitriyNoa
be41b6b5d7 PR fixes and improvements
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-01-31 14:20:17 +01:00
DmitriyNoa
1091d4c49b Add disposer cleanup
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-01-31 10:04:19 +01:00
DmitriyNoa
0a4510d253 Fix pr comments. Cleanup function. Simplify reaction
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-01-31 10:04:19 +01:00
DmitriyNoa
1d79392668 Fix flickering and arrows position
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-01-31 10:04:19 +01:00
DmitriyNoa
f622348b6c Fix right button
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-01-31 10:04:19 +01:00
DmitriyNoa
d2b9cb27d7 Update values on resize
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-01-31 10:04:19 +01:00
DmitriyNoa
5f192f6712 Add tabs controlls
Signed-off-by: DmitriyNoa <dmytro.zharkov@gmail.com>
2022-01-31 10:04:19 +01:00
Janne Savolainen
589472c2b5
Shorten license header to reduce amount of clutter in top of the files (#4709)
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-18 10:18:10 +02:00
Janne Savolainen
9d33fff906
Cascade different refactorings to eliminate global shared state from app paths
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-05 13:26:49 +02:00
Sebastian Malton
dfd9843809
Provide better typing for dock tabs (#3340) 2021-07-13 08:44:27 -04:00
Sebastian Malton
5ed4537979
Turn on noUnusedLocals, noImplicitReturns, importsNotUsedAsValues: error, and isolatedModules (#2777) 2021-05-19 12:11:54 -04:00
Jari Kolehmainen
2d0609ed24
Check source files for license header (#2763)
* check source files for license header

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

* tweak

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

* add license header to all relevant source files

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-05-12 18:33:26 +03:00
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
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
Alex Andreev
83ed44f670
Adding logs tab bottom toolbar (#1951)
* Adding bottom toolbar to logs tab

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

* Making bottom toolbar responsive

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

* Using generic search input clear button

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

* Fixing log test selectors

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-01-15 11:34:11 +03:00
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