Skip to content

Add use case templates for CC and clean up waste tracks#71

Merged
kiyarose merged 11 commits into
mainfrom
kr-tempr1
May 3, 2026
Merged

Add use case templates for CC and clean up waste tracks#71
kiyarose merged 11 commits into
mainfrom
kr-tempr1

Conversation

@kiyarose

@kiyarose kiyarose commented May 3, 2026

Copy link
Copy Markdown
Member

This pull request adds several new built-in template examples to the CookieCut application, expanding the variety of starter documents available to users. The main update is the registration of four new templates—covering recipes, assignments, safety plans, and emails—each with their own sample .cookie files and metadata.

New built-in templates:

  • Added four new template entries to the BUILTIN_TEMPLATE_SLOTS array in js/global.js, making them available as built-in options in the app UI. These include "Grandma & Co's Basic Cake Recipe", "Assignment", "Safety Plan", and "Basic Email with Signature".

New template files:

  • Added templates/default/cake.cookie: A simple, well-documented cake recipe template, demonstrating the use of headings, lists, images, steps, and tips.
  • Added templates/default/assignment.cookie: An assignment/essay builder template, including headings, text, bullet points, and a references section.
  • Added templates/default/safeplan.cookie: A two-page safety plan template, with sections for warning signs, emergency checklists, contacts, and personal boundaries.
  • Added templates/default/emailsig.cookie: A basic company email template with signature, logo, and disclaimer, illustrating layout and formatting options.

Copilot AI review requested due to automatic review settings May 3, 2026 05:32
@kiyarose kiyarose linked an issue May 3, 2026 that may be closed by this pull request
This commit fixes the style issues introduced in 89ceb91 according to the output
from Prettier and StandardJS.

Details: #71
@deepsource-io

deepsource-io Bot commented May 3, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in ed74f6e...c4d07f0 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Coverage  

Code Review Summary

Analyzer Status Updated (UTC) Details
Shell May 3, 2026 5:43a.m. Review ↗
JavaScript May 3, 2026 5:43a.m. Review ↗
Code coverage May 3, 2026 5:43a.m. Review ↗
Secrets May 3, 2026 5:43a.m. Review ↗

Code Coverage Summary

Language Line Coverage (Overall)
Aggregate
100%
Javascript
0%

➟ Additional coverage metrics may have been reported. See full coverage report ↗


Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@github-actions

github-actions Bot commented May 3, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit c4d07f0):

https://slf-cookiecutter--pr71-kr-tempr1-aw75gl4j.web.app

(expires Mon, 04 May 2026 05:43:49 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f3acc43c256baca92da4092df239688a133cbab3

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands CookieCut’s built-in template gallery by registering four new default templates and adding their corresponding .cookie documents under templates/default/.

Changes:

  • Added four new built-in template slots (Cake, Assignment, Safety Plan, Email w/ Signature) in the template gallery configuration.
  • Added four new default template .cookie files providing starter content for common use cases.
  • Added a root .gitignore (but also accidentally committed a macOS .DS_Store artifact).

Reviewed changes

Copilot reviewed 5 out of 7 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
js/global.js Registers the four new built-in templates in BUILTIN_TEMPLATE_SLOTS.
templates/default/cake.cookie Adds a recipe-oriented starter document template.
templates/default/assignment.cookie Adds an essay/assignment starter document template.
templates/default/safeplan.cookie Adds a safety-plan starter document template.
templates/default/emailsig.cookie Adds an email + signature starter document template.
templates/.DS_Store OS-generated macOS artifact added to the repo (should be removed).
.gitignore Ignores .DS_Store and .firebase/*.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread templates/default/safeplan.cookie
Comment thread templates/default/emailsig.cookie
Comment thread templates/default/emailsig.cookie Outdated
Comment thread templates/default/cake.cookie Outdated
Comment thread templates/default/cake.cookie Outdated
Comment thread templates/default/safeplan.cookie Outdated
Comment thread templates/default/cake.cookie Outdated
Comment thread templates/default/assignment.cookie Outdated
Comment thread js/global.js
kiyarose and others added 7 commits May 3, 2026 01:37
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@kiyarose kiyarose enabled auto-merge May 3, 2026 05:43
@sonarqubecloud

sonarqubecloud Bot commented May 3, 2026

Copy link
Copy Markdown

@kiyarose kiyarose merged commit 60fa752 into main May 3, 2026
10 checks passed
@kiyarose kiyarose deleted the kr-tempr1 branch May 3, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Make comprehensive cookie templates

2 participants