Files
fizzy/app/controllers/prompts/commands_controller.rb
T
Jorge Manrubia 39c7a54ad6 Add /user command
The LLM was relying on it. Having it missing resulted in a stack overflow error!

https://fizzy.37signals.com/5986089/collections/7/cards/1135
2025-07-18 17:59:02 +02:00

24 lines
906 B
Ruby

class Prompts::CommandsController < ApplicationController
def index
@commands = [
[ "/add", "Add a new card", "/add " ],
[ "/assign", "Assign cards to people", "/assign @" ],
[ "/close", "Close cards (with optional reason)", "/close " ],
[ "/reopen", "Reopen cards", "/reopen" ],
[ "/clear", "Clear all filters", "/clear" ],
[ "/consider", "Move cards back to Considering", "/consider" ],
[ "/do", "Move cards to Doing", "/do" ],
[ "/reconsider", "Move cards back to Considering", "/reconsider" ],
[ "/search", "Search cards and comments", "/search " ],
[ "/user", "Open user profile", "/user " ],
[ "/tag", "Tag selected cards", "/tag #" ],
[ "/stage", "Move cards to a Workflow Stage", "/stage " ],
[ "/help", "Show help menu", "/help" ]
]
if stale? etag: @commands
render layout: false
end
end
end