่ทณๅˆฐไธป่ฆๅ†…ๅฎน

Lock on Custom Components

Twelve
ๆ”ฏๆŒ
pages-kitfeatureimpact-highqualifiedrewarded

Hello team,

Please consider adding a lock function on the custom components. The copy button is right next to the trash button. Instead of a lock, perhaps a warning box pops up when you choose to erase a custom component. I have already accidentally erased some precious work ๐Ÿ™‚.Thank you for your consideration.

9 ๆกๅ›žๅค

Brain Titan23ไธชๆœˆๅ‰

yep, this happened to me a few times too (accidentally deleting the custom component๐Ÿ˜…). I always keep back ups of the pages kit react code in a text file, just in case this happens, then I just go to the text file to get back my code

Twelve23ไธชๆœˆๅ‰

best case here is you still have to redo all the properties. sucks when it happens.

Brain Titan23ไธชๆœˆๅ‰

I also manually write the props in a separare text file๐Ÿ˜‚ but yes for those it takes a few minutes to add them back

either way, good feature request imo, it indeed does suck when a custom component is accidentally deleted

wangshijun23ไธชๆœˆๅ‰

There should be at least a confirm dialog before we deleting, will improve ASAP.

JustHODL23ไธชๆœˆๅ‰

Something to managing versioning could be cool too. What I usually do is to create a copy of the component I'm working on and try new functionalities on it but it gets hard to follow up since we have little space to navigate through components list. May be a folder type (multilevel) list? If I could expand lets say Announcement Banner and find all the copies and version there could help a lot

image.png

Brain Titan23ไธชๆœˆๅ‰

another great point! I just experienced this issue myself yesterday as I tried to create V2 of a custom component, had to just make a copy of the original to work on

JustHODL23ไธชๆœˆๅ‰

I also made a suggestion in the post below. It would help a lot if we can have this sidebar menu collapsible. Reasons why in the post

image.png

xiaoliang23ไธชๆœˆๅ‰

There is a full screen button in the toolbar to hide the sidebar.

image.png

xiaoliang23ไธชๆœˆๅ‰

In the latest version, we have added a confirmation prompt when deleting custom components. Please update to the latest version to enjoy the convenience brought by this improvement.

ๅ›žๅค