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

HTML Check Sequence report #5181

Merged
merged 5 commits into from
Feb 9, 2025

Conversation

MrPierreB
Copy link
Contributor

A enhanced html version when you run Check Sequence.
As you can run Check Sequence even though a sequence is not opened - I decided to call it the xlights Show Status Report. The menu remains Check Sequence as that is what people know - we could rename in the future.

I tried to have the code keep writing to the log file as it usually does.

Here is a preview of how it looks.
I try where i can to group messages nicely where i can:
for example, in the old txt file it was
SubModels with no nodes
ERR: SubModel '03.15.0Mod SHOWSTOPPER SNOWFLAKE/**WHOLE FLAKE' contains no nodes.
ERR: SubModel '03.15.0Mod SHOWSTOPPER SNOWFLAKE/**SPOKES_SPINNERS' contains no nodes.
ERR: SubModel '03.15.0Mod SHOWSTOPPER SNOWFLAKE/**OUTSIDE' contains no nodes.
ERR: SubModel '03.15.0Mod SHOWSTOPPER SNOWFLAKE/**MIDDLE' contains no nodes.
ERR: SubModel '03.15.0Mod SHOWSTOPPER SNOWFLAKE/**CENTER' contains no nodes.
ERR: SubModel 'Diamond_Tip47_Chromaflake/Main Arms Outline 6' contains no nodes.

now it will show: 
SubModels with no nodes
   03.15.0Mod SHOWSTOPPER SNOWFLAKE
     - **WHOLE FLAKE
     - **SPOKES_SPINNERS
     - **OUTSIDE

etc

For the very first time it will use dark mode if that is what you have in xlights, else light mode .. Then once you toggle it on the page it will use the browsers local storage to keep track of what you had this at and use that when it runs again.

image

One thing to note is that it references an external css file for styling.
https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css

we could download and include this css file in the installer and have it in the installed xlights folder, and then point the css there whenever a check sequence is run. I am unsure how to exactly do this and would need guidance if we want to do this. (from what i can see, i need to go into the build scripts and for windows edit xLights_4_64bit_VS.iss file ?)

@MrPierreB MrPierreB force-pushed the xLightsStatusReport branch from 49953cb to dec1fb9 Compare February 9, 2025 02:55
@keithsw1111 keithsw1111 merged commit 6dd8a82 into xLightsSequencer:master Feb 9, 2025
2 checks passed
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