Comments (7)
There are a few that are obsolete but we have not added the replacedBy field to avoid breaking something. For example, the old potentiometers and probably a few otters. Not sure if we could do something to not take into account these parts.
from fritzing-app.
We could add a "None" magic value for replacedBy. Or we could add a improvedBy field, that could be utilized as a way to deprecate parts without directly obsoleting them. If we don't do anything about them, the trick to add an "obsolete" suffix to the family would still work.
from fritzing-app.
It would be great if a script does that (e.g. setting the replacedBy field to none, if it is empty) for all the parts in the obsolete folder.
from fritzing-app.
Actually that is not a lot of parts:
sgpt -s "find all .fzp files that do not have the text 'replacedBy', case insensitive"
find . -type f -name "*.fzp" -exec grep -iL "replacedBy" {} +
[E]xecute, [D]escribe, [A]bort: E
./Basic Force Sensing Resistor (FSR)_4.fzp
./pot_big_4.fzp
./Raspberry Pi 3.fzp
./basic_fsr_4.fzp
./kameleon.fzp
./pot_trimmer_6mm_4.fzp
./Textile Stretch Sensor_4.fzp
./alps-starter-pot9mm_5.fzp
./Dial Potentiometer with switch_4.fzp
./Textile Potentiometer_4.fzp
./pot_trimmer_12mm_4.fzp
./Arduino Nano.fzp
./Textile Analog Pressure Sensor_4.fzp
./pot-slider_4.fzp
from fritzing-app.
As a quick test, I remove the 'obsolete' from the family, so I could find the part to create a test sketch. Reloading the sketch now triggers the replacement mechanism, because there is a replacedby attribute. Of course no replacement can be found for "None". Fritzing shows the error message, then leaves the sketch as is.
from fritzing-app.
Maybe this needs its own issue, but I will discuss it here to start the discussion as it is related to obsoleted parts:
I noticed that a few of my students´ reports still use the old symbol for the potentiometers. This is because they do not use the bins to find the parts, they search for potentiometer in the search menu and choose one of them. And the old obsoleted potentiometers still appear in that view (probably because they do not have the replacedBy attribute).
Can we not show them in the search view? Should show first the regular parts and show the obsolete them in a subsection at the end? Should we use set replacedBy to None or similar?
from fritzing-app.
Created #4151 about the search on obsolete parts
from fritzing-app.
Related Issues (20)
- Better terminal points (PCB)
- Darkmode with Windows 11 HOT 1
- fritzing-1.0.2-l1901-dbdbe34c-win64_qt6.msi unable to install in Windows 10 64bit HOT 2
- Cannot drag parts - all of them are surrounded in red HOT 1
- Build: Not able to build in linux using Qt instrusctions provides HOT 2
- Build: Lack of instructions HOT 4
- Show an error if parts are out of scale
- Unable to build / compile with provided instructions. HOT 1
- Family collision results in part not working HOT 1
- copper fill blocker exists and blocks selection in schematic.
- expand range of electrolytic capacitor capacitance and voltage HOT 3
- 7805 regulator can't change voltages HOT 1
- Resizing the schematic frame
- La carga falló con el código de salida -1, 0 HOT 2
- Failed
- Cant simulate circuits HOT 3
- File Save Operation Should Be Atomic to Prevent Data Loss and Corruption HOT 1
- add hatched ground as ground fill option HOT 3
- Hide obsolete parts in the search
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fritzing-app.