← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Skip redundant repetition of component name in component chooser

 

On 25 June 2015 at 19:09, Chris Pavlina <pavlina.chris@xxxxxxxxx> wrote:
> Are you positive that a better fix wouldn't be to stop putting redundant
> things in component descriptions?

Here would be an alternative approach ... fixing the library. If
library maintainers are ok with it, I can send it as pull request on
github.

Essentially: remove all the component names as first element in the
description. They are redundant, and it is also error prone to
maintain.

https://github.com/hzeller/kicad-library/compare/suggestion-remove-repeated-component-name.diff

-h

> On Thu, Jun 25, 2015 at 06:24:33PM -0700, Henner Zeller wrote:
>> Hi,
>> In component descriptions, often the first word in the description is
>> a repetition of the component name. While this is generally not a
>> problem when reading this in a description box, if displayed in the
>> brief description in the tree view, this is redundant information,
>> taking space of more relevant information (see first attachment
>> picture).
>>
>> This patch uses some heuristic to get rid of these and thus generally
>> improves the experience for these components:
>>
>> https://github.com/hzeller/kicad/compare/skip-redundant-name-repetition-in-tree.diff
>>
>> See second picture for an example.
>>
>> Henner.
>
>
>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>
>
> --
> Chris
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References