Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groundwork for application state #23

Merged
merged 8 commits into from
Dec 8, 2023
Merged

Groundwork for application state #23

merged 8 commits into from
Dec 8, 2023

Conversation

daemontus
Copy link
Member

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.

@daemontus
Copy link
Member Author

I can talk about it a bit more on Friday, but @ivicic-petr / @ondrej33 please have a quick look beforehand :)

Also, I'll try to fix the ESLint until then.

@daemontus daemontus merged commit aa18977 into main Dec 8, 2023
2 checks passed
@daemontus daemontus deleted the dev-app-state branch December 8, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant