fix(frontend): restore Rendered JSON newline decoding in trace viewers#3905
Merged
bekossy merged 13 commits intorelease/v0.90.1from Mar 4, 2026
Merged
fix(frontend): restore Rendered JSON newline decoding in trace viewers#3905bekossy merged 13 commits intorelease/v0.90.1from
bekossy merged 13 commits intorelease/v0.90.1from
Conversation
…nDrillInView and AccordionTreePanel
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Railway Preview Environment
Updated at 2026-03-04T18:25:34.151Z |
Extract template variables from enhanced prompts (draft format) which use wrapped value structures. Used to derive input ports from locally-edited prompts that haven't been saved yet.
Synchronize input_keys in each enhanced prompt with the actual template variables found in its message content. Mutates prompts in place and preserves __id and __metadata when updating existing input_keys.
…quests Add revisionBatchFetcher, variantDetailBatchFetcher, and revisionsListBatchFetcher to deduplicate concurrent API requests within a short window. Uses createBatchFetcher pattern with caching for variant details. Update fetchOssRevisionEnriched and fetchRevisionsList to use batch fetchers.
…n prompt changes - Update enrichedQueryAtomFamily to use revisionBatchFetcher and variantDetailBatchFetcher - Update revisionsQueryAtomFamily to use revisionsListBatchFetcher - Add syncInputKeysInPrompts calls in setEnhancedPromptsAtom, mutateEnhancedPromptsAtom, and updatePropertyAtom - Update legacyAppRevisionInputPortsAtomFamily to prefer enhanced prompts over raw parameters
…oRequestBody - Remove input_keys from LEGACY_KEYS set in CommitVariantChangesModalContent - Stop preserving input_keys from original parameters in transformToRequestBody since input_keys are now dynamically synced from template variables
Refactor transformToRequestBody call to use intermediate variable for clarity.
…nsWithAppIdQueryAtomFamily
…mentRevisionsWithAppIdQueryAtomFamily Remove two debug console.log calls while keeping the data logging statement.
…c on mount Extract core URL-writing logic into writeUrlNow function that can be called both synchronously and via RAF. Add initial URL sync in playgroundSyncAtom.onMount to ensure URL reflects in-memory selection when navigating back to playground. Also add synchronous URL write after applying defaults to avoid RAF cancellation issues.
…on on TokenPlugin mount - Format early return in Editor.tsx with braces for consistency - Add $getRoot import to TokenPlugin - Force markDirty on existing TextNodes after transform registration to ensure hydrated content is processed by transforms in production builds where hydration may fire before plugin mount
…d skip input_keys in prompt extraction - Remove length check in transformToRequestBody to always set input_keys (even when empty) to overwrite stale values from server parameters - Update chatTurnIdsAtom guards to check Array.isArray and length > 0 instead of just truthiness - Skip input_keys in createEnhancedPrompt and createEnhancedPromptFromValue since it's dynamically computed from message content via syncInputKeysInPrompts
…un-issue [Frontend] Fix playground run issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes a regression in Rendered JSON mode where long text values showed escaped sequences (like \n) instead of readable line breaks
