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

Move UI code out of http.js #417

Merged
merged 11 commits into from
Apr 11, 2018
Merged

Move UI code out of http.js #417

merged 11 commits into from
Apr 11, 2018

Conversation

goto-bus-stop
Copy link
Member

@goto-bus-stop goto-bus-stop commented Feb 9, 2018

Moves all the UI state stuff into lib/ui.js. the live reload connection counter state.sse is still managed by http.js, it emits sse-connect and sse-disconnect when the value updates so the UI can rerender. Maybe the counting should also happen in the UI code, with http.js only emitting those events?

Also added in @Flet's simple log output UI, just to make sure that the UI is indeed separate from the HTTP server now :)

@Flet
Copy link
Collaborator

Flet commented Feb 9, 2018

Nice thanks!

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.

2 participants