97 Commits

Author SHA1 Message Date
chris (daiyi)
4ea8041bbc Render app-db state with symantic class names 2017-10-24 15:24:29 +13:00
chris (daiyi)
506ee537f1 Create app-state tab 2017-10-24 15:24:29 +13:00
chris (daiyi)
5f3cb0dbb8 Equalise table padding 2017-10-24 15:24:29 +13:00
Daniel Compton
2858a0ff6c Update window width state when window resizes
Fixes #26
2017-10-20 15:08:23 +13:00
Daniel Compton
05656af0b9 Revert "Switch re-frame-trace to render into Shadow DOM"
Because it doesn't actually work yet.

This reverts commit bab881ee75921fb7a5afdeb9510e967cb0132904.

Relates to https://github.com/Day8/re-frame-trace/issues/44
2017-10-20 14:05:16 +13:00
Daniel Compton
bab881ee75 Switch re-frame-trace to render into Shadow DOM
I tried to render re-frame-trace into a Shadow DOM which worked, but I
ran out of time to get click handlers to work. This is the working point
that I got up to.

Relates to https://github.com/Day8/re-frame-trace/issues/44
2017-10-20 14:02:32 +13:00
Daniel Compton
586de69894 Use CSS pseudo-selectors for odd/even instead of calculating an index 2017-10-19 16:14:19 +13:00
Daniel Compton
4d13391c37 Handle window viewport size changing, and other misc dragging bugs
Fixes #26
2017-10-19 16:04:25 +13:00
Christian Karlsen
0a4d04b214 Fix on-mouse-up not firing when resizing 2017-09-15 11:46:36 -04:00
saskali
5d4f21b89f Add trace filter by category (#71)
* Add trace filter by category

- fixes #39
- fixes #57

* Fix combination of filter types

* Refactor filter

- use idiom 'seq' to check for empty sequences

* Make small refactorings in filter code

* Refactor toggle-category-fn to use set operations
2017-09-14 16:44:44 +02:00
chris
bb37c70113 Table readability (#69)
* Restyle table for readability

* Make op text colours accessible AA standard

* Table to full panel width

* Separate traces with stripes in classnames

* Trace detail arrows brighten on focus state

* Show print icon when hovering on trace detail

* Clean filter inputs and accessibility focus

* Make filtering state more obvious

* Click trace filtering count to reset filters

* Remove redundant buttons
2017-09-11 13:34:32 +02:00
chris (daiyi)
01f883ca4d Fix trace table bottom being clipped from view 2017-09-07 15:33:13 +12:00
chris (daiyi)
0339579c1c Equalise table padding 2017-09-01 12:13:01 +02:00
Daniel Compton
b345eb824e Use when-not instead of single branch if-not and do 2017-09-01 14:31:25 +12:00
Saskia Lindner
8e3279c39c Replace time filter when adding a new one 2017-09-01 14:31:25 +12:00
Saskia Lindner
562a8c7322 Prevent duplicate filter strings 2017-09-01 14:31:25 +12:00
Daniel Compton
4451982037 Don't convert Clojure objects to JS objects
- Add docs to suggest use of cljs-devtools
2017-09-01 13:24:02 +12:00
Saskia Lindner
9a4072ddf8 Print trace details to console on click
- fixes #56
2017-08-31 15:20:04 +02:00
Saskia Lindner
654925545e Merge branch 'master' into feature/extend-filter 2017-08-31 12:04:51 +02:00
Saskia Lindner
e3c9eb6947 Refactor adding new filters 2017-08-31 11:55:54 +02:00
Daniel Compton
6bee5c3a63 Use the correct location for getting CSS 2017-08-31 16:23:46 +12:00
Daniel Compton
e19835e927 Build CSS to go into the resources directory 2017-08-31 16:17:58 +12:00
chris (daiyi)
b8d22ca17a Move .less to resources folder 2017-08-31 16:09:14 +12:00
chris (daiyi)
e448b45f0a Use lein-less to do css preprocessing
closes #61
2017-08-31 16:09:14 +12:00
chris (daiyi)
483d1f5a16 Use slurp macro to read styles from .css file
closes #24
2017-08-31 16:09:14 +12:00
Daniel Compton
91d4ac57f7 Merge pull request #58 from Day8/local-storage-show-details
Save state of traces panel to localstorage
2017-08-31 16:06:36 +12:00
Saskia Lindner
49a84e3f60 Merge branch 'master' into feature/autoscroll 2017-08-29 16:56:49 +02:00
Saskia Lindner
df1bc168fa Merge branch 'master' into feature/extend-filter 2017-08-29 16:55:52 +02:00
Saskia Lindner
50deba5281 Refactor save query function 2017-08-29 16:43:27 +02:00
Saskia Lindner
7bd773fe02 Load traces if panel is open 2017-08-29 15:56:52 +02:00
Saskia Lindner
60f6082c67 Remove traces from localstorage 2017-08-29 14:53:32 +02:00
Saskia Lindner
3fa8da74f2 Refactor autoscroll list
- add docstring
- use callback ref to reference DOM element
2017-08-29 14:45:43 +02:00
Saskia Lindner
6276a76cbb Refactor autoscrolling code 2017-08-28 17:18:28 +02:00
Saskia Lindner
f7cf12c1bb Save showing state for panel to localstorage 2017-08-28 16:14:06 +02:00
Saskia Lindner
d5aefa9b1d Pin traces to bottom for autoscrolling 2017-08-25 11:43:00 +02:00
Saskia Lindner
0c336605f3 Save traces and detail expansions to localstorage
fixes #54
2017-08-25 11:23:07 +02:00
Daniel Compton
036392b648 Use a default get value for panel-width-ratio ls 2017-08-25 11:07:16 +12:00
chris (daiyi)
46c4b402bf Save panel width to localstorage 2017-08-25 11:04:57 +12:00
Daniel Compton
465712c1e4 Add local-store get default value, save ls keys with a safe prefix 2017-08-25 11:00:58 +12:00
chris (daiyi)
85d274a528 Override clojure get in localstorage ns 2017-08-25 11:00:58 +12:00
chris (daiyi)
21406bb3b4 Rename localstorage and only trigger on filter change 2017-08-25 11:00:58 +12:00
chris (daiyi)
312b5d3b50 Save filter items to localstorage. 2017-08-25 11:00:58 +12:00
chris (daiyi)
09fdd66e71 Create localstorage helper 2017-08-25 11:00:58 +12:00
Daniel Compton
48f17700d3 Improve behaviour of text filtering
- Make only the text itself clickable
- Stop propagation of the event any further, preventing the trace from
  also being toggled.
2017-08-25 10:46:20 +12:00
Daniel Compton
a989ad0580 Print all tags, but limit size to 400 characters
This prevents the system from completely blowing up if large events are
dispatched.
2017-08-25 09:17:23 +12:00
Saskia Lindner
ec946ea7eb Show event params in trace details 2017-08-25 09:17:23 +12:00
saskali
45a58550be Merge branch 'master' into feature/extend-filter 2017-08-23 10:52:10 +02:00
Saskia Lindner
5258a17451 Refactor css hover state 2017-08-23 10:39:29 +02:00
Daniel Compton
97a73aeeb9 UI tweaks for row show/hiding
- Make whole row clickable
- Remove cursor pointer: https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b
- Add hover effect for hovering over a row
2017-08-23 11:15:18 +12:00
Saskia Lindner
99e83496cc Enable selecting trace names as filters 2017-08-22 18:59:42 +02:00