28 Commits

Author SHA1 Message Date
Ruben Bridgewater
e885726a7f
Fix linting errors 2018-09-19 10:22:48 +02:00
Matteo Collina
0a5eb02a0e Revert "Merge pull request #165 from BridgeAR/filter-init"
This reverts commit be8e703b03ed86d0252d3a32399fef17a415a485, reversing
changes made to 2bbc814beeee89693f2a55764a5c41ce22d54a61.
2018-09-18 15:59:54 +02:00
Ruben Bridgewater
b1bd95fadd
Remove trailing whitespace 2018-09-11 15:43:46 +02:00
Matteo Collina
38ec6afebe
Merge pull request #151 from goto-bus-stop/feature/history
Direct stack frame #-links + history
2018-08-28 17:13:28 +02:00
Renée Kooi
9e11f5cb0d
Ensure focusedNodeId is always an ID 2018-08-28 13:08:01 +02:00
Renée Kooi
9c4a76f51a
Fix typo in default history state 2018-08-17 16:50:55 +02:00
Renée Kooi
8750a98893
Decode URI escapes before parsing JSON 2018-08-17 10:46:46 +02:00
Renée Kooi
5054e78ae5
Use JSON for the hash. 2018-08-17 10:39:01 +02:00
Renée Kooi
b25573835e
Update hash after type exclusion changes. 2018-08-17 10:33:05 +02:00
Renée Kooi
0e58d0d5eb
Add type exclusion state to history 2018-08-15 13:06:19 +02:00
Renée Kooi
e73d3a8c1b
Implement history
This patch stores the current focused node in the URL hash, so you can
link to a specific stack.

It also implements the back/forward buttons using the `pushState()` API.
Only the merged/unmerged setting and the focused node ID are stored
right now, but the type visibility settings should be added too as those
are necessary in order to show the focused node.

The hash is read on load, elsewhere the history API is
used—`pushState()` and `onpopstate` are a little easier to deal with
than `hash` and `onhashchange`. (onpopstate is _only_ triggered by user
action for example so we don't have to check if we just pushState()d.)

TODO:

 - [ ] add type visibility settings to URL hash
 - [ ] when pressing Back repeatedly, the rendered state may get out of
 date because no new animations are started for 500ms or so after
 another started. Should instead cancel ongoing animations and switch to
 the new one.
2018-08-15 12:22:04 +02:00
Shuhei Kagawa
56b13a6c7d Fix error on resize 2018-08-12 00:41:00 +02:00
Kamil Mech
4177d6050e Add top offset to prevent top bar from cropping the top stack 2018-08-10 15:51:29 +01:00
davidmarkclements
f4aa18f4e2 rm phases, include init tier 2018-03-21 03:37:09 +01:00
davidmarkclements
9cc5b37de6 readme, ui fixes, api changes 2018-03-16 22:07:45 +01:00
davidmarkclements
44205e5f21 responsive ui 2018-03-14 16:30:38 +01:00
davidmarkclements
07e8b39ab3 linting 2018-03-14 01:48:58 +01:00
davidmarkclements
fbbae4470f ui improve, cli improve, final rearranging 2018-03-14 01:25:16 +01:00
davidmarkclements
e48d25261a minor code rearrange 2018-03-12 22:07:18 +01:00
davidmarkclements
9db626c819 search fix 2018-03-12 21:46:38 +01:00
davidmarkclements
717011756c merged and unmerged views! 2018-03-12 13:58:50 +01:00
davidmarkclements
3da01881a2 pre-inlined heuristic - ability to mark functions that are later inlined 2018-03-06 01:20:52 +00:00
davidmarkclements
4cc531d02e eval cat 2018-03-04 21:01:36 +00:00
davidmarkclements
2ab485ba3d add ~ * to key 2018-03-02 20:46:35 +00:00
davidmarkclements
96cac61234 enable all frame types, type filtering improvements 2018-03-02 20:21:35 +00:00
davidmarkclements
cf7f93fca6 redo stack conversion 2018-03-02 01:42:03 +00:00
davidmarkclements
a3517c3143 tier key color scheme functionality 2018-03-01 02:53:03 +00:00
davidmarkclements
89b0a5a3ff restructure viz section 2018-03-01 01:36:20 +00:00