Delete a function from library

#1

Is there a way to delete a lib function in the UI ?

1 Like

#2

Can you give more detail on exactly what you mean by that? What function are you trying to delete?

0 Likes

#3

You can create a function and save it to the library

But I made a mistake and I want to delete a function in the library, how can I do that?

image

0 Likes

#4

Within your .node-red folder theres a lib folder and within that a functions folder. Which will contain the folder if you have specified one.

You can delete the function by deleting it within that folder.

0 Likes

#5

Yes I found that too, but why isn’t there a delete button in the web ui ?

1 Like

#6

I’m guessing that very few people save their functions like this so it’s never been asked for before / made it far enough up the roadmap.

But the good thing about open source software is that you can suggest the change, code it and get it into the core Node-RED package

0 Likes

#7

Ah ok, thx for your answer.

What is the best way to go for this feature-request?
Here in this forum or github or…?

0 Likes

#8

This forum has a Development category, and in there is Feature Requests.

1 Like

#9

Just keep in mind that a complete rework of the Library functionality is in the 1.0 roadmap - so any small incremental change to the existing functionality is unlikely to get any time or consideration unless its part of the roadmap item.

0 Likes

#10

Ok I see now...

0 Likes

#11

As part of the Library Redesign, would it be possible to add these 3 options:

image

to the "Export to Library" popup (although perhaps they don't all make sense)?

image

Since there is no way to select the current "tab" with its information, that cannot be exported, it seems. It's also hard to know what is actually being exported -- so some of my users have lost parts of flows, especially when they try to update a previous version of the library file... being able to launch the remote diff viewer before saving would be helpful here.

0 Likes