refactor(characters): drive shared UI from active character

This commit is contained in:
2026-07-17 19:33:59 +08:00
parent 8bb1e21886
commit 7bd5defa5e
42 changed files with 335 additions and 118 deletions
@@ -145,7 +145,10 @@ describe("character actor route providers", () => {
function renderChat(characterId: string): void {
act(() => {
root.render(
<ChatRouteProviders characterId={characterId}>
<ChatRouteProviders
characterId={characterId}
emptyChatGreeting={`Hello from ${characterId}`}
>
<span>chat</span>
</ChatRouteProviders>,
);