Thu, 01 Jun 2017 18:55:55 +0100 |
Lucas Thompson |
Use the cross hair layer for notes, tracks and curve. This involved bodging in unit to ShapedFeatureData, which isn't particularly easy to do because this isn't an encapsulated type. Need to come back to improving this, as I am monkey-patching a unit property onto Arrays etc.
|
Thu, 01 Jun 2017 16:26:52 +0100 |
Lucas Thompson |
cross-hair-inspector component, much the same technique used for the vertical-scale. Change curve to use it. Doesn't currently animate.
|
Thu, 01 Jun 2017 16:25:48 +0100 |
Lucas Thompson |
Additional interfaces, VerticalScaleRenderer & VerticalValueInspectorRenderer. Implement another subclass of WavesComponent, InspectableVerticallyBoundedComponent concerned with highlighting, change tracks and notes components accordingly. These class hierarchies make me feel a little ill.
|
Thu, 01 Jun 2017 16:20:18 +0100 |
Lucas Thompson |
Add HighlightLayer typings
|
Thu, 01 Jun 2017 10:06:31 +0100 |
Lucas Thompson |
Implement VerticallyBoundedWavesComponent for tracks, notes. Wrap curves in a vertical-scale component, and use scales by default for supported components dynamically instantiated in analysis-item.
|
Thu, 01 Jun 2017 10:04:41 +0100 |
Lucas Thompson |
Introduce interface VerticallyBounded, which describes a component with a vertical range and the ability to render a scale on itself. VerticallyBoundedWavesComponent partially implements this interface, in that it adds a ScaleLayer to itself - derived instances provide the means of obtaining the scale.
|
Thu, 01 Jun 2017 10:02:37 +0100 |
Lucas Thompson |
Introduce vertical-scale component which is a polymorphic container, the child components know how to render their own scales.
|
Wed, 31 May 2017 19:31:56 +0100 |
Lucas Thompson |
Some visibility changes to properties
|
Wed, 31 May 2017 19:29:51 +0100 |
Lucas Thompson |
Some visibility changes and unnecessary method args.
|
Wed, 31 May 2017 19:24:21 +0100 |
Lucas Thompson |
Remove redundant imports.
|
Wed, 31 May 2017 19:21:02 +0100 |
Lucas Thompson |
ViewChild properties are, of course, inherited (why wouldn't they be?!). So, further de-duping.
|
Wed, 31 May 2017 19:14:46 +0100 |
Lucas Thompson |
Refactor based on pattern which emerged when implementing multiple components. Still some very obvious dupe regarding the ElementRef stuff, I don't think ViewChild decorated props are inherited.. but I haven't actually verified that.
|
Wed, 31 May 2017 17:33:23 +0100 |
Lucas Thompson |
Basic grid, bringing in old code from waveform.component.ts. Issues with display when rendered when zoom level / offset is non zero. Same for some other components too, probably needs to be solved upstream in waves-ui-piper.
|
Wed, 31 May 2017 17:09:36 +0100 |
Lucas Thompson |
Rig up instants and add dynamic colour selection to feature components. Structure of a derived WaveComponent is now pretty clear, some refactoring is in order.
|
Wed, 31 May 2017 15:15:55 +0100 |
Lucas Thompson |
Basic notes component in place. Room for reducing dupe across these WaveComponent derived components, but will wait until all of them are implemented to see the common logic.
|
Wed, 31 May 2017 14:49:46 +0100 |
Lucas Thompson |
Move colour prop to base class
|
Wed, 31 May 2017 13:59:29 +0100 |
Lucas Thompson |
Lint
|
Wed, 31 May 2017 13:10:29 +0100 |
Lucas Thompson |
Use module scoped id generator instead of passing in an id to components.
|
Wed, 31 May 2017 12:55:03 +0100 |
Lucas Thompson |
Use module scoped id generator instead of passing in an id to components.
|
Wed, 31 May 2017 12:38:18 +0100 |
Lucas Thompson |
Correct return type
|
Wed, 31 May 2017 12:35:35 +0100 |
Lucas Thompson |
Update waves-ui types with LayerTimeContext and linear scale
|
Wed, 31 May 2017 02:44:14 +0100 |
Lucas Thompson |
Remove unnecessary style template
|
Wed, 31 May 2017 02:42:45 +0100 |
Lucas Thompson |
Move curve logic to a tracks component, and use that component to create a curve component.
|
Tue, 30 May 2017 23:21:13 +0100 |
Lucas Thompson |
Remove changes to offset and zoom when adding layer.
|
Tue, 30 May 2017 23:01:12 +0100 |
Lucas Thompson |
Tracks. With slight modifications, ugly-curve is essentially ugly-tracks. Some refactoring is perhaps in order.
|
Tue, 30 May 2017 22:50:49 +0100 |
Lucas Thompson |
Forward Tracks features.
|
Tue, 30 May 2017 22:15:42 +0100 |
Lucas Thompson |
Refactor the curve reshaping stuff to a utility function.
|
Tue, 30 May 2017 18:19:55 +0100 |
Lucas Thompson |
Clear when updating, not functional difference in this app as it stands because components only receive inputs once atm.
|
Tue, 30 May 2017 18:14:05 +0100 |
Lucas Thompson |
Core logic copied over from old waveform.component.ts for drawing curve. Needs refactoring as some logic is used for tracks. No highlight or vertical scale yet.
|
Tue, 30 May 2017 18:13:12 +0100 |
Lucas Thompson |
Add css classes to the container divs for ngIf and ngSwitch to ensure they fill the height of their parents. The template needs tidying up to avoid these unnecessary divs.
|