kts of kettek (Tyger)
d23ef28ad5
Fix loading null values into Nodes
2018-02-22 16:53:08 -08:00
kts of kettek (Tyger)
f86c3b281e
Add support for non-numerics in table entries
...
This is simply done by parsing the table entry's cell value with parseFloat during the call to setNode. This "throws" away any values following and including the first non-numeric character found, thereby allowing for a value such as "80x6" to properly be rendered as a node.
2018-02-14 05:46:46 -08:00
kts of kettek
4aaa985708
Tabs now properly center delete button
2018-02-13 02:24:15 -08:00
kts of kettek
a6810fdc83
Darken non-selected tab background color
2018-02-13 01:52:11 -08:00
kts of kettek
1a7c3b714f
Rework buttons and tabs
2018-02-13 01:47:24 -08:00
kts of kettek
6289b69473
WOW, it is actually functional
...
This is a terrible bulk commit. Never do this.
Basically, it works, with saving/loading, multiple pages, etc. etc. --
honestly, this needs to be rewritten, as it's a nasty mess without
proper separation of interface from data, etc. (but it attempted to do
so, which, arguably, made it worse).
2018-02-12 18:21:45 -08:00
kts of kettek
a2b7ea8294
Fix set adding/removal and style for header entries
2018-02-11 20:30:10 -08:00
kts of kettek (muzukashi)
94c305d4b7
Added icons.svg file and some corresponding CSS
2016-05-22 13:51:55 -07:00
kts of kettek (muzukashi)
a16f912fe2
Spooky mystery commit
2016-05-21 14:09:24 -07:00
kts of kettek (muzukashi)
1c038723b1
Fixed incorrect reference to the Entries object's array of entries
2016-04-27 14:57:07 -07:00
kts of kettek (muzukashi)
bcdddad47a
New event-driven design partially implemented -- different portions of the UI, such as the Graph, the Data Table, the Workout Entries Row, and others, send events for things such as adding a new row, adding a column, updating some field, and similar. This allows for the entire 'view' to be updated in a piece-by-piece fashion, thereby allowing single-target updates to easily cascade to the other relevent UI portions. Each UI element also now has its own object dedicated to managing specific updates and notifying the attached event listeners. As much as is possible, the specific UI elements are abstracted from the Shredifier -- if addition functionality is required by the Shredifier, it can be added dynamically from an event. Next on the list: Page configuration (step weight, start weight, end weight, entry count, etc.) via a preferrably modal dialog, as well as save/load features.
2016-04-27 11:35:22 -07:00
kts of kettek (muzukashi)
a41eede02c
Tabular input now has handlers for each set's entries -- in the future, the visibility of generated graph nodes for a given set will be optional
2016-02-28 23:47:38 -08:00
kts of kettek (muzukashi)
5e4efc531d
Fixed bug with non-major line values of equal position rendering with the wrong offsets. cell_input event is now input rather than change, thereby allowing updates to occur as you type. Fixed tabular_head and tabular displays to no longer be flex, allowing for proper overflow handling with non-FF browsers.
2016-02-27 14:13:42 -08:00
kts of kettek (muzukashi)
354e1e1c29
Non-major column values now work for GraphLine (e.g., 7.5 with a step value of 5 will properly position). The code is quite bad and should be refactored in the future. ShredId class now used to create/generate exercise, set, entry ids. Shredifier's nodemove hook now updates corresponding cell input entry.
2016-02-27 13:18:44 -08:00
kts of kettek
184498e1f3
Lines now handled automatically within GraphNode updates. GraphNode now can be manually moved via click events -- this needs to be customized to allow for touch events as well. Removed some old code. Design-wise Graph will emit events for pertinent changes to the graph -- at the moment, it emits a nodemove event when a node is moved to another position via mouse.
2016-02-26 15:52:42 -08:00
kts of kettek (muzukashi)
d4a476614a
Graph creation and display is now handled by Graph.js rather than directly through the Shredifier. Shredifier makes sizing calls, as well as setNode and setLine instead. Added rudimentary exercise color coding. Semi-working SVG-based line drawing -- does not work with partial step_weight values (e.g., step_weight of 5 with a weight value of 7.5 will be buggy) -- this can be fixed by setting the bottom value to the extra weight value beyond what is divisible by step_weight). Many updates to CSS -- .cell border moved to .cell:after psuedo element, so as to allow for percentage-based width/height calculations for GraphLine(s).
2016-02-25 09:37:09 -08:00
kts of kettek
b0d2a230b4
Added Graph.js, which shall contain all functionality for creating and manipulating graphs. Also fixed Shredifier.createNodes() to create the appropriate nodes (this will be removed anyhow, once Graph.js is complete)
2016-02-23 23:58:06 -08:00
kts of kettek (muzukashi)
ab305f7de6
Mystery update, woo! Stuff pertaining to lines for the most part -- incomplete.
2016-02-23 20:45:48 -08:00
kts of kettek
8216731e38
INITAL COMMIT OF LET'S GET SHREDDED. OH YES, FOLKS.
2016-02-05 21:56:07 -08:00