85 updates to the Crimson Core website. See what is new, improved, and fixed.
CC | StevexFounder6 min read
What changed
New features
Updated artwork handling in Character components for consistent aspect ratio.
Added character lore and event management to DnD characters.
Introduced `lore` field to `DndCharacter` model for character background stories.
Created `DndCharacterEvent` model to manage character events with title and content.
Implemented API routes for creating, updating, and deleting character events.
Added functionality to fetch and display character lore and events in the UI.
Enhanced character summary generation to include lore and events.
Updated Prisma schema and migration files to reflect new database structure.
Enhanced PartyRoster and CharacterCard components with character details and artwork handling.
Updated PartyRoster to include character classes, armor class, hit points, and max hit points.
Introduced CharacterCard component for better character representation, including artwork and stats.
Added ClassIcon and ClassBadge components for displaying character classes with icons.
Implemented validation for PNG artwork uploads to ensure only valid images are accepted.
Enhanced character details parsing to support multiclass characters and combat stats.
Added tests for character handling, including artwork validation and character updates.
Enhanced DnD character model and related functionality.
Updated DndCharacter model to include new fields: classes (JSON), armorClass (Int), hitPoints (Int), maxHitPoints (Int), and hasPortrait (Boolean).
Modified className field to increase its length to 200 characters.
Added new utility functions for character art preparation and character class parsing.
Introduced session notes generation and editing components for better session management.
Updated DnD recording worker to reflect changes in error messages.
Created migration script to update the database schema for DndCharacter.
Added WikiLinks component and enhance WikiEntry and WikiStory with links functionality.
Introduced WikiLinks component for managing and displaying links between wiki entries.
Updated WikiEntry to conditionally render WikiLinks based on editing state.
Enhanced WikiStory to include links and tracked threads, ensuring they persist after regeneration.
Implemented new API routes for managing wiki links and threads.
Added tests to verify the functionality of wiki updates, ensuring links and threads are preserved during session recap generation.
Created new pages for displaying saved links and tracked threads in the DM wiki.
Added timeline section to Wiki with session tracking.
Introduced a new timeline page in the Wiki for tracking ended sessions.
Updated WikiNavigation to include a link to the new timeline section.
Enhanced WikiStory to support new timeline features and improved UI.
Added WikiThreads component for managing unresolved threads in sessions.
Implemented backend support for loading and updating Wiki data, including linking entries and managing thread statuses.
Created new Prisma model for storing Wiki data and added necessary migrations.
Updated tests to cover new Wiki functionalities and ensure data integrity.
Added test for Wiki edits to reject invalid status and prevent modification of non-NPC details.
Enhanced wiki entry and navigation functionality with improved query handling and search context retention.
Enhanced session recap structure and wiki entry management.
Updated SessionRecap interface to include optional characterName in characterEvents.
Modified parseSessionRecap function to handle new characterName property.
Added tests for session recap rendering and wiki entry functionality.
Implemented updateWikiEntry function to manage wiki entries for quests, NPCs, and players.
Created new WikiEntry and WikiNavigation components for better user interaction.
Developed WikiCards for displaying quests, players, and NPCs in a structured format.
Introduced wiki-server functions to filter and retrieve wiki sessions based on search criteria.
Added wiki-shared utilities for managing wiki entry types and statuses.
Enhanced session recap functionality with revision tracking and editing capabilities.
Updated session recap data structure to include revision information.
Modified queueSessionRecap function to validate content revisions before processing requests.
Implemented updateSessionRecap function to allow editing of session stories with revision checks.
Added new WikiCategoryPage and WikiStoryPage components for better navigation and display of session stories.
Introduced client-side editing features in WikiStory component, allowing DMs to modify session narratives.
Enhanced error handling and user feedback during story generation and editing processes.
Updated tests to cover new functionality and ensure proper serialization of session recap requests.
Updated session recap model to use Gemini 3.5 Flash-Lite.
Implemented session recap functionality with database integration.
Added RecordingClock and RecordingTimeline classes for managing audio recording timelines.
Create transcriptPage function to retrieve paginated transcript data from the database.
Define SessionRecap and SessionRecapData interfaces for structured session recap data.
Implemented parseSessionRecap function to validate and parse session recap data.
Develop buildRecapTranscript function to generate a structured transcript from audio chunks.
Introduce queueSessionRecap and runSessionRecap functions for managing recap generation requests.
Create database migration for dnd_recording_recaps table.
Added unit tests for session recap functionality and transcription timeline management.
Ensure proper error handling and validation throughout the recap generation process.
Enhanced D&D recording functionality with health check and improved Docker setup.
Added D&D recording functionality with database schema and transcription support.
Created database tables for recording management including `dnd_recorder_runtime`, `dnd_recordings`, `dnd_recording_speakers`, `dnd_speaker_assignments`, and `dnd_recording_chunks`.
Implemented a recording worker script (`dnd-recording-worker.ts`) to handle audio recording, chunk management, and user tracking in Discord voice channels.
Added a transcription script (`dnd-transcribe.py`) utilizing the Faster Whisper model for audio transcription.
Introduced a requirements file for Python dependencies (`dnd-recording-requirements.txt`).
Enhanced group and dashboard descriptions.
Improved UI text for clarity and engagement.
Enhanced dashboard statistics with previous period comparisons.
Improved UI text selection handling.
Enhanced message handling and composer behavior.
Improved user experience with draft management and input states.
Updated DashboardSidebar and ChannelFormModal for improved layout and responsiveness.
Enhanced EmojiPicker button size.
Fixes
Correct filename validation regex in GET route.
Ensure proper image handling feat(tests): enhance accessFixture function to accept campaign name.
Added test for percent sign handling refactor(access): remove unnecessary decoding of team name in getTeamApiAccess function.
Improved event handling for closing menu on user scroll and touch events.