update both prompts file and instructions

This commit is contained in:
2026-03-12 22:49:31 +01:00
parent 1158da4fe7
commit 8869bb927e
2 changed files with 24 additions and 24 deletions

View File

@@ -3,7 +3,7 @@ description: Instructions for documenting prompts and file changes in docs/promp
applyTo: '**'
---
# Writing Prompts to docs/prompt.md
# Writing Prompts to docs/prompts.md
## Purpose
Document all AI prompts and track which files were modified as a result of each prompt.
@@ -20,7 +20,7 @@ Document all AI prompts and track which files were modified as a result of each
Each prompt entry should follow this structure:
1. **Prompt text**: Write the actual prompt as a bullet point while only fixing grammatical errors (`-`)
2. **Separator**: Add `<br><br>` after the prompt text
2. **Separator**: Add ` ` (three spaces) after the prompt text
3. **File changes header**: Add the line `Folgende Dateien wurden in diesem Prompt verändert:`
4. **File list**: List all affected files as indented sub-bullets (4 spaces + `-`)
- Include file paths relative to the project root
@@ -30,7 +30,7 @@ Each prompt entry should follow this structure:
```markdown
## 11.03.2026
- [Prompt text here]<br><br>
- [Prompt text here]
Folgende Dateien wurden in diesem Prompt verändert:
- path/to/file1.ts
- path/to/file2.dart (neu erstellt)
@@ -47,4 +47,4 @@ Folgende Dateien wurden in diesem Prompt verändert:
6. Maintain chronological order within each date section
## File Location
All prompt documentation goes into: `docs/prompt.md`
All prompt documentation goes into: `docs/prompts.md`

View File

@@ -1,10 +1,10 @@
# Prompts
Folgende Prompts wurden auf Englisch geschrieben. Verwendetes Model: Claude Sonnet 4.5
Folgende Prompts wurden verwendet um die Applikation zu erstellen, sie wurden auf Englisch geschrieben. Verwendetes Model: Claude Sonnet 4.5
## 11.03.2026
- the user should be able to join teams and then join a tournament as a team, also add that to the backend<br><br>
- the user should be able to join teams and then join a tournament as a team, also add that to the backend
Folgende Dateien wurden in diesem Prompt verändert:
- team.ts
- team-service.ts
@@ -19,89 +19,89 @@ Folgende Dateien wurden in diesem Prompt verändert:
- tournament_detail_page.dart
- teams_page.dart (erstellt, aber nicht verwendet)
- Ensure a team can only have a maximum of four members, also show the member count in the team list.<br><br>
- Ensure a team can only have a maximum of four members, also show the member count in the team list.
Folgende Dateien wurden in diesem Prompt verändert:
- backend_splatournament_manager/src/services/team-service.ts
- frontend_splatournament_manager/lib/models/team.dart
- frontend_splatournament_manager/lib/pages/teams_page.dart
- Remove the teams_page and add the member count display to the list views.<br><br>
- Remove the teams_page and add the member count display to the list views.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/lib/pages/teams_page.dart (gelöscht)
- frontend_splatournament_manager/lib/widgets/teams_list_widget.dart
- frontend_splatournament_manager/lib/widgets/my_teams_widget.dart
- Center the team avatar vertically in the list views.<br><br>
- Center the team avatar vertically in the list views.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/lib/widgets/teams_list_widget.dart
- frontend_splatournament_manager/lib/widgets/my_teams_widget.dart
- Restrict team tags to at most 3 characters.<br><br>
- Restrict team tags to at most 3 characters.
Folgende Dateien wurden in diesem Prompt verändert:
- backend_splatournament_manager/src/app.ts
- frontend_splatournament_manager/lib/pages/create_team_page.dart
- Use the first three letters of the username as the avatar for the profile and remove the team name input in the settings.<br><br>
- Use the first three letters of the username as the avatar for the profile and remove the team name input in the settings.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/lib/widgets/profile_widget.dart
- Save the theme preferences so they persist across restarts.<br><br>
- Save the theme preferences so they persist across restarts.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/pubspec.yaml
- frontend_splatournament_manager/lib/providers/theme_provider.dart
- Implement auth-aware router to keep users logged in after app restart.<br><br>
- Implement auth-aware router to keep users logged in after app restart.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/lib/main.dart
- Create a carousel on the homepage that shows all the tournaments that one of your teams is participating in.<br><br>
- Create a carousel on the homepage that shows all the tournaments that one of your teams is participating in.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/lib/providers/team_provider.dart
- frontend_splatournament_manager/lib/widgets/my_tournaments_carousel.dart (neu erstellt)
- frontend_splatournament_manager/lib/pages/home_page.dart
- Fix getTournamentsByTeam endpoint to return full Tournament objects instead of TournamentTeam objects.<br><br>
- Fix getTournamentsByTeam endpoint to return full Tournament objects instead of TournamentTeam objects.
Folgende Dateien wurden in diesem Prompt verändert:
- backend_splatournament_manager/src/services/team-service.ts (changed return type from any[] to Tournament[])
- Add navigation to tournament details in the carousel.<br><br>
- Add navigation to tournament details in the carousel.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/lib/widgets/my_tournaments_carousel.dart
- Fix the carousel not reloading when the reload button is pressed or when a tournament is joined.<br><br>
- Fix the carousel not reloading when the reload button is pressed or when a tournament is joined.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/lib/widgets/my_tournaments_carousel.dart
## 12.03.2026
- Show a placeholder in the carousel if no tournaments were found.<br><br>
- Show a placeholder in the carousel if no tournaments were found.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/lib/widgets/my_tournaments_carousel.dart
- Add 2 more themes that change the colors of the application, one light and one dark.<br><br>
- Add 2 more themes that change the colors of the application, one light and one dark.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/lib/providers/theme_provider.dart
- frontend_splatournament_manager/lib/main.dart
- frontend_splatournament_manager/lib/widgets/theme_selector_widget.dart
- Make the background color of the tournament detail page semi-transparent and keep the title text legible.<br><br>
- Make the background color of the tournament detail page semi-transparent and keep the title text legible.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/lib/pages/tournament_detail_page.dart
- In the Teams view, fix the upper TabBar text so selected and non-selected labels are readable.<br><br>
- In the Teams view, fix the upper TabBar text so selected and non-selected labels are readable.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/lib/pages/home_page.dart
- Only allow entering a tournament if the registration period is open currently.<br><br>
- Only allow entering a tournament if the registration period is open currently.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/lib/pages/tournament_detail_page.dart
- Add the ongoing view where teams are displayed in a bracket layout: single elimination, supporting 2/4/8 teams with horizontally scrollable rounds connected by bracket lines.<br><br>
- Add the ongoing view where teams are displayed in a bracket layout: single elimination, supporting 2/4/8 teams with horizontally scrollable rounds connected by bracket lines.
Folgende Dateien wurden in diesem Prompt verändert:
- frontend_splatournament_manager/lib/pages/tournament_bracket_page.dart (neu erstellt)
- frontend_splatournament_manager/lib/pages/tournament_detail_page.dart
- add the ability to progress in a tournament<br><br>
- add the ability to progress in a tournament
Folgende Dateien wurden in diesem Prompt verändert:
- backend_splatournament_manager/src/models/match.ts (neu erstellt)
- backend_splatournament_manager/src/services/match-service.ts (neu erstellt)