| Age | Commit message (Collapse) | Author |
|
means that the text moves with the node now, plus allows for setting the
node position asynchronously with setting the typeselection.
|
|
add shim requirement for Bacon to have jquery loaded first, since Bacon
patches in asEventStream (and other APIs).
Undo the Bacon_wrapper non fix:
git grep -l Bacon_wrapper | while read f; do sed -i -e s/Bacon_wrapper/Bacon/g $f; done
|
|
required for completion updates)
|
|
|
|
|
|
Killed some dead code in the process.
|
|
almost entirely)
Missing:
- no placeholder text now (since div doesn't support it). Will need to
implement it myself, there are plenty of examples
And code wise:
- need to split out a component graph_input.js which will hide
the underlying implementation.
|
|
|
|
|
|
before Bacon
|
|
|
|
drops animation of width because I couldn't get the plus button to animate the same.
|
|
|
|
handler
|
|
|
|
Note that the selection doesn't move with the node, so it is possible to
create a discrepancy, this can happen either when:
1. dragging or zooming the graph
2. causing the bubble animation to playout
The selection text will not be next to the node in both cases until Tab
is pressed again.
Fixing this right now seems too much work, will revisit if this is
really bothersome. Would require either timers or another connection, or
different implementation as a foreign object under the svg node (and so
tied by the layout, no need to change).
|
|
|
|
|
|
Still missing:
remove host/port, let client use same as url it was served on.
remove other flags no longer relevant.
better mapping of server config to avoid double work?
|
|
|
|
|
|
|
|
(still cannot change type of chained node during editing)
|
|
""right""
|
|
|
|
|
|
|
|
Multiple fixes / changes. _bugs introduced_
Changes:
graph has two change functions (i.e. the internal API):
- commit_and_tx_diff_topo
This currently transmits, later will optimistically apply first
- commit_diff__topo
This only applies. Used on the ajax success path for commit_and_tx_diff__topo
and when changes are only local.
It signals on the diffBus
- diffBus - a Bacon.Bus that all UI listens to
- selection UI
- node/link dialogs
- main view (rz_core/update_view__graph)
Small changes:
whitespace
rename filer->filter
Completely broken:
- text entry. should use commit_diff__topo
Problems introduced:
selection doesn't work correctly.
editing not verified yet
|
|
Broken during recent overzealous precondition addition
|
|
pretty large commit, but it mainly boils to
- reusing the same format clone returns to the client for topo_diff
bad bad code introduced mainly in client side, but server wasn't spared:
- graph/commit_topo__diff massages the links too much - this should not
be there at all, it should be in the correct format to begin with.
server code duplication between clone & topo_diff post processing,
should be factored out
on the good side: single transaction whenever user presses enter, and
the correct place to send back any accumulated diffs (other user
changes).
|
|
|