Konstanten für Länge von Namen #170

Merged
sneeex merged 7 commits from enhancement/158-konstanten-für-länge-von-namen into development 2026-01-17 13:42:50 +00:00
Owner

Zugehörige Issue(s)

Closes #158

Beschreibung

Es wurden Konstanten für die maximale Länge diverse Inputfelder implementiert.

Änderungen

  • Linterregel zum Filtern von Konstantennamen deaktiviert
  • MAX_PLAYER_NAME_LENGTH, MAX_GROUP_NAME_LENGTH, MAX_MATCH_NAME_LENGTH, MAX_GAME_NAME_LENGTH, MAX_TEAM_NAME_LENGTH implementiert
  • Längen-Konstanten in CreateGroupView, CreateMatchView und PlayerSelection implementiert

Zusätzliche Anmerkungen

Für Teamname und Gamename gibt es aktuell noch keine Views, deswegen wurden diese noch nicht verwendet

### Zugehörige Issue(s) Closes #158 ### Beschreibung Es wurden Konstanten für die maximale Länge diverse Inputfelder implementiert. ### Änderungen - Linterregel zum Filtern von Konstantennamen deaktiviert - `MAX_PLAYER_NAME_LENGTH`, `MAX_GROUP_NAME_LENGTH`, `MAX_MATCH_NAME_LENGTH`, `MAX_GAME_NAME_LENGTH`, `MAX_TEAM_NAME_LENGTH` implementiert - Längen-Konstanten in `CreateGroupView`, `CreateMatchView` und `PlayerSelection` implementiert ### Zusätzliche Anmerkungen Für Teamname und Gamename gibt es aktuell noch keine Views, deswegen wurden diese noch nicht verwendet
flixcoo added 3 commits 2026-01-16 20:56:03 +00:00
Implemented constants
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m41s
Pull Request Pipeline / lint (pull_request) Successful in 2m45s
783f772da1
flixcoo requested review from Owners 2026-01-16 20:56:07 +00:00
flixcoo self-assigned this 2026-01-16 20:56:10 +00:00
flixcoo added this to the Alpha milestone 2026-01-16 20:56:12 +00:00
flixcoo added the
PR
Ready for Review
2
label 2026-01-16 20:56:15 +00:00
sneeex requested changes 2026-01-17 09:35:47 +00:00
Dismissed
@@ -12,2 +12,3 @@
lines_longer_than_80_chars: false
lines_longer_than_80_chars: false
constant_identifier_names: false
Owner

was ist constant identifier names?

was ist constant identifier names?
Author
Owner

Das deaktiviert, dass es eine Linter-Warnung gibt, wenn ich konstanten in SCREAMING_CAMEL_CASE schreibe, weil Flutter die normalerweise in lowerCamelCase will

Das deaktiviert, dass es eine Linter-Warnung gibt, wenn ich konstanten in `SCREAMING_CAMEL_CASE` schreibe, weil Flutter die normalerweise in `lowerCamelCase` will
sneeex marked this conversation as resolved
@@ -7,0 +18,4 @@
static const int MAX_GAME_NAME_LENGTH = 256;
/// Maximum length for team names
static const int MAX_TEAM_NAME_LENGTH = 256;
Owner

warum Match, Game, Team so lang?

warum Match, Game, Team so lang?
Author
Owner

ups, das war wohl copilto auto complete

ups, das war wohl copilto auto complete
Owner

ups, das war wohl copilto auto complete

bro hat wieder kein finger gekrümmt

> ups, das war wohl copilto auto complete bro hat wieder kein finger gekrümmt
Owner

und kontrollierts nicht mal

und kontrollierts nicht mal
sneeex marked this conversation as resolved
@@ -6,11 +6,13 @@ class TextInputField extends StatelessWidget {
/// - [controller]: The controller for the text input field.
/// - [onChanged]: The callback invoked when the text in the field changes.
/// - [hintText]: The hint text displayed in the text input field when it is empty
/// - [maxLength]: The maximum length of the input text.
Owner

optional ergänzen? gleiche bei onchanged? bzw. onChanged kann ja auch required sein

optional ergänzen? gleiche bei onchanged? bzw. onChanged kann ja auch required sein
sneeex marked this conversation as resolved
flixcoo added 2 commits 2026-01-17 13:33:30 +00:00
Edited comment
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m5s
Pull Request Pipeline / lint (pull_request) Successful in 2m10s
0e747710ab
flixcoo requested review from sneeex 2026-01-17 13:33:33 +00:00
flixcoo added
PR
In Review
1
and removed
PR
Ready for Review
2
labels 2026-01-17 13:33:37 +00:00
Owner

ja und onchanged??
entweder required oder optional comment

ja und onchanged?? entweder required oder optional comment
sneeex requested changes 2026-01-17 13:35:20 +00:00
Dismissed
sneeex left a comment
Owner

comment

comment
flixcoo added 2 commits 2026-01-17 13:35:51 +00:00
Merge remote-tracking branch 'origin/enhancement/158-konstanten-für-länge-von-namen' into enhancement/158-konstanten-für-länge-von-namen
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m14s
Pull Request Pipeline / lint (pull_request) Successful in 2m18s
4fd8d2129b
sneeex approved these changes 2026-01-17 13:36:49 +00:00
Dismissed
flixcoo requested review from sneeex 2026-01-17 13:36:52 +00:00
sneeex scheduled this pull request to auto merge when all checks succeed 2026-01-17 13:36:55 +00:00
sneeex approved these changes 2026-01-17 13:42:48 +00:00
sneeex merged commit 2d1ac3a17c into development 2026-01-17 13:42:50 +00:00
sneeex deleted branch enhancement/158-konstanten-für-länge-von-namen 2026-01-17 13:42:50 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: liquid-development/game-tracker#170