snipsnap icon indicating copy to clipboard operation
snipsnap copied to clipboard

A couple of small bugs I've found

Open kylewetton opened this issue 3 years ago • 2 comments

Hey guys, love the extension. I wrote a simpler version because I had the same need as this kylewetton.boxed-components

Just testing out the cloud ui now, and I've run across two small bugs

Say I have two templates: Template A and Template B.

  • Open Template A and start making changes. Realise that you don't need Template B any more, delete Template B in the left sidebar. All the changes you've done to Template A will disappear.
  • I can't find any way of renaming a file? Name a file {{componentName}}. Realise it needs to be {{componentName}}.tsx. I can't rename a file, I have to create a new one and copy/paste all the code over.

Keep up the great work.

kylewetton avatar Jun 15 '21 04:06 kylewetton

Edit: Found one more

This will fail silently, (no error feedback?):

className={styles.{{toCamelCase componentName}}}

Annoyingly, it needs a space here:

className={styles.{{toCamelCase componentName}} }

kylewetton avatar Jun 15 '21 04:06 kylewetton

thanks a lot @kylewetton, we will take care of it!

lnikell avatar Jun 15 '21 08:06 lnikell