goose icon indicating copy to clipboard operation
goose copied to clipboard

"Generated Recipe URL" breaks when typing "–" character into Instructions field

Open rosslindly opened this issue 6 months ago • 1 comments

Describe the bug

On https://block.github.io/goose/recipe-generator/ if I enter a character in the Instructions field, the Generated Recipe URL field breaks. Specifically, the URL goes from a URL to text that reads Fill in the required fields to generate a URL which is the default placeholder text.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://block.github.io/goose/recipe-generator/
  2. Start typing something in to the Instructions field and observe the Generated Recipe URL
  3. Then, type a character into the Instructions field and observe the Generated Recipe URL
  4. See error; Generated Recipe URL now reads Fill in the required fields to generate a URL

Expected behavior Either the URL should still adapt/generate, or throw a descriptive error telling the user to remove the from their Instructions.

Screenshots https://github.com/user-attachments/assets/4eb07a69-6258-46ee-86ef-f5f390ff352f

Please provide following information:

  • OS & Arch: Mac OS Sequoia 15.5

rosslindly avatar Jun 02 '25 17:06 rosslindly

I can't seem to repro this, maybe its fixed now?

https://github.com/user-attachments/assets/44c505d0-c2ac-438d-91c0-f893a0e13b17

zanesq avatar Jun 09 '25 14:06 zanesq