Remove unused persona marketplace and discover page files.
CI / check (22) (push) Failing after 16m32s
CI / check (24) (push) Failing after 15m50s

This commit is contained in:
2026-10-07 23:41:27 +02:00
parent 10ec76d437
commit 5ca611c113
34 changed files with 368 additions and 1216 deletions
+3 -12
View File
@@ -17,9 +17,7 @@ export function createMessageRenderer({
renderDrawerSummary,
updateChatActionState,
updateComposerPlaceholder,
createNewChat,
openRoleplayStarter,
openPersonaForm
createNewChat
}) {
const jumpToLatest = document.getElementById("jumpToLatest");
@@ -301,13 +299,7 @@ export function createMessageRenderer({
description.textContent = "Choose a starting point.";
actions.append(
createStarterAction("New chat", "primary-action", () => { void createNewChat(); }),
createStarterAction("Roleplay", "secondary-action", () => {
if (state.assistantPersonas.length) {
openRoleplayStarter();
return;
}
openPersonaForm(null, "assistant");
}),
createStarterAction("Browse Personalities", "secondary-action", () => { location.assign("/app/personas"); }),
createMessageStarterPrompt("Try a prompt", "Help me plan my day in 3 steps.")
);
} else if (chat.assistant_persona_id) {
@@ -315,8 +307,7 @@ export function createMessageRenderer({
description.textContent = "Send a line or pick a prompt.";
actions.append(
createMessageStarterPrompt("Add tension", "Open with a tense line that raises the stakes immediately."),
createMessageStarterPrompt("Set the scene", "Describe what your character notices first in this scene."),
createStarterAction("Change setup", "secondary-action", () => openRoleplayStarter())
createMessageStarterPrompt("Set the scene", "Describe what your character notices first in this scene.")
);
} else {
title.textContent = "What can I help with?";