UI for editing library dependency lists (for library creators)

Issue #236 new
Turgut Guneysu created an issue

It is only possible to add new library names, but not edit existing one.

Comments (7)

  1. John Maloney repo owner

    I think this problem could be solved if we could delete dependencies. That would allow the user to delete dependencies they didn’t want then add the ones they wanted. Bernat had a way to do that via drag-drop but (a) it wasn’t obvious that it was possible and (b) we lost that code in the transition to the new morphic.

  2. John Maloney repo owner

    Unfortunately, that no longer works. The mechanism broke when we switched to the new morphic and I removed the code for it. However, I’d wanted to replace the drag-drop mechanism with a more explicit, easily discoverable UI because people (including me and Turgut) couldn’t easily remember how to add and remove dependencies. One possible UI would be little + and - buttons. The + button would let you select a dependency to add from a menu of the libraries in your project. The - button would let you select dependency to delete.

  3. Bernat Romagosa

    I just tried it on the latest dev version and it totally worked for me. Open the Library information dialog (right click on the lib name, select “library Information”), drag out a dependency out of the dialog, press save, and re-export the library.

    The same goes for adding deps. The + button still works.

  4. John Maloney repo owner

    Cool! I thought I’d broken it! The add operation clear but deleting by dragging is not obvious. I’d still go for a - button.

  5. Log in to comment