This PR implements basic "backend state" functionality which is synchronized with frontend using events. The backend state supports undo/redo actions.
The important file is the src/aeon_events.ts file, which exports an aeon_events object (low level event emitter/listener) and the aeon_state object, which provides a more user-friendly API for the frontend to work with.
Currently, the backend state covers the main tab navigation, including pinning, plus the undo/redo stack.
This PR implements basic "backend state" functionality which is synchronized with frontend using events. The backend state supports undo/redo actions.
The important file is the
src/aeon_events.ts
file, which exports anaeon_events
object (low level event emitter/listener) and theaeon_state
object, which provides a more user-friendly API for the frontend to work with.Currently, the backend state covers the main tab navigation, including pinning, plus the undo/redo stack.