GithubHelp home page GithubHelp logo

Comments (2)

moshee avatar moshee commented on May 27, 2024 1

Some time after posting this issue last night I wondered if that might be the case. I think it would help to improve the wording to make the dependency resolution method more clear in context.

Suggestions for the existing menu option that I used:

  • Edit as copy in local library
  • Copy and override in local library

The warning message can then explain in more detail how the name resolution works.

I think it would be nice to keep the existing option to do what I originally wanted, but this might be confusing for people who actually use this feature as implemented regularly. Something like Duplicate in local library might be better as it follows the existing nomenclature of Duplicate.

I understand now there is something that does this already, but most likely I have already browsed to the item that I want to copy in the read-only lib rather than starting from the library editor to start looking for a part to copy (then I would have to look up the part twice which upsets me in other software).

from librepcb.

ubruhin avatar ubruhin commented on May 27, 2024

Keeping UUIDs is intended because the main use-case of this feature is to copy elements from a read-only library (i.e. libraries installed through the library manager) into a local library to modify them. In this case, it is desired that all other elements will reference the own copy instead of the original element.

There are also two ways to copy an element while automatically assigning new UUID (effectively making it a new element):

  • Right click on an element in the library manager and choosing "Duplicate". However, this duplicates the element within a library, not across different libraries.
  • In the library editor, choose "File -> New Library Element" and then select "Copy from existing element". This allows to copy an element from any library into the currently opened library.

Anyway, I agree it is not very intuitive and probably we should make the text in the message box much more descriptive.

Maybe we should also consider showing the "Copy to other library" context menu item only in read-only libraries, i.e. hiding it in writable libraries 🤔

from librepcb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.