Łukasz Mierzwa
291de7c62f
fix(ui): drop useLocalStore from Annotation
2020-06-08 17:16:01 +01:00
Łukasz Mierzwa
306d3292c0
fix(ui): avoid annotation re-renders
...
afterUpdate callback is chaning on every render, triggering annotation re-render
2020-05-31 16:47:38 +01:00
Łukasz Mierzwa
4d2a543e4a
fix(ui): collapse annotations when clicking on the name
...
Fixes #1721
2020-05-13 09:18:17 +01:00
Łukasz Mierzwa
69c5e2644c
fix(ui): rewrite RenderNonLinkAnnotation with hooks
2020-05-01 17:57:42 +01:00
Łukasz Mierzwa
c12f218b4e
fix(ui): reformat code using prettier v2
2020-03-25 21:43:39 +00:00
Łukasz Mierzwa
5b64a4699a
fix(ui): margin should only be set between elements
...
Right now margin is set after each element rather than to enfore space between two elements
2019-12-23 14:56:23 +00:00
Łukasz Mierzwa
de43f1ac4a
feat(ui): theme switching
...
This add "proper" dark mode using darkly bootstrap theme
2019-11-27 12:18:13 +00:00
Łukasz Mierzwa
f57041988a
chore(ui): avoid using inject in RenderNonLinkAnnotation
2019-10-30 13:31:44 +00:00
Łukasz Mierzwa
d75ad0434e
feat(ui): flash annotation text on changes
2019-05-05 19:34:20 +01:00
Łukasz Mierzwa
dc00ef86c8
fix(ui): cleanup css classes for labels
2019-05-03 19:14:29 +01:00
Łukasz Mierzwa
5db2f971f2
fix(ui): limit annotation width to the parent width
2019-04-20 11:21:27 +01:00
Łukasz Mierzwa
bd0a32ec8a
chore(ui): hide annotation details only when clicking on the - icon
...
This changes handling of annotation hide/show clicks. Right now annotation details are toggled when anything inside the annotation div is clicked. With this change showing annotation details stays the same (click anywhere), but hiding those details only works when clicking the minus icon. A tooltip was added and cursor changes to pointer only when hoovering over clickable elements.
Fixes #518
2019-03-13 18:06:15 +00:00
Łukasz Mierzwa
6ac1d17c18
refactor(ui): use bootstrap utilities for word breaks
...
Using bootstrap means that we don't need to worry about browser compatibility, which in this case means Edge where this wasn't enough
2019-02-24 22:35:39 +00:00
Łukasz Mierzwa
83aa8b9649
feat(tests): strict validation for props
2018-09-24 15:28:25 +01:00
Łukasz Mierzwa
32b7e494fd
chore(ui): make link annotations look more like links and less like labels
2018-09-16 21:47:11 +01:00
Łukasz Mierzwa
e526095f6e
fix(ui): annotation should have same hover style as other elements using badge class
2018-09-08 19:15:40 +01:00
Łukasz Mierzwa
e286cf2f1c
fix(ui): remove dead check
2018-09-02 19:58:36 +01:00
Łukasz Mierzwa
2dbbef2f3e
fix(ui): UI doesn't need to calculate which annotation is hidden by default, backend provides this information
2018-09-01 21:20:22 +01:00
Łukasz Mierzwa
fbda7d1f73
fix(ui): make annotation text smaller to better match labels
2018-07-20 11:34:26 +02:00
Łukasz Mierzwa
a9223adbed
fix(ui): better rendering and life cycle for annotations
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
b1d9a9c34c
feat(ui): respect annotation visibility settings in the UI
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
a4a20ea3ef
feat(ui): new UI written in React
2018-07-19 23:38:11 +02:00