16 Commits

Author SHA1 Message Date
Oscar Lorentzon
c40d25ab00 refactor: rename key to id 2021-03-22 11:56:49 +01:00
Oscar Lorentzon
6c37c600f6 refactor: clarify ent structure and node names 2021-03-22 11:56:49 +01:00
Oscar Lorentzon
297d8ebffd refactor: rename interfaces for clarity 2021-03-22 11:56:49 +01:00
Oscar Lorentzon
b562a0b06c chore: build with rollup
Migrate to Rollup.
Emit umd, minified umd, module, type declarations
and source maps.
Work around problems with Falcor by using
virtual module.

Migrate to Jest.
Run tests in with CommonJS modules becasue ES6
is not supported.
Work around dependency problems by bootstrap
to ensure they are not loaded during test.

Remove all unused dependencies.

Create state transition matrix to avoid
circular dependencies.

chore: tsc and rollup watch build
chore: incremental watch build
Remove unused dependencies.
chore: use existing type packages
chore: mock favicon
chore: improve watch build
chore: fix styles build
chore: specific commonjs build for tests
chore: reset spec files
refactor: explicit state transition matrix
chore: make src commands work
chore: working unit tests and lib
chore: add serve docs script
chore: remove unused bundle config
chore: refactor rollup config to avoid duplication
fix: falcor imports
fix: transition from source to target

Fixes #87
Fixes #100
Fixes #159
Fixes #208
2021-03-15 11:23:22 +01:00
Oscar Lorentzon
035be97a23 refactor: use direct imports everywhere
Use direct imports everywhere for uniformity
and clarity.
Bootstrap component service in bundle.
2021-02-24 08:53:07 +01:00
Oscar Lorentzon
c76f784a98 feat(play): disable play button in earth mode 2021-01-13 10:35:26 +01:00
Oscar Lorentzon
f756f8a275 refactor: remove component resize api
Use size observable from render service instead of
exposing specific resize method on components.
2018-11-09 10:17:53 +00:00
Oscar Lorentzon
1969bd83bc refactor: use pipe operators
Use pipe operators everywhere.
Fix errors becasue of piping more than nine operations.
2018-06-13 12:03:40 +00:00
Oscar Lorentzon
72e778b921 chore: upgrade to rxjs 6 compat
Downgrade node types version because of observable type
compatibility issue.
Remove unsupported generics from empty calls.
Use observable create for API call wrapping
becasue of non compatible type when using
observable from promise.
Add frame generator because it was removed
from RxJS 6.
2018-06-12 06:01:04 +00:00
Oscar Lorentzon
c38f4e7c4f chore: remove typings dependency
Add types folder as type root.
Declare modules in type def files to be able to compile.
2018-06-11 06:16:58 +00:00
Oscar Lorentzon
6ee08dd46e fix: emit changing position correctly
Create separate event stream for changing position
so that it is only emitted when it actually changes.
This avoids having changing position emitted when
opening the advanced controls buttons the first time
leading to spatial graph mode being set without
reason.
2018-02-20 11:51:48 +01:00
Oscar Lorentzon
a4b2b61d45 refactor: simplify debounce behavior
Use RX audit time operator to ensure moving to a key
every 400 milliseconds even if still dragging thumb.
2018-02-20 11:51:47 +01:00
Oscar Lorentzon
95ddff5d0f fix: render position correctly after sequence change
When navigating to a new node and directly thereafter pressing
the timeline thumb the thumb should be rendered in the new position
after the sequence switch has occured.
Add unit test case for above scenario.
2018-02-20 11:51:47 +01:00
Oscar Lorentzon
492134d3bf test: buffered move logic for emitted index
Use virtual time scheduler to test debounce time behavior.
2018-02-20 11:51:47 +01:00
Oscar Lorentzon
7d14e31418 test: correct render position 2018-02-20 11:51:47 +01:00
Oscar Lorentzon
9d62b9d8c1 test: sequence component graph calls 2018-02-20 11:51:47 +01:00