Project planning for game and scene editing
Some checks failed
Monorepo build / build-flake (push) Has been cancelled

This commit is contained in:
2026-02-06 10:44:41 -05:00
parent fec9d79a32
commit 50309b2fec
15 changed files with 147 additions and 23 deletions

8
flake.lock generated
View File

@@ -20,16 +20,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1769018530,
"narHash": "sha256-MJ27Cy2NtBEV5tsK+YraYr2g851f3Fl1LpNHDzDX15c=",
"lastModified": 1770136044,
"narHash": "sha256-tlFqNG/uzz2++aAmn4v8J0vAkV3z7XngeIIB3rM3650=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "88d3861acdd3d2f0e361767018218e51810df8a1",
"rev": "e576e3c9cf9bad747afcddd9e34f51d18c855b4e",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}

View File

@@ -2,7 +2,7 @@
description = "Luminescent Dreams Monorepo and Applications";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
flake-utils.url = "github:numtide/flake-utils";
};

View File

@@ -6,7 +6,7 @@ priority: P0
---
## Story
As the GM, when I am i a game I want to see all of the images associated with the current scene so that I can select one image for the tabletop.
As a GM, I want to be able to select a scene so that I can indicate scene changes to players and select from images and other resources appropriate to the scene.
## Acceptance Criteria
- Only images for the current scene are visible
@@ -14,7 +14,7 @@ As the GM, when I am i a game I want to see all of the images associated with th
- When changing scenes, the current tabletop image gets set to the default image for the scene, or cleared
## Linked Tasks
- [[T000-task-example]] <!-- use Obsidian wikilinks -->
- [[US0013 The GM can edit the list of scenes in a game]]
## Planning
- [[US0004 Plan]]

View File

@@ -6,7 +6,9 @@ priority: P0
---
## Story
As a GM, I want to be able to create and edit the list of scenes in my game so that I have scenes ready for my players to be in.
As a GM, I want to be able to create and edit the list of scenes in my game so that I have organized resources that are easy for me to access in game.
This story is a predecessor to [[US0004 The GM can select the current scene that the game is in]].
## Acceptance Criteria
- The GM can create or remove new scene in a game
@@ -16,13 +18,14 @@ As a GM, I want to be able to create and edit the list of scenes in my game so t
*being able to edit scenes during a game is not a part of this user story*
## Linked Tasks
- [[US0020 The Game Edit page needs to divide resources into multiple views]]
- [[T0029 Show a list of scenes in the game edit page]]
- [[T0030 Show all of the details of a scene in the scene edit page]]
- [[T0031 Add an action to create a new scene from the game edit page]]
- [[T0032 Be able to edit the details of a scene in the scene edit page]]
- [[T0045 Add an image edit view to the Game Edit page]]
## Planning
- [[US0016-planning]] <!-- link to planning doc (see planning template) -->
## Manual Tests (links)
- [[M000-login-success]]

View File

@@ -0,0 +1,27 @@
---
id: US0020
type: userstory
status: Not Started
---
## Story
As a GM, I need for the Game Edit page to organize resources up into separate views so that I can focus on one aspect of the game at a time.
## Acceptance Criteria
- The Game Edit view includes a resource selector that selects the edit interface that is currently visible.
- The resources available are the list of users in the game and the list of characters in the game.
## Linked Tasks
- [[T0042 Set up a selector bar with Players and Characters at the top of the edit screen]]
- [[T0043 Associate the list of Players with the Player view of the edit screen]]
- [[T0044 Associate the list of Characters with the Character view of the edit screen]]
## Planning
- [[US0016-planning]] <!-- link to planning doc (see planning template) -->
## Manual Tests (links)
- [[M000-login-success]]
## Status
- Status: Not Started / In Progress / Blocked / Done
- Remaining tasks: 0 / N <!-- keep updated or automate -->

View File

@@ -6,10 +6,12 @@ status: Not Started
assignee:
---
**Linked User Story:** [[US0013 Edit the scenes in the game]]
**Linked User Story:** [[US0013 The GM can edit the list of scenes in a game]]
## Description
Describe the task, implementation details.
Once [[T0042 Set up a selector bar with Players and Characters at the top of the edit screen]] has been completed, add a new option, Scenes, that takes the user to a list of scenes that are currently in the game.
All scenes are listed in a sidebar. Details of the currently selected scene will be handled in [[T0030 Show all of the details of a scene in the scene edit page]]
## Definition of Done
- DoD 1

View File

@@ -6,10 +6,10 @@ status: Not Started
assignee:
---
**Linked User Story:** [[US0013 Edit the scenes in the game]]
**Linked User Story:** [[US0013 The GM can edit the list of scenes in a game]]
## Description
Describe the task, implementation details.
Once the scene list has been rendered in [[T0029 Show a list of scenes in the game edit page]], the main area of the scene view will show a description of the scene and a list of all images available in the game. The image view will be identical to the view in [[T0045 Add an image edit view to the Game Edit page]], without the button to add another image to the game.
## Definition of Done
- DoD 1

View File

@@ -5,11 +5,12 @@ story: US0013
status: Not Started
assignee:
---
**Linked User Story:** [[US0013 Edit the scenes in the game]]
**Linked User Story:** [[US0013 The GM can edit the list of scenes in a game]]
## Description
Describe the task, implementation details.
After completing [[T0032 Be able to edit the details of a scene in the scene edit page]] and [[T0029 Show a list of scenes in the game edit page]], the scene list view should include a button that creates a new scene.
Clicking the button takes the user to the scene edit view with some basic data filled in, but the scene is not created until a name is assigned.
## Definition of Done
- DoD 1

View File

@@ -6,14 +6,21 @@ status: Not Started
assignee:
---
**Linked User Story:** [[US0013 Edit the scenes in the game]]
**Linked User Story:** [[US0013 The GM can edit the list of scenes in a game]]
## Description
Describe the task, implementation details.
Once [[T0030 Show all of the details of a scene in the scene edit page]] is complete, the details need to be editable.
The name of the scene and the description for the scene should be put into editable text fields.
The image list needs to be divided into two sections, with the top section being the images associated with this scene, and the bottom section being the remaining images in the game. The user should be able to drag an image into the favorites section, or they should be able to click on a button on or next to the image to make it a favorite for the scene.
The image delete button should not be present in this view.
## Definition of Done
- DoD 1
- DoD 2
- The name of the scene is in a Text Entry widget. Defocusing the widget saves the scene name.
- The description of the scene is in a Text Entry widget. Defocusing the widget saves the description.
- The user can favorite and unfavorite an image.
## Notes
- code paths, files to touch, tests to add

View File

@@ -0,0 +1,21 @@
---
id: T0042
type: task
story: US0020
status: Not Started
assignee:
---
**Linked User Story:** [[US0020 The Game Edit page needs to divide resources into multiple views]]
## Description
Using the new SelectionButton widget, create a selector bar containing only the Players and the Characters. The Players button will be selected by default.
Do this task simultaneously with [[T0043 Associate the list of Players with the Player view of the edit screen]] and [[T0044 Associate the list of Characters with the Character view of the edit screen]] to ensure that current functionality does not break for the user.
## Definition of Done
- DoD 1
- DoD 2
## Notes
- code paths, files to touch, tests to add

View File

@@ -0,0 +1,19 @@
---
id: T0043
type: task
story: US0020
status: Not Started
assignee:
---
**Linked User Story:** [[US0020 The Game Edit page needs to divide resources into multiple views]]
## Description
Once the SelectionButton widget has been add to the game edit view as in [[T0042 Set up a selector bar with Players and Characters at the top of the edit screen]], show the Player list only when the Players option is selected.
## Definition of Done
- DoD 1
- DoD 2
## Notes
- code paths, files to touch, tests to add

View File

@@ -0,0 +1,19 @@
---
id: T0044
type: task
story: US0020
status: Not Started
assignee:
---
**Linked User Story:** [[US0020 The Game Edit page needs to divide resources into multiple views]]
## Description
Once the SelectionButton widget has been added to the game edit view as in [[T0042 Set up a selector bar with Players and Characters at the top of the edit screen]], show the list of Characters only when the Character option is selected.
## Definition of Done
- DoD 1
- DoD 2
## Notes
- code paths, files to touch, tests to add

View File

@@ -0,0 +1,25 @@
---
id: T0045
type: task
story: US0013
status: Not Started
assignee:
---
**Linked User Story:** [[US0013 The GM can edit the list of scenes in a game]]
## Description
Create a view which shows all of the images associated with the current game. At the top of the view, there should be a field in which the user can paste a URL to an image to add to the game.
Images must be hosted somewhere else, as only their URLs will be stored.
All images will be rendered in a scrolling view. Over each image will be a button to grab the permalink to the image and another button to remove the image.
## Definition of Done
- All images in the game are shown
- Every image has the permalink and delete buttons
- Images are restricted to a thumbnail size
- The GM can add a new image to the list
## Notes
- code paths, files to touch, tests to add

View File

@@ -18,7 +18,7 @@ status: Not Started
- [[T000-task-example]] <!-- use Obsidian wikilinks -->
## Planning
- [[US0016-planning]] <!-- link to planning doc (see planning template) -->
- [[US0000]] <!-- link to planning doc (see planning template) -->
## Manual Tests (links)
- [[M000-login-success]]

View File

@@ -12,5 +12,5 @@
- Progress clocks
- GM can create a scene
- GM can add backdrops to a scene
- [[US0004 The GM can see the images for the current scene]]
- [[US0013 Edit the scenes in the game]]
- [[US0004 The GM can select the current scene that the game is in]]
- [[US0013 The GM can edit the list of scenes in a game]]