summaryrefslogtreecommitdiff
path: root/scripts/buttons.js
AgeCommit message (Collapse)Author
2014-11-13rename scripts/ -> src/LV-426
2014-11-11rename load/save file; Fixes #111Alon Levy
The browse button still needs to be fixed. Maybe this: http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom
2014-11-11rename RZ -> rz_coreLV-426
2014-11-10rename rhizicore -> rz_core, move towards common rz_ prefixLV-426
2014-11-02split off model/graph.jsAlon Levy
2014-10-28make debug ui click handlers only apply to the labels, remove some debug printsAlon Levy
2014-10-20introduce require.js and rewrite testsAlon Levy
Yes, I'm being lazy. The purpose of require.js is to allow writing modules, i.e. individual smaller then the whole files with clear dependencies. This is achieved by using a new api provided by require.js: define, require, requirejs Read more at [requirejs] (http://requirejs.org) Tests have been rewritten to work correctly with require.js; they still use jsdom. Test output is now stored in the repository, all tests are run via run_tests.js; This is a hack - once a good harness (with assertions, suites - unittest like) presents itself it will be used. Hidden here is also using FileSaver for history saving, so history is saved to history.json instead to a random name. Plus dropping some dead code.
2014-10-19adding proper Save As (with non random filename); MIT licensedAlon Levy
Actually seems that the proper way to save nowadays is the [download] (https://html.spec.whatwg.org/multipage/semantics.html#attr-hyperlink-download) attribute of a 'a' element, but that's also supported by the added [FileSaver.js] (external/scripts/FileSaver.js)
2014-09-29buttons/index: add file load buttonAlon Levy
2014-09-29buttons: white space fixAlon Levy
2014-09-29remove deliverableTestAlon Levy
2014-09-29rename 'load' button to 'load-storage-local'Alon Levy
2014-09-29buttons: factor out really_loadAlon Levy
2014-08-19chrome fix to setting user: prevent default action, which was a new http ↵Alon Levy
request (GET?), which reloaded the page
2014-08-18adding history, links & nodes onlyAlon Levy
no atomicity - nodes/links recorded as separate additions We record both temp (state == 'temp') and not temp nodes, can be filtered during analysis.
2014-08-18fix user setting - smaller input field, on enter put sensible textAlon Levy
2014-08-18add a user setting field; does nothing except set graph.userAlon Levy
2014-08-18buttons: remove some dead code, reindent some live codeAlon Levy
2014-08-17drag&drop load of json, plus save (kinda), some refactoringAlon Levy
save & load json moved from buttons to rhizicore.js added a save as button (need to switch to normal ui for that menu, it's fixed right now) save not correct - instead of a save dialog since it is a json file the browser just displays it (even though it's base64 encoded).
2014-08-17load: bail early if no data storedAlon Levy
2014-08-10more 'use strict' and fallout handlingAlon Levy
Just defining some variables instead of them becoming properties on the global object Some whitespace fixes too.
2014-08-07buttons.js: fix wrong code indentationAlon Levy
2014-08-07buttons.js: don't recode JSON.stringifyAlon Levy
2014-08-06buttons.js: on load show the loaded graphAlon Levy
2014-08-06remove whitespace at end of linesAlon Levy
2014-08-05Multiple Issues fixedOwen
Resizeable task bar Deliverable state combo box Edit node submit bug fix Code cleaup
2014-07-24Status icons + Gantt/Graph transitionOwen
Transition is now fixed and now has a neat movement effect Each icon now has a status value (done, current, not done) to indicate the state of deliverables Gantt button was moved for better UI
2014-07-22Save/UI/gantt changesOwen
save now asks you if you're sure if you've build an unsaved graph small changes to UI recommended by Yael took out zooming bug in gantt
2014-07-21Save Load done, Gantt scrolling much betterOwen
Save now asks if you wish to discard your changes Load now load everything perfectly, no bugs with dates or the gantt chart Scrolling for the gantt area new works much much better, it deactivates zooming controls and enables horizontal scrolling. Zooming and background clicking is left intact in Graph mode.
2014-07-14Target and adjacent nodes are highlighted when clickedOwen
Background click remove editing boxes and highlights Deliverables test button adds 140 random tasks and dates Links between nodes have two colors: blue and green for dependencies
2014-06-24client-only prototype filesOwen