04 workflows - OldStarchy/dnd GitHub Wiki
User Workflows
Room Management
Creation
GM: Create a new room
- GM clicks "Create Room" in sidebar
- GM enters room name
- GM clicks "Create"
- App creates room
- App navigates to "Room" screen
GM: Invite players room via Room screen
- GM navigates to "Room" screen which shows
- Room code
- Share link via social/QR code
- GM shares the room code
GM: Invite players room via sidebar
- GM opens sidebar
- Sidebar contains
- Room code
- Share via social button
- Show QR code button
- GM shares the room code
Joining
Player: Join via room code (verbal invitation)
- GM tells other players the room code
- Player clicks "Join Room" in sidebar
- App opens "Join Room" screen
- Player types in room code
- Player types in their name
- Player clicks "Join"
- App joins the player to the room and notifies GM
Error case: mis-typed room code
- Player enters invalid room code
- App shows "Room not found" error
- App focuses input on the room code
- Player re-types the room code
Player: Join via share link
- GM clicks "Share invite link"
- GM shares the invite link (Messenger, QR code, etc.)
- Player opens the link
- App opens "Join Room" screen with room code prefilled
- Player enters their name
- Player clicks "Join"
- App joins the player to the room and notifies GM
Deleting
GM: Delete room
- GM navigates to "Room" screen
- GM clicks "Delete Room"
- App prompts for confirmation
- GM clicks "Delete"
- App notifies all players the room has been deleted
- App deletes room