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

Match description field names to definition #806

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

mseravalli
Copy link
Contributor

@mseravalli mseravalli commented Jun 12, 2023

In the description, the field names should match the names defined in the proto definition for better discoverability and less mental load.

When trying to reading and understand the protocol it should be possible to look for the description of a field by searching the name of such a field in the document. However, at the moment, if a reader would like to find out more about the field encryption_password_token they should scroll down until they find enc pw token and a little extra effort is needed to ensure that this the same as encryption_password_token. By using the same name a reader can search and find the field in the document without extra scrolling.

In the description the name should match the name defined in the proto definition for better discoverability and less mental load.
@netlify
Copy link

netlify bot commented Jun 12, 2023

👷 Deploy request for syncthing-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit ffda984

@mseravalli
Copy link
Contributor Author

Is there anything that should be done to improve this?

@acolomb
Copy link
Member

acolomb commented Jul 20, 2023

I think the change is fine, only cosmetic. Since this is touching a versioned protocol specification though, I'll let the other maintainers weigh in on the decision.

@imsodin imsodin merged commit 6597d24 into syncthing:main Jul 25, 2023
1 check passed
@syncthing syncthing locked and limited conversation to collaborators Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants