Commit Graph
12 Commits
Author SHA1 Message Date
Juho Heikka 96309814dc Add ability from extension to add preferences to application preferences (#4579) 2021-12-17 08:30:05 -05:00
Juho Heikka 37b8fe45f5 Center text in notifications (#4461)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-11-30 18:01:04 +02:00
Juho Heikka 9f14b4c534 Fix catalog button border-radius when modal is shown (#4236)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-11-03 13:09:38 +02:00
Juho Heikka f820f3df53 Fix lint error (#4238)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-11-03 12:31:59 +02:00
Juho Heikka 079976d703 Use filtered items in finding the default action catalog add button (#4170) 2021-10-28 12:25:59 -04:00
Juho HeikkaandSebastian Malton 724b9450a6 Change onBeforeRun API (#3981)
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-10-07 12:43:50 -04:00
Juho Heikka 8bbaf8c59e Add terminal copy on select (#3904) 2021-09-29 08:55:39 -04:00
Juho Heikka b41f923931 Merge pull request #3866 from lensapp/issue-3383-menu-position-bug
Fix menu rendering on when slightly off screen
2021-09-29 09:36:25 +03:00
Juho Heikka b70ec5ddbd Remove shouldComponentUpdate, put style to state
instead of straight to DOM so they will be in sync

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-09-27 17:03:27 +03:00
Juho Heikka 2e1b3ea70c Merge branch 'master' into issue-3383-menu-position-bug 2021-09-27 13:35:39 +03:00
Juho Heikka eb789a0ab1 Fix menu rendering on when slightly off screen
Menu would bounce around in some cases because the
refreshPosition() would calculate different results
based on different state of the component and previous
render cycle CSS classes.

Also I found that the render function calls causes
in an infinite loop while open because of refreshPosition
will cause a state change which will rerender the function.
Fixed that with the shouldComponentUpdate which checks
if state has actually changed in between renders.

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-09-22 09:42:51 +03:00
Juho Heikka 74f3826235 Second click on list item closes the details view (#3809)
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
2021-09-15 08:48:12 -04:00