Compilation Edit Screen - cressie176/Load64 GitHub Wiki

Primary Purpose

Create a new user-defined game compilation, or rename an existing one.

Main Screen Design

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                                                                   │
└──────────────────────────────────────────────────────────────────────────────┘

TOP BAR

Focusable: No
Interactive: No
Purpose: Identify whether a new compilation is being created or an existing one renamed

NAME INPUT

Type: Text input
Focusable: Yes (primary focus region)
Interactive: Yes
Purpose: Enter or edit the compilation name

[Save] / [Cancel]

When reached from the Compilation List screen (standard mode):

When reached from the Import Compilations screen (import mode):

BOTTOM BAR

Focusable: No
Interactive: No
Purpose: Display validation errors

After a validation error:

├──────────────────────────────────────────────────────────────────────────────┤
│ BOTTOM BAR                                                                   │
│  <Error message>                                                             │
└──────────────────────────────────────────────────────────────────────────────┘

Behaviour

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

Validation Rules

Name Type Required Notes
Compilation Name String Yes Must not be empty, must not be "All Games", must not duplicate an existing compilation name
⚠️ **GitHub.com Fallback** ⚠️