mirror of
https://github.com/monoscope-tech/monoscope.git
synced 2026-11-16 10:18:01 +00:00
* Add virtual parent placeholders for orphaned spans in tree view Remove automatic child span fetching and instead create virtual parent nodes when child spans are loaded before their parents. This shows a 'Parent span pending' indicator with a dashed border in tree view. * Replace browser preload with early JS fetch for log explorer Browser preload used Accept: */* which returned HTML-wrapped JSON. Early fetch uses Accept: application/json and stores promise on window for the web component to await, eliminating duplicate request. * Refactor: simplify code in log explorer components - Use pattern match in toHtml for LogsGetJson to avoid repeating parameters - Simplify worker timeout callback using && short-circuit - Add tooltip with full parent ID on virtual parent spans - Use nullish coalescing for cleaner startNs fallback - Simplify orphan span grouping with spread operator * Fix Monaco editor test mocks for jsdom environment Add missing document.queryCommandSupported and document.execCommand mocks for Monaco clipboard support, and add addEventListener/removeEventListener to Worker mock.
133 lines
3.6 KiB
133 lines
3.6 KiB