Specification
As per some comments on #15, some design changes have been proposed and must be implemented.
Additional context
Example new type (instead of a single unified one):
type SpanId = IdSortableEncoded;
type SpanStart = {
type: 'Start';
id: SpanId;
parentId?: SpanId;
};
type SpanStop = {
type = 'Stop';
id: SpanId;
startId: SpanId;
parentId?: SpanId;
};
Tasks
- Change the terminology to
start and stop or begin and end instead of start and end.
- Need to incorporate the nodeId into the IdSortable
- The
parentId may or may not exist for both start and stop, and that means there's a possibility of a spans in one location and then fading out and then fading into another location
Specification
As per some comments on #15, some design changes have been proposed and must be implemented.
Additional context
Example new type (instead of a single unified one):
Tasks
startandstoporbeginandendinstead ofstartandend.parentIdmay or may not exist for both start and stop, and that means there's a possibility of a spans in one location and then fading out and then fading into another location