Offer for contribution: Automatic category field, existing part notice and Digikey barcode decoding #808
Replies: 1 comment 4 replies
-
Most of it sounds pretty useful, and looks good implementation wise from a quick look through the code. It would be best if you could split up that into different pull requests so I can review these more in detail. The thing which I do not really like (and I think will hopefully become obsolete anyway soon), is the thing with the configuration of the info providers. First in my opinion the base class for the info providers should stay an interface and not contain any implementation code, as it should just be a minimal interface description. If you want to provide any easy to use implementations, that should be either done via a trait, that developers can import for their implementation, or by providing a seperate abastract class, that implements the interface and provides additional functionality (but normally everything should just require the interface). Secondly the configuration via these yaml files is neither very user friendly (especially on docker container), and you might run into weird behavior due to caching (or you have the performance penality from needing it to check everytime). |
Beta Was this translation helpful? Give feedback.
-
Hi,
I implemented some features that I was missing in Partdb. Namely these are:
Please take a look at my implementation at https://github.com/Treeed/Part-DB-server/tree/autoCat
@jbtronics would you like to pull these features into the main repo? If so, I would write some docstrings and do some housekeeping and we could have some discussion on how you would like to have the functionality live across the project and implementation details. Also I would need some help on some of the technology specific things, like how to add translated strings.
Regards
Jona
Beta Was this translation helpful? Give feedback.
All reactions