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

updated code readme and moved relevant content from wiki to readme. #332

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

rcoreilly
Copy link
Member

also added guard for debug panel which was crashing.

…dded guard for debug panel which was crashing.
@@ -250,6 +250,12 @@ func (dv *DebugPanel) InitTabs() {
})
}

// PanelIsValid checks if panel is valid for use.
// for outside functions calling in, e.g., textbuf.
func (dv *DebugPanel) PanelIsValid() bool {
Copy link
Member

Choose a reason for hiding this comment

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

Should this be unexported?

Copy link
Member Author

Choose a reason for hiding this comment

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

there is a lot of unexporting that could be done here, but really it doesn't matter as this is not a toolkit and nobody cares.

Copy link
Member

Choose a reason for hiding this comment

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

It does matter and it is important for us to maintain code quality. It is obviously less urgent and we are not going to go through and clean everything up now, but you should at least make new changes properly.

@kkoreilly kkoreilly merged commit d9875ee into main Jul 26, 2024
1 check passed
@kkoreilly kkoreilly deleted the code-docs branch July 26, 2024 21:31
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