Site-editable system cards + per-character card additions #3

Open
opened 2026-10-19 23:00:51 +00:00 by rhelwig · 0 comments
Owner

Feature request (issue only, no code yet).

1. Site-editable system cards

System creators should be able to build and edit their system's cards on the site. That means creating new feature, spell and item cards, not just overriding existing ones. Start from the existing system_card_overrides table and the /systems/<key>/cards/edit page.

2. Per-character card additions

Individual characters should be able to add to or refine a card on their own sheet while still inheriting the system text. Example: Selene Silverpelt's Cleric Spellcasting card should show her silver crescent holy symbol. That way imports don't need to bake personal text into the whole card. Today this only works by hand-editing sheet.cards and source.originalXml in the character JSON (done for Selene on 2026-10-19).

3. Show when the Cards tab preview is truncated

The Cards tab preview shows only the first 5 non-empty lines, cuts them off at 500 characters (server.ts, lines ~880–886), and .play-card-preview clips the height at 7.4rem with a fade. The full text only shows in the click-open dialog, so a long override (for example Emerald Goblet) looks cut off. Make the preview clearly show there's more, for example with an ellipsis or a "more" link.

Feature request (issue only, no code yet). ## 1. Site-editable system cards System creators should be able to build and edit their system's cards on the site. That means creating new feature, spell and item cards, not just overriding existing ones. Start from the existing `system_card_overrides` table and the `/systems/<key>/cards/edit` page. ## 2. Per-character card additions Individual characters should be able to add to or refine a card on their own sheet while still inheriting the system text. Example: Selene Silverpelt's Cleric Spellcasting card should show her silver crescent holy symbol. That way imports don't need to bake personal text into the whole card. Today this only works by hand-editing `sheet.cards` and `source.originalXml` in the character JSON (done for Selene on 2026-10-19). ## 3. Show when the Cards tab preview is truncated The Cards tab preview shows only the first 5 non-empty lines, cuts them off at 500 characters (`server.ts`, lines ~880–886), and `.play-card-preview` clips the height at 7.4rem with a fade. The full text only shows in the click-open dialog, so a long override (for example Emerald Goblet) looks cut off. Make the preview clearly show there's more, for example with an ellipsis or a "more" link.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ronhelwig.com/rpg-campaign-platform#3
No description provided.