diff --git a/.github/instructions/write-prompts-md.instructions.md b/.github/instructions/write-prompts-md.instructions.md index efeb9a9..53550d8 100644 --- a/.github/instructions/write-prompts-md.instructions.md +++ b/.github/instructions/write-prompts-md.instructions.md @@ -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 `

` 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]

+- [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` \ No newline at end of file +All prompt documentation goes into: `docs/prompts.md` \ No newline at end of file diff --git a/docs/prompt.md b/docs/prompts.md similarity index 83% rename from docs/prompt.md rename to docs/prompts.md index 90e0af0..79dad8b 100644 --- a/docs/prompt.md +++ b/docs/prompts.md @@ -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

+- 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.

+- 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.

+- 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.

+- 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.

+- 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.

+- 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.

+- 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.

+- 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.

+- 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.

+- 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.

+- 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.

+- 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.

+- 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.

+- 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.

+- 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.

+- 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.

+- 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.

+- 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

+- 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)