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

Add Github Action check to make sure template UI is unchanged #918

Merged
merged 4 commits into from
Sep 24, 2023

Conversation

amquake
Copy link
Member

@amquake amquake commented Sep 23, 2023

Ignores index.html created when building UI

That is a default file that just indicates that the webui wasn’t copied over during build for dev

@amquake amquake requested a review from a team as a code owner September 23, 2023 00:38
@mcm001
Copy link
Contributor

mcm001 commented Sep 23, 2023

What's the behavior of the webserver now if I try to run photon without copying the UI? It was helpful for it to remind me I was being stupid

@srimanachanta
Copy link
Member

What's the behavior of the webserver now if I try to run photon without copying the UI? It was helpful for it to remind me I was being stupid

I agree with Matt, keeping this empty file here prevents devs from trying to figure out an issue that is just them forgetting to copy the UI over. We have accidentally pushed changes to the file to main (twice iirc) so it might be worth it even to implement an action to ensure it hasn't changed.

@mcm001 mcm001 force-pushed the ignore-index branch 2 times, most recently from 9537e8f to 5b41ce4 Compare September 24, 2023 12:45
@srimanachanta srimanachanta changed the title Ignore index.html Add Github Action check to make sure template UI is unchanged Sep 24, 2023
@mcm001 mcm001 merged commit 2cb87c5 into PhotonVision:master Sep 24, 2023
22 of 35 checks passed
@mcm001 mcm001 deleted the ignore-index branch September 24, 2023 22:04
@mdurrani808 mdurrani808 added this to the 2024 Beta milestone Sep 27, 2023
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.

4 participants