swapping a nested component should change name in layers
When I have a component like a card with a button in it (button is a nested component) and I drag a different button in to swap it out, the card component should update the original button name with the new name in the layers panel.
How would you handle the situation where you’ve given the instance a significant name (e.g. “navigation home”) and then swapped it out? Would you want to overwrite what you’ve already written with the name of the new component?
Yeah totally. I like to create and use components as generically as possible and then add in detail. So I would say for example I would start out and create component nav bar which has nested component generic icon in it. Then when I use component nav bar where component generic icon was I swap in home icon or back button. When I look at my layers I want the name to be relevant to what is on the screen so when I search or look through the layers panel I can read the names of the actual things on my screen. Right now the result is something totally weird like it’ll duplicate the original nested component name twice which makes it even more messy.