Compilation Edit Screen - cressie176/Load64 GitHub Wiki
Create a new user-defined game compilation, or rename an existing one.
When adding a new compilation:
┌──────────────────────────────────────────────────────────────────────────────┐
│ TOP BAR │
│ Compilations > Add │
├──────────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌────────────────────────────────────────────────────────────────────────┐ │
│ │ _ │ │
│ └────────────────────────────────────────────────────────────────────────┘ │
│ │
│ [Save] [Cancel] │
│ │
├──────────────────────────────────────────────────────────────────────────────┤
│ BOTTOM BAR │
└──────────────────────────────────────────────────────────────────────────────┘
When renaming an existing compilation:
┌──────────────────────────────────────────────────────────────────────────────┐
│ TOP BAR │
│ Compilation > Favourites │
├──────────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌────────────────────────────────────────────────────────────────────────┐ │
│ │ Favourites_ │ │
│ └────────────────────────────────────────────────────────────────────────┘ │
│ │
│ [Save] [Cancel] │
│ │
├──────────────────────────────────────────────────────────────────────────────┤
│ BOTTOM BAR │
└──────────────────────────────────────────────────────────────────────────────┘
Focusable: No
Interactive: No
Purpose: Identify whether a new compilation is being created or an existing one renamed
Type: Text input
Focusable: Yes (primary focus region)
Interactive: Yes
Purpose: Enter or edit the compilation name
When reached from the Compilation List screen (standard mode):
- [Save] validates and saves the name. On success, navigates to the Compilation Details screen (when adding) or returns to the Compilation List screen (when renaming).
- [Cancel] discards changes and returns to the Compilation List screen.
When reached from the Import Compilations screen (import mode):
- [Save] validates and saves the name. On success, creates the compilation and returns to the Import Compilations screen with the new compilation pre-selected.
- [Cancel] discards changes and returns to the Import Compilations screen.
Focusable: No
Interactive: No
Purpose: Display validation errors
After a validation error:
├──────────────────────────────────────────────────────────────────────────────┤
│ BOTTOM BAR │
│ <Error message> │
└──────────────────────────────────────────────────────────────────────────────┘
- When adding: input is empty on entry.
- When renaming: input is pre-populated with the current name.
- If validation fails, the error is shown in the bottom bar and the form remains open.
| Name | Type | Required | Notes |
|---|---|---|---|
| Compilation Name | String | Yes | Must not be empty, must not be "All Games", must not duplicate an existing compilation name |