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
Saskia Lindner
fd21fec4e5
Refactor names and logic
2017-08-22 16:29:51 +02:00
Saskia Lindner
b9a83a9908
Fix logic for hiding details
2017-08-17 16:58:17 +02:00
Saskia Lindner
c3ac48cacd
Refactor names and map access
2017-08-17 15:17:16 +02:00
Saskia Lindner
5c5569cd5f
Enable hide and show of trace details
2017-08-16 16:08:38 +02:00
Daniel Compton
b34d344b6e
Move styles and components file into trace folder
2017-08-16 15:40:19 +12:00
Daniel Compton
a94f017c3e
Fix spelling mistake in init-tracing docstring
2017-08-16 15:00:56 +12:00
Daniel Compton
dd0ad6ac54
Merge pull request #38 from Day8/bug/rendering-operation-names
...
Fix rendering of correct operation names in traces
2017-08-16 09:56:47 +12:00
chris (daiyi)
30b836cd8b
Pin filter input to top of panel
2017-08-15 18:51:09 +02:00
Saskia Lindner
543d2e414b
Fix rendering of correct operation names in traces
2017-08-15 15:21:09 +02:00
chris (daiyi)
33765b3eeb
Fix panel resizing
2017-08-14 20:58:46 +12:00
chris (daiyi)
e70c86cbe7
use html dropdown value fields
2017-08-04 18:48:36 +02:00
Saskia Lindner
2dde68256c
Parse input for duration filter correctly
2017-08-02 16:37:29 +02:00
chris (daiyi)
b869ecc544
a11y: add focus states to buttons
2017-08-02 15:18:25 +02:00
chris (daiyi)
4b29ca59fd
Still show 'x of n' event count when x is 0
2017-08-02 14:32:57 +02:00
Saskia Lindner
e42e7d23a9
Refactor code
2017-08-02 11:45:40 +02:00
Saskia Lindner
7b55f8d8fb
Refactor filter function
2017-08-02 11:11:29 +02:00
Saskia Lindner
0ab1aa6e0a
Rewrite filter function wip
2017-08-02 11:11:29 +02:00
chris (daiyi)
8ef8b9f5dc
Keep event duration info to single line
2017-08-02 10:36:00 +02:00
chris (daiyi)
11fcf21e2d
Improve styles and colours and composition
2017-08-01 22:59:46 +02:00
chris (daiyi)
d04a114838
Move trace count info and clear button to table header
2017-08-01 16:25:52 +02:00
chris (daiyi)
2f64dc998b
Add filter tag styles and extract to ns's
2017-08-01 15:32:33 +02:00
Saskia Lindner
13be234bf0
Refactor render-traces
2017-08-01 15:29:59 +02:00
Saskia Lindner
8bfb1994e0
Change color of sub/run and fsm-trigger
2017-08-01 15:08:11 +02:00
Saskia Lindner
a7f17b2407
Refactor render-traces function
2017-08-01 15:06:53 +02:00
Saskia Lindner
672d4ee575
Add filter-type to queries
2017-07-31 16:02:38 +02:00
Saskia Lindner
e823807feb
Reset filter input to empty string
2017-07-31 15:04:07 +02:00
Saskia Lindner
2e0e7375dc
Prevent adding filter-items on blur
2017-07-31 14:46:13 +02:00
Saskia Lindner
c676186a35
Prevent adding empty filter items
2017-07-31 14:45:22 +02:00
Saskia Lindner
059ab97e85
Add filter items wip
2017-07-31 14:39:24 +02:00
Saskia Lindner
b3bfa816bb
Fix case insensitive filtering
2017-07-27 14:05:10 +02:00
chris (daiyi)
aa4b455559
Indicate selected tab
2017-07-26 18:24:32 +02:00
Saskia Lindner
a9000d2c27
Enable case insensitive filtering
2017-07-26 17:08:51 +02:00
Saskia Lindner
5dce696e29
Add basic styling improvements
2017-07-26 17:01:26 +02:00
chris (daiyi)
bc0825a558
Only inject panel once
2017-07-25 17:16:16 +02:00
Dexter Gramfors
d0ef056a57
( #11 ) Automatically inject devtools into the DOM in the preload namespace.
2017-04-13 12:15:23 +12:00
Daniel Compton
c7eae79ec3
Move preload ns to day8.re-frame.trace.preload
2017-04-13 11:19:55 +12:00
Dexter Gramfors
2cecacb6af
#10 Add preload namespace that calls init-tracing! for use with the :preloads compiler option.
2017-04-13 00:56:17 +02:00
Daniel Compton
8c95ebad3c
Update for re-frame 0.9.0
2016-12-16 14:45:28 +13:00
Daniel Compton
44429f981c
Add enable and disable-tracing functions
...
Hard coded at the moment to disable/enable when showing the panel. Will
be eventually made configurable.
Fixes #7
2016-12-15 11:21:52 +13:00
Daniel Compton
91d8715584
Whitespace
2016-12-15 10:52:20 +13:00
Daniel Compton
0aaf6ce77f
Don't pass on-save as props to input field.
...
Fixes #8
2016-12-15 10:52:09 +13:00
Daniel Compton
d2a4c78b9c
Set defaults
2016-12-09 10:55:17 +13:00
Daniel Compton
c253ad9c83
Update to support new API
2016-12-09 10:37:41 +13:00
Daniel Compton
9335c3963c
Continue working
2016-11-16 11:36:47 +13:00
Daniel Compton
6b8b961d13
Commit changes
2016-11-15 15:06:10 +13:00
Daniel Compton
c6384dcd74
Temp working point
2016-11-09 14:39:39 +13:00
Daniel Compton
b3d64dd7a8
Temp working point
2016-11-09 12:30:11 +13:00