hunk.code_window:   showDots = true,
     id = undefined,
     onDelete = () => {},
   }: ITemplateButtonProps) {
     const { readonly: readonlyEnv } = useEnvController();
     const { cx, classes, theme } = useStyles();
     const disabled = action && !checked;
  
hunk.labels: keep keep add keep keep keep keep
hunk.after_edit:   showDropZone = false,
  
hunk.file_path: apps/web/src/design-system/template-button/ChannelButton.tsx
hunk.type: add
file: import { v1 as uuidv1 } from 'uuid';
  
  export function createGuid(): string {
    return uuidv1();
  }
  
  export function capitalize(text: string) {
    if (typeof text !== 'string') return '';
  
    return text.charAt(0).toUpperCase() + text.slice(1);
  }
  
  export function getFileExtensionFromPath(filePath: string): string {
    const regexp = /\.([0-9a-z]+)(?:[?#]|$)/i;
    const extension = filePath.match(regexp);
  
    return extension && extension[1];
  }
  