text: export const notTinyProject = (
    { env = {}, materials = {} },
    {
      name = '',
      url = '',
      weeks = null,
      milestone = 0,
      description = '',
      gitpod = materials.gitpod,
      state = '',
    },
  ) => {
    // --- scoped utilities for generating links ---
  
    const urlSafeName = `"${encodeURIComponent(name)}"`;
  
    const materialSearch = (label = '', linkText = label) =>
      `[${linkText}](https://github.com/${env.org}/${env.repo}/projects/${materials.board}?card_filter_query=milestone%3A${urlSafeName}+label%3A${label})`;
  
    const labelize = (name = '') => `label%3A${name}`;
  
    const issuesSearch = (label = '', linkText = label) =>
      `[${linkText}](https://github.com/${env.org}/${
        env.repo
      }/issues/?q=milestone%3A${urlSafeName}+${
        typeof label === 'string'
          ? labelize(label)
          : label.map(labelize).join('+')
      })`;
  
    // --- build the section ---
  
    const formattedName = name
      .split('-')
      .map((word) => word[0].toUpperCase() + word.slice(1))
      .join(' ');
  
    let materialsSection = `### [${formattedName}](${url})`;
  
    if (typeof weeks === 'number') {
      materialsSection += `: ${weeks} week${weeks === 1 ? '' : 's'}`;
      materialsSection += state === 'closed' ? ` (closed)` : '';
    }
  
    materialsSection += '\n\n>';
  
    materialsSection += issuesSearch('check-in', 'check-ins') + ' | ';
  
    materialsSection +=
      materialSearch('deliverable', 'deliverables board') + ' | ';
  
    // materialsSection += issuesSearch('roll-call', 'roll-calls') + ' | ';
  
    materialsSection += issuesSearch(['retro', 'check-in'], 'retros') + ' || ';
  
    materialsSection += `[milestone](https://github.com/${env.org}/${env.repo}/milestone/${milestone})`;
  
    if (gitpod) {
      materialsSection += ` || [gitpod](https://gitpod.io/#${url}) `;
    }
  
    if (description) {
      materialsSection += ' \n\n ' + description;
    }
  
    return materialsSection + '\n\n';
  };
  