339 Commits

Author SHA1 Message Date
Daniel Compton
4d394a3de6 Add inter-epoch subscription docs 2018-02-09 21:36:18 +13:00
Daniel Compton
f0ef165b21 Calculate level 2 subscriptions correctly again 2018-02-09 21:06:47 +13:00
Daniel Compton
11954d99b1 Calculate count of subscription traces 2018-02-09 20:57:00 +13:00
Daniel Compton
9454eb1baf Update UI for subs 2018-02-09 20:36:16 +13:00
Daniel Compton
4081c80810 Remove debugging code 2018-02-09 14:17:58 +13:00
Daniel Compton
930ecc68f4 Sort subscriptions in a more pleasing manner 2018-02-09 13:13:22 +13:00
Daniel Compton
0c7aced207 Use all subscription values between each epoch for calculating sub state
Using filtered-traces means that you will lose sub-state updates. The
filtered-traces are partial parts of an epoch, but it is only passed
to sub-state matching once there is a full epoch matched. At that point
filtered-epochs will not necessarily have a matching complement of
traces. This commit uses all of the stored traces on each run,
meaning that no traces will be dropped.
2018-02-09 05:36:55 +13:00
Daniel Compton
8e6605f58d Provide a diff message when a sub wasn't run 2018-02-09 04:21:33 +13:00
Daniel Compton
e4ee6ce567 Provide not run subscriptions and avoid subs with a nil path 2018-02-09 04:11:52 +13:00
Daniel Compton
0259ef0a58 Return separate sub state for epoch and inter-epoch 2018-02-09 03:28:28 +13:00
Daniel Compton
4a5b00b713 Track if a subscription is unchanged 2018-02-09 02:30:57 +13:00
Daniel Compton
3f94b3c960 Improve sub parsing 2018-02-09 01:39:03 +13:00
Daniel Compton
9d90992470 Sub inter-epoch handling 2018-02-09 01:39:03 +13:00
Daniel Compton
c427974800 Revert "Revert "Refactor subscription-state parsing""
This reverts commit c6835aab0673d6ab2f3e2e9ee91068e2b8774231.
2018-02-09 01:39:03 +13:00
Daniel Compton
277e891594 Correct var name 2018-02-09 01:39:03 +13:00
Daniel Compton
578fdb089c Save showing epoch traces setting to localstorage 2018-02-09 01:38:37 +13:00
Daniel Compton
c6835aab06 Revert "Refactor subscription-state parsing"
This reverts commit 39c61c6d12a97b854a7a3cba0b61d1173668e55d.
2018-02-02 15:47:40 +13:00
Daniel Compton
39c61c6d12 Refactor subscription-state parsing 2018-02-02 15:47:34 +13:00
Daniel Compton
1ef6faa28a Stop dragger from being grabbed when trace panel is hidden
When the dragger was hidden, it was just off screen, but its grab region
included 5px of on-screen region. Now when we hide the dragger, we
disable its grabber region.
2018-02-02 15:47:05 +13:00
Daniel Compton
924c7f8e19 Re-enable not-run count UI element 2018-02-01 15:25:43 +13:00
Daniel Compton
ecc7f7edeb Fix Garden dependencies
Fixes #138
2018-01-31 08:57:00 +13:00
Daniel Compton
d5060fc814 Change sub filter to ignore unchanged l2 subs 2018-01-31 01:07:55 +13:00
Daniel Compton
d652ef17e3 Show previous value for subscription state 2018-01-31 00:50:36 +13:00
Daniel Compton
e0dea398f4 Add debug? subscription 2018-01-31 00:49:18 +13:00
Daniel Compton
889bfc6a3a Refactor match handling to return a map with multiple keys
This allows us to parse and collect other information when receiving
events, rather than calculating them at runtime when some information
may not be available (like dropped traces).
2018-01-30 22:05:31 +13:00
Daniel Compton
0994626814 Fix event processing time 2018-01-30 16:52:20 +13:00
Daniel Compton
7af2532d55 Clean up unused namespaces 2018-01-30 15:41:39 +13:00
Daniel Compton
2a644b9acf Remove pprint requires 2018-01-30 13:30:37 +13:00
Daniel Compton
beca2881df Distinguish between subscriptions returning nil and not run 2018-01-30 10:49:26 +13:00
Daniel Compton
339d7c9147 Add a docs link to layer ? subs 2018-01-30 10:40:19 +13:00
Daniel Compton
72ead3e2e6 Remove interceptors from debug information 2018-01-29 23:45:46 +13:00
Daniel Compton
b28f14c8cf Make app-db and subscription views wrap header info responsively 2018-01-29 23:24:13 +13:00
Daniel Compton
1e55d1440a Work on incrementally updating subscription state 2018-01-29 22:55:46 +13:00
Daniel Compton
02974f3f32 WIP step for calculating subscription match state
State not being rolled over between processing, and still needs to be
integrated with the existing match information we store.
2018-01-29 22:54:57 +13:00
Daniel Compton
7efeb61208 Add new event panel 2018-01-29 22:54:57 +13:00
Daniel Compton
6465a09d08 Create separate subs that ignore view namespaces
These are only needed in the Trace panel, so we don't need to pay the
cost elsewhere. This also fixes the bug where ignored view namespaces
were shown when showing all traces in the Trace panel.
2018-01-29 01:14:31 +13:00
Daniel Compton
b62ed52847 Collect layer 2/3 information when subs run
We can then use it for determining subscription layer level when subs
are created or destroyed.
2018-01-29 00:44:45 +13:00
Daniel Compton
b87a584589 Change clicking on a trace to print entire trace to console
This is useful for debugging with more information about the trace.
2018-01-29 00:03:39 +13:00
Daniel Compton
39f038f8d5 Add setting to drop low level traces from being stored 2018-01-28 11:43:00 +13:00
Daniel Compton
70cefc4022 Add debugging instructions if re-frame-trace fails to start 2018-01-28 11:26:43 +13:00
Daniel Compton
631fa68448 Incrementally parse traces
Rather than re-parsing them every time we get a new set of
traces. This is much more efficient and lets us do more useful things
in the future.
2018-01-28 11:03:59 +13:00
Daniel Compton
af4afbae88 Handle initial state when there are no previous traces
(reduce conj existing ...) was returning a seq instead of a vector for
the first received traces, because it was existing was nil instead of
the empty vector.
2018-01-28 10:20:56 +13:00
Daniel Compton
3235e5a50d Remove all local ratom state for storing traces 2018-01-27 23:59:33 +13:00
Daniel Compton
d9d8ec049d Make all pod expansions independent of each other
Fixes #134
2018-01-27 23:35:34 +13:00
Daniel Compton
2b414ff9f2 Fix displaying external windows
The bug was introduced in 022a070fb86ffad655b5a6799f018e659a73492d.
2018-01-27 23:28:27 +13:00
Daniel Compton
ddcee6b2c8 Remove ratom state and centralise it in re-frame's app-db 2018-01-27 22:50:36 +13:00
Daniel Compton
f20dd1b0d0 Bundle garden to avoid source conflicts with garden 2.0.0 2018-01-27 18:44:45 +13:00
Daniel Compton
e34047c54d Add setting to filter out trace views that aren't interesting 2018-01-26 20:31:05 +13:00
Daniel Compton
a43ff6464b Return correct match when filtering out event 2018-01-26 19:32:05 +13:00
Daniel Compton
022a070fb8 Add setting to ignore events/epochs 2018-01-26 17:48:19 +13:00