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

Feature: Webserver cleanup + Event timestamps #169

Merged
merged 3 commits into from
Feb 11, 2024

Conversation

dalathegreat
Copy link
Owner

What

This PR does some refactoring on the Webserver code. Instead of one long file over 1000s lines long, each page now has its own html.cpp file.

The PR also adds timestamps to events logged, making for easier troubleshooting

The PR also minifies some HTML code, to increase performance

Why

Making code simpler to maintain

How

Timestamp calculation is performed on client side, since Battery-Emulator does not know time:

bild

Copy link
Collaborator

@Cabooman Cabooman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice step forward for the web UI 👍

@Cabooman Cabooman merged commit e13dd0d into main Feb 11, 2024
34 checks passed
@dalathegreat dalathegreat deleted the feature/webserver-cleanup branch February 11, 2024 12:36
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