The help command creation modal was accepting names with spaces and special characters (e.g., "scorecard links"), which passed to the API but caused Pydantic validation errors when reading the records back. Changes: - Add regex validation in modal on_submit for topic name and category - Only allow lowercase letters, numbers, dashes, and underscores - Show clear error messages with valid examples when validation fails - Normalize name/category to lowercase before storing This prevents invalid records from being created in the database. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| CLAUDE.md | ||
| common.py | ||
| confirmations.py | ||
| custom_commands.py | ||
| draft_views.py | ||
| embeds.py | ||
| help_commands.py | ||
| modals.py | ||
| players.py | ||
| trade_embed.py | ||
| transaction_embed.py | ||