-
Notifications
You must be signed in to change notification settings - Fork 115
Symbol field and metadata handling in 5.1 #446
Conversation
Version 5.1 introduced a new GUI that no longer closely resembles how this information is stored in the files. This means the rules 6.2 and 6.3 no longer make sense to be separated. It also required updating of screenshots.
dc9e7a7
to
67fd70d
Compare
. *Footprint* field contains footprint link for fully specified symbols, and is empty for generic symbols. It must be _invisible_ | ||
. *Datasheet* entry [1] is filled out, and is _invisible_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This style of using a numbered reference in brackets is not used elsewhere in KLC that I can find. I see a a separate section below without any linking or sub-bullets. Do you want to introduce this new style?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a footnote for adding additional information. We do not have a footnote anywhere else in the KLC (it was not necessary to clarify things like that in other rules. As this is really one of the few places where we need to explain strange KiCad behaviour)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not clear to me why this needs to be done this way instead of just being underneath the Datasheet
section. But OK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to keep this rule short so that users read it. What is below basically gives additional clarification for users who are still interested.
I learned with bad experiences that users turn their brain off after a few sentences so the most important info should be kept short. Adding additional stuff for the few users that are interested is still worth it. Especially if we ever get a discussion in a pull request because then we can point to this additional information.
content/klc/S6.2.adoc
Outdated
. *Footprint* field contains footprint link for fully specified symbols, and is empty for generic symbols. It must be _invisible_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other bullets here would replace the . It must be
with and is
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed this section to be more readable
I fixed the merge conflict and fixed what needed fixing |
Just two things:
|
Harmonizing the use of periods at the end of KLC list entries would definitely be a separate pull request. I am not sure what you mean with your other request. |
content/klc/S6.2.adoc
Outdated
. The symbol contains no other custom fields | ||
|
||
Additional documentation is provided via |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a colon at the end of this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see a comma, not a colon. I was shooting for path of least resistance before, but since this isn't closed I feel the wording is a bit awkward and would read better if two other fields:
was added after via
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember you might need to be a bit clearer with what you mean when writing with non native speakers. For example you could have added the symbol you were expecting to your comment (as the symbol itself in addition to its english name)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. I will try to be more clear in the future. There are a few things I could have done better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I imagine it is hard to remember that not everyone here is a native speaker as our knowledge of english is well enough to hide this fact most of the time.
content/klc/S6.2.adoc
Outdated
--- | ||
|
||
_[1]: KiCad 5.x and earlier have two places to store the datasheet link. It can be in the `.lib` file once per symbol or in the `.dcm` file allowing different datasheets per alias. Having different datasheets for aliases only works if the `.lib` entry is left empty. The datasheet entry in the main symbol metadata view is linkded to the dcm entry since version 5.1.x._ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo of linked
in the last sentence. Remove the first d
in linkded
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Great. Thank you! |
@evanshultz Ok, thanks for the mention, but it looks like there is a conflict so I can't make github rebase it automatically. I will try to remember to fix it tomorrow unless someone beats me to it. @marekr |
Github does not show a conflict to me. Edit: If the website already moved to gitlab then we might need to run the bot to get the updates over. (I continued to work here because i seem to remember i read somewhere that the website is still on github) |
We still use github for the website for now. |
@evanshultz could you in this case look at the script pull request? The script would otherwise point to the wrong KLC rule(s). |
@nickoe are you sure you merged the correct commit range? The klc history page does not show the result of my merge. |
I see 3.0.25 in the changeset 9c9cb33#diff-87d0795c9f659b7ebd57e1b84e1c2435 |
The date should be |
Yes, the date is already fixed. |
Version 5.1 introduced a new GUI that no longer closely resembles how
this information is stored in the files. This means the rules 6.2 and
6.3 no longer make sense to be separated. It also required updating of
screenshots.
Script updates found in KiCad/kicad-library-utils#312
fixes #442