Skip to content

Conversation

Shadow21AR
Copy link
Contributor

@Shadow21AR Shadow21AR commented Sep 12, 2025

Added the component V2 functions and examples in the docs

Terms

Copy link
Collaborator

@l-zeuch l-zeuch left a comment

Choose a reason for hiding this comment

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

Some of your codeblocks containing custom command code are currently using the go highlighting--please use our custom yag highlighting.

Please also observe the linter annotations; in summary your headers and fenced codeblocks should be surrounded by blank lines. We're not linting the functions page for $reasons, but those rules apply there, too.

@l-zeuch l-zeuch self-requested a review September 12, 2025 11:13
@l-zeuch
Copy link
Collaborator

l-zeuch commented Sep 12, 2025

I'm gonna give this a proper look later today, I currently am preoccupied with something else.

Thanks in advance for the work!

Copy link
Collaborator

@l-zeuch l-zeuch left a comment

Choose a reason for hiding this comment

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

Thank you for the PR and your patience with our linter; I have left some review comments on specific parts.

In general your custom command code formatting is a little inconsistent; sometimes, you write {{action}}, then {{ action }}, or combinations thereof like {{ action}}. Please format all your custom command code to {{ action }} for easier readability.
While you're at that, please also then take a subsequent look at your indentations: if it looks weird, e.g. because you've got a ) }} on a single line, consider something like

{{ $s := someFunc params (
  ...
  )
}}

@Shadow21AR
Copy link
Contributor Author

I did not know that i have to click merge button again 🥲
I've fixed stuff last week and was waiting for review xD

Copy link
Collaborator

@l-zeuch l-zeuch left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! I've pushed some minor formatting changes, otherwise this looks good to merge!

added blank lines around headers and code blocks (lint fix) and used absolute link to link the file

fixed more linter errors, no more linter errors now hopefully

fixed all linter errors, finally v2

added all suggestion, and fixed all corrections, simplified the example with proper syntax

reference/cv2: minor formatting

Signed-off-by: Luca Zeuch <[email protected]>
@l-zeuch
Copy link
Collaborator

l-zeuch commented Sep 28, 2025

FYI I've also gone ahead and squashed the changes into one commit—I don't think keeping the entire history here is that necessary, the main work stems from the initial commit.

@l-zeuch l-zeuch merged commit 8890cd7 into botlabs-gg:master Sep 28, 2025
3 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