diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 89fa815..5b441f8 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -30,6 +30,8 @@ - Use template tags and filters for common operations - Avoid complex logic in templates - move it to views or template tags - Use static files properly with `{% load static %}` +- Avoid hiding controls with `
` or other collapse elements unless explicitly needed +- Prioritize accessibility and discoverability of features ## Settings - Use environment variables in a single `settings.py` file @@ -67,3 +69,9 @@ - Management commands in `twitch/management/commands/` for data import and maintenance tasks - Use `pyproject.toml` + uv for dependency and environment management - Use `uv run python manage.py ` to run Django management commands + +## Documentation & Project Organization +- Only create documentation files when explicitly requested by the user +- Do not generate markdown files summarizing work or changes unless asked +- Keep code comments focused on "why" not "what"; the code itself should be clear +- Update existing documentation rather than creating new files diff --git a/.vscode/settings.json b/.vscode/settings.json index e834d89..1302d02 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -27,6 +27,7 @@ "Facepunch", "Feedly", "filterwarnings", + "forloop", "granian", "gunicorn", "Hellsén", diff --git a/templates/base.html b/templates/base.html index 6b86ac6..bbae34e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -155,31 +155,38 @@ -

ttvdrops

- Twitch: - Dashboard | - Campaigns | - Rewards | - Games | - Orgs | - Channels | - Badges | - Emotes -
- Other: - RSS | - Debug | - Dataset | - Donate | - GitHub -
-
- - -
+ +
{% if messages %}