Repository navigation
feat: Xdebug Trace card and trace page - #337
Merged
Merged
Conversation
📸 Storybook ScreenshotsScreenshots for 24 changed components in this PR. Entities/XdebugTrace/PreviewCardRequest Cut Command Shared/IconSvgDefault All Icons Widgets/EventCardMapperDefault Monolog Sentry Smtp Var Dump Profiler Inspector Http Dump Sms Sms With Warnings Events List Events List Virtual Widgets/EventsPageMapperDefault Monolog Sentry Smtp Var Dump Profiler Inspector Http Dump Auto-generated from Storybook stories of changed |
…running load; no old query after a failed search
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.






















Adds the
xdebug-traceevent type (server PR buggregator/server#410): a card in the events list and a trace page.What you see
/tree?parent=), «Show more calls» vianext(parent=P&from=next), args and return value behind an «args» toggle, file:line opens in the IDE (path mapping respected), calls still running at the cut marked «no exit». Loading and error rows with Retry at every level./search?q=on submit, results list with «More results»; picking a result opens the tree down to it using the hit'spath, pages through the caller's callees if needed, highlights the row, scrolls it into view and focuses it./summaryis used only when it is missing.xdebug-tracein its modules). No digit shortcut: keys 1–9 are taken.Code
src/entities/xdebug-trace/:useTraceTree(per-parent levels, expand, more, retry, reveal),useTraceSearch(paging, stale answers dropped),useXdebugTraceRequests,normalizeXdebugTraceEvent(accepts the list preview and the stored payload of the event page), formatting helpers; UI:PreviewCard(+ story),XdebugTracePage,TraceTree,TraceSearch,TraceSummary. Registered inPAGES_SETTINGS, events store, card/page mappers, sidebar order; newtraceicon.Checked
eslint srcandvue-tsc --build --forceclean.aria-expanded), «more», search → reveal with focus, args toggle, summary tables, cut note and «no exit» marks, no horizontal page scroll, console clean.