mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3519] [MERGED] Add tracker custom fields #5975
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5975
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3519
Author: @kaldigo
Created: 7/12/2026
Status: ✅ Merged
Merged: 7/12/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/tracker-custom-fields📝 Commits (4)
23a2368Add tracker custom fields05a46daMerge branch 'staging' into codex/tracker-custom-fieldse80a16eHarden tracker custom fields and align UIa748ee4Address tracker custom field review feedback📊 Changes
28 files changed (+1060 additions, -62 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
docs/roleplay/hud-and-trackers.md(+18 -10)📝
packages/client/src/components/chat/RoleplayHUD.tsx(+16 -1)📝
packages/client/src/components/chat/RoleplayHUDPanels.tsx(+64 -0)📝
packages/client/src/features/tracker-panel/components/TrackerSectionList.tsx(+2 -0)📝
packages/client/src/features/tracker-panel/components/character-card/CharacterTrackerCard.tsx(+62 -8)📝
packages/client/src/features/tracker-panel/components/character-card/FeaturedCharacterTrackerCard.tsx(+60 -7)📝
packages/client/src/features/tracker-panel/components/controls/InlineControls.tsx(+6 -1)📝
packages/client/src/features/tracker-panel/components/sections/WorldStatePanel.tsx(+190 -4)➕
packages/client/src/features/tracker-panel/lib/character-custom-field-names.ts(+20 -0)➕
packages/client/src/features/tracker-panel/lib/world-custom-field-icons.tsx(+162 -0)📝
packages/client/src/hooks/use-game-state-patcher.ts(+2 -0)📝
packages/server/src/db/migrate.ts(+6 -0)📝
packages/server/src/db/schema/game-state.ts(+2 -0)📝
packages/server/src/routes/chats.routes.ts(+13 -2)📝
packages/server/src/routes/game.routes.ts(+7 -3)📝
packages/server/src/routes/generate.routes.ts(+15 -4)📝
packages/server/src/routes/generate/generate-route-utils.ts(+9 -0)📝
packages/server/src/routes/generate/retry-agents-route.ts(+3 -0)📝
packages/server/src/services/generation/committed-tracker-context.ts(+54 -5)...and 8 more files
📄 Description
Linked issue
Closes #3518
This PR implements the custom-field portion of the request. Hiding built-in character fields is not included in this patch.
Why this change
Tracker customization is uneven: present characters can carry custom fields in state, but the tracker UI did not fully support adding or removing them, and world state had no matching custom-field support.
This adds first-class custom fields to the built-in tracker surfaces so extra world and character data lives where users expect it, without forcing them into a separate generic tracker panel.
What changed
worldCustomFieldsto game-state storage, migration, API patching, branching, checkpoints, generation context, and Roleplay HUD rendering.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Contributor verification:
Maintainer review validation:
pnpm checkpnpm testpnpm regression:promptgit diff --checkThe in-app browser was unavailable during the maintainer pass, so no new interactive screenshot is claimed.
Docs and release impact
This PR updates
CHANGELOG.mdanddocs/roleplay/hud-and-trackers.md. It does not change release metadata.UI evidence (if applicable)
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.