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 react for simpler development of page and cleaner display #5

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

skelouse
Copy link
Owner

@skelouse skelouse commented Dec 18, 2023

Tested with go build -o ~/go/bin/cover-pretty

A single HTML file is generated with the js and css from the react build injected into this HTML file. The coverage is then displayed in an antd TreeView. This is a great improvement over the go templating I had before, and majorly simplifies the development of the page.

Before

image

After

image

@skelouse skelouse merged commit bf47755 into main Dec 18, 2023
@skelouse skelouse deleted the react-based-view branch December 18, 2023 00:23
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