Remove Scenes, group beats by multiple characters; strip comments repo-wide
Drop the Scene entity/grouping in favor of chapters carrying prose directly and beats belonging to many characters. Add markdown editor + character multi-select components to the web client. Remove all XML doc and inline comments across the touched C#/TS/CSS files in favor of self-documenting names, and record that convention in CLAUDE.md. Add .mcp.json (local MCP server config, no secrets) and ignore .idea/.
This commit is contained in:
@@ -64,8 +64,6 @@ public class CharacterArcTests : ServiceTestFixture
|
||||
[Test]
|
||||
public async Task Within_a_group_the_lead_comes_before_the_second_lead()
|
||||
{
|
||||
// Both enums are stored as text, so ordering them in SQL orders the spelling and
|
||||
// "Deuteragonist" beats "Protagonist" — burying the character the book is about.
|
||||
await Characters.CreateAsync(_projectId, new CreateCharacterRequest(
|
||||
"Mara", CharacterRole.Deuteragonist, CharacterImportance.Main));
|
||||
await Characters.CreateAsync(_projectId, new CreateCharacterRequest(
|
||||
@@ -162,7 +160,6 @@ public class CharacterArcTests : ServiceTestFixture
|
||||
|
||||
await Chapters.DeleteAsync(chapter.Id);
|
||||
|
||||
// How a character changes outlives a decision about where the chapter break falls.
|
||||
var survivor = (await Arcs.GetAsync(stage.Id))!;
|
||||
|
||||
Assert.Multiple(() =>
|
||||
@@ -195,9 +192,9 @@ public class CharacterArcTests : ServiceTestFixture
|
||||
var first = await Chapters.CreateAsync(_projectId, new CreateChapterRequest("First", Number: 1));
|
||||
var mara = await Characters.CreateAsync(_projectId, new CreateCharacterRequest("Mara"));
|
||||
|
||||
await Beats.CreateAsync(second.Id, new CreateBeatRequest("She boards anyway", CharacterId: _characterId));
|
||||
await Beats.CreateAsync(first.Id, new CreateBeatRequest("She finds the map", CharacterId: _characterId));
|
||||
await Beats.CreateAsync(first.Id, new CreateBeatRequest("Mara lies", CharacterId: mara.Id));
|
||||
await Beats.CreateAsync(second.Id, new CreateBeatRequest("She boards anyway", CharacterIds: [_characterId]));
|
||||
await Beats.CreateAsync(first.Id, new CreateBeatRequest("She finds the map", CharacterIds: [_characterId]));
|
||||
await Beats.CreateAsync(first.Id, new CreateBeatRequest("Mara lies", CharacterIds: [mara.Id]));
|
||||
await Beats.CreateAsync(first.Id, new CreateBeatRequest("Nobody's beat"));
|
||||
|
||||
var beats = (await Beats.ListForCharacterAsync(_characterId))!;
|
||||
|
||||
Reference in New Issue
Block a user