Recent Releases of interacto
interacto - 8.2.0
- feat(command):
equalsmethod in Command - feat(history): consider equal commands for linear history
- feat(history): histories can consider equal commands
- feat(history): standard history has size methods
feat(history): tree history has size methods
fix(history): linear history, setsize had incorrect behavior
fix(code): smells removed
fix(interaction): fixes
touchesin three and four touch datachore(ci): removing the jenkins file
chore(deps): updating deps
chore(ts): moving to TS 5.6
refactor(interaction): fsm impl are now hidden from the interaction class declaration
refactor(interaction): reducing the use of DSM handlers
refactor(interaction): removing FSM data handler
refactor(interaction): removing the useless interface
InteractionDatarefactor(interaction): simplifying the code of dble clicks and draglock
refactor(interaction): use of the satisfies keyword
refactor(code): various code cleaning operations
Tests cleaned
Tests added: tests for two touch data
docs(readme): readme updated
docs(ts): fix typo
- TypeScript
Published by arnobl over 1 year ago
interacto - 7.4.0
- change(api): union type for log level instead of enum
- change(api): union type instead of enum for cmd status
change(api): union type instead of enum for whentype
fix(code): various linting issues fixed (unicorn)
fix(package): try to improve the rollup packaging
update(deps): some deps updated
clean(code): fixing blank lines
clean(config): use exact version in deps
clean(test): tests cleaned
config(eslint): changing the format of the eslint config
- TypeScript
Published by arnobl almost 3 years ago
interacto - 7.2.0
- feat(command): a new command: FocusHTMLElement
feat(undo): undoable snapshots can be of type Promise
api(fsm): renaming 'isGuardOk' as 'guard'
change(binding): should have protected attributes instead of private in 'Bindings'
change(binding): the 'on' routine now accepts any object
change(fsm): no need to have optional parameters for transition
refactor(fsm): code simplification
fix(history): The tree-based history now provides the root element (the initial state)
fix(logging): interaction messages not logged in
update(deps): various dependencies updates
update(deps): move to TypeScript 4.7
update(config): updating the target and module version
- TypeScript
Published by arnobl almost 4 years ago
interacto - 7.0.0
- feat(api): new routine toProduceAnon
- feat(binding): 'strictStart' removed. The when routine now has an execution mode
- feat(interaction): touch interactions now have all the current touches in their data
- feat(undo): tree undo algorithm. Bindings now generics to undo algo
- fix(binding): crashes in commands not captured by bindings and their catch routine
- fix(binding): incorrect binding reinit on cancel with not undoable command
- fix(binding): the binding must undo the command if the 'when' is not respected on interaction end
- fix(interaction): confusion between target and currentTarget
- fix(interaction): touch interactions blocked when touch events lost by the browser
- doc(api): ts-doc improved
- clean(code): code simplification and tests added
- clean(code): hiding internal implementation stuffs
- clean(test): cleaning test names
- config(ci): updating node version
- config(git): ignoring some folders
- config(pkg): eslint updated
- config(pkg): barrelsby updated
- fix(config): audit fix
- fix(config): clean should remove coverage and mutation folders
- TypeScript
Published by arnobl over 4 years ago
interacto - v6.0.1
- change(binding): increasing the size of the spring (dnd-1)
- fix(binding): the dnd-1 animations did not work properly
- fix(interaction): long pressure not cancelled on mouse move
- fix(interaction): long touch not cancelled on touch move
- fix(interaction): multi-touch did not copy data correctly
- fix(interaction): some multi-touchs must cancel the interaction on excessive touches
- fix(interaction): tap interaction should not work on move
- fix(interaction): touch DnD failed on simple tap
- fix(interaction): unexpected touches now cancel touch interactions
- fix(doc): incorrect scroll documentation
- clean(test): update eslint + various fixes
- clean(test): use nono API
- TypeScript
Published by arnobl over 4 years ago
interacto - v6.0.0
- feat(binder): add reciprocal DnD binder (#67)
- feat(binder): add reciprocal TouchDnD binder (#68)
- feat(interaction): TouchDnD is cancellable and may start on first touch or move (#55)
- change(binder): 'cancel' routine now cumulative (#60)
- change(binder): 'catch' routine now cumulative (#65)
- change(binder): 'endOrCancel' routine now cumulative (#61)
- change(binder): 'ifCannotExecute' routine now cumulative (#64)
- change(binder) 'ifHadEffects' routine now cumulative (#62)
- change(binder) 'ifHadNoEffect' routine now cumulative (#63)
- change(binder): 'end' routine now cumulative (#59)
- change(binder): 'first' routine is cumulative (#57)
- doc(binder): documentation on cumulative routines (#66)
- TypeScript
Published by arnobl over 4 years ago
interacto -
- change(binder): added isCode option to with() for keyboard interactions (#39)
- change(interaction): Press, Mousemove, Mouseover and Mouseout interactions renamed (#45)
- feat(interaction): added key up, mouse up interactions (#49)
- feat(interaction): added methods to SrcTgtPointsData and MultiTouchData (#50)
- feat(interaction): added Pinch binder and updated Pan and Swipe binders (#53)
- feat(interaction): Wheel interaction added (#44)
- feat(interaction): when routine now usable several times per binder (#52)
- fix(binder): binders can have the throttle routines in all the cases
- fix(binder): key binders do not have the throttle, continuousExecution routines
- fix(binding): catch must be called on crash during the command creation
- fix(interaction): event must not be prevdef or stoppropa if not processed
- fix(interaction): scroll interaction not using correct event type (#43)
- test(all): tests added
- build(deps): bump path-parse from 1.0.6 to 1.0.7 (#54)
- clean(fsm): useless method removed
- config(script): mutation command added
- TypeScript
Published by arnobl almost 5 years ago
interacto -
- new(binding): binding now have a name and binders can set binding's name
- new(interaction): The DnD interaction now supports the dwell-spring cancellation
- new(logging): new logging system, Fitts law feature preview
- new(command): added UndoNTimes and RedoNTimes commands
- new(interaction): X-Y deltas added to SrcTgtPointsData interaction data
- change(api): use property in interfaces instead of Java-like getter/setter
- change(command): made private command properties protected
- fix(binding): cancelling the interaction should not rely on hadEffect of the command
- fix(binding): the binding API should not expose FSM handling routines
- fix(command): setProperty and SetProperties should have mutable new values
- fix(interaction): the current position of PointsData not used correctly
- clean: code simplification
- test: tests added
- update: updated TypeScript to version 4.3
- TypeScript
Published by arnobl almost 5 years ago
interacto -
- feat(bindings): Mousemove binding and user interaction added
- feat(bindings): mouseout and mouseover bindings and user interactions added
- feat(command): Added new command TransferArrayItem (#14)
- feat(command): Added UndoableCommand (#15)
- feat(command): new command setProperties
- feat(command): new command setProperty
- feat(undo): can specify the undo history to the context
- config(pkg): irrelevant script cmd removed
- config(deps): dependencies updated
- doc(api): typedoc improved
- doc(build): Added build instructions
- TypeScript
Published by arnobl almost 5 years ago
interacto -
- new(binder): type aliases for shortening some writing of binders
- change(api): encapsulating the bindings routines into a class
- change(api): moving the undo/redo history into the bindings class. So removing the Single instance.
- change(api): moving implementation classes into the impl folder
- change(api): separating API / implementation of the UndoHistory
- change(api): the error class must be located in the impl folder
- change(api): the useless command registry and the registration policy removed
- change(api): major refactoring of interaction data to match the Web API
- clean(code): code simplification
- clean(code): use 'import type' when possible
- clean(code): use ? instead of undefined when possible
- clean(interaction): simplification of the implementation of interactions
- config(build): build the barrel during the packaging of the lib
- config(linter): allowing type aliasing
- config(pkg): changing the description of the lib in npm
- refactor(interaction): interaction data implementation should not be located in the library folder
- test(cmd): tests added or cleaned
- TypeScript
Published by arnobl over 5 years ago
interacto -
- feat(cmd): async command support
- feat(binding): new routine for catching errors, catch #3
- feat(interaction): throttling implemented
- feat(binding): a predefined function for producing two undo/redo bindings
- feat(binding): better support of Angular widget references in 'on'
- change(api): hiding some methods from the binding API
- change(api): interaction data does not expose flush anymore
- change(api): the on routine should take at least one argument
- change(undo): undo collector renamed as undo history
- build(deps): dependencies updated
- clean(code): code and test cleaned
- doc(api): documentation updated
- doc(config): better documentation generation
- fix(undo): error while removing oldest undoable instances
- fix(doc): incorrect documentation on binders
- test(all): new API for testing UI code
- test(binding): implementation of a binding observer to ease unit UI testing
- test(binding): tests added
- config(test): add mutation testing
- TypeScript
Published by arnobl over 5 years ago
interacto -
- feat(binding): can set the timeout value of textinput binder
- fix(interaction): n-click interaction only worked on time
- fix(tsdoc): add typedoc eslinter and doc fixed
- improv(code): should use ReadonlyArray when possible
- improv(interaction): should use readonly tuples when possible
- clean(interaction): useless attribute removed
- update(config): keywords added in package.json
- TypeScript
Published by arnobl over 5 years ago
interacto -
- change(binding): no reason for the WidgetBinding class to be abstract
- change(binding): widget binding renamed to binding
- change(fsm): a transition supports predefined event types not string type
- fix(config): tests were included in the dist bundle
- TypeScript
Published by arnobl over 5 years ago
interacto -
- fix(binding): the new interactions do not have binding shortcuts
- doc(readme): links fixed in readme
- update(deps): type def dep updated
- clean(fsm): code optimisation
- test(interaction,binding): test fixture simplification
- TypeScript
Published by arnobl over 5 years ago
interacto -
- change(interaction): API change. Transition has now a generic type used by its methods. This allowed code simplification in interactions implementations.
- feat(interaction): long press interaction
- feat(interaction): N-clicks interaction
- doc(readme): readme file updated
- test(fsm): tests added
- update(deps): jest deps updated
- Code cleaning operations
- TypeScript
Published by arnobl over 5 years ago
interacto - 5.0.0
- feat(binding): new binder shortcut for touch DnD
- feat(binding): new routine 'ifCannotExecute' to use for processing when the command cannot be executed (canExecute)
- change(api): execution methods of commands renamed to be more explicit
- change(api): separation API / implementation for the whole lib
- change(api): the interaction API does not expose an FSM generic type any more
- change(binding): to create an anonymous binding, use the AnonCmd class. AnonBinder removed
- change(cmd): library commands Zoom, ModifyValue and PositionCommand removed
- change(cmd): renamed base implementation classes with 'base' postfix (InteractionBase, etc.)
- change(error): no more error catcher single instance
- change(interaction): removing this strange feature of the DnD (update source point)
- clean(all): useless code removed
- clean(all): useless documentation tags removed
- clean(interaction): use arrow functions instead of anon classes
- config(build): new script command for compiling tests
- config(ci): increasing the code coverage level
- config(deps): various dependencies updated
- doc(code): doc typo fixed
- doc(readme): readme updated
- fix(binder): bindings should not expose concrete user interaction in its routines return types
- fix(binding): errors (exceptions) in routines are now captured and logged
- fix(binding): key binders do not allow the 'with', 'then', etc. routines
- fix(binding): key bindings should be able to use strictStart
- fix(binding): the routine StrictStart should be available in interaction binders
- fix(interaction): FSMs that use a sub-FSM do not work when the starting state is not the one by default
- fix(interaction): keys typed interaction must also flush and log its sub interaction
- fix(interaction): the keys typed interaction do not work properly when keys are pressed to be released later
- fix(interaction): the tap interaction should use touchend and not touchstart
- fix(doc): changelog headers fixed
- fix(pkg): main file updated
- test(all): multiple tests added
- test(mock): use the lib jest-mock-extended for mocking objects
- TypeScript
Published by arnobl over 5 years ago
interacto - 4.4.0
- fix(binding): no more optional parameters in binding routines
- fix(code): various code smells fixed thanks to a tslint upgrade
- fix(interaction): double-click does not clean all data on timeout
- fix(interaction): draglock data must set target details on the first double click
- fix(interaction): reinit and log method calls must also be propagated in sub-interactions
- fix(log): better logging in user interactions (in FSMs)
- fix(test): various test smells fixed thanks to tslint jest upgrade
- test(interaction): DragLock and Double Click tests added
- config(npm): useless script cmd removed
- chore(config): jest eslint rules updated
- chore(config): no more audit on package
- chore(git): git repo renamed to interacto-ts
- TypeScript
Published by arnobl over 5 years ago