Repository navigation
Conversation
…/webitel.atlassian.net/browse/WTEL-11037) installDebugRecorder({ app: 'admin' }) as the first import in main.ts, wipe on logout in the header. Dev: the module is served as source so its worker loads on Vite 7. Needs a ui-sdk release with webitel/webitel-ui-sdk#2105. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 of 4 tasks
… SDK [WTEL-11037](https://webitel.atlassian.net/browse/WTEL-11037) Settings → General gets a "Debug recording" section (useDebugRecorder from @webitel/ui-sdk): switching it on records for 24 h in every webitel app of the site and starts right away here; the archive can be downloaded from there. The manual wipe in the header is gone: the Userinfo store now runs the recorder's logout hook itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s://webitel.atlassian.net/browse/WTEL-11037) es, kz, pl, ro, uz, vi next to en/uk/ru. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…037](https://webitel.atlassian.net/browse/WTEL-11037) With the REC chip built on SDK components, excluding the module makes Vite re-optimize deps after the page started and breaks lazy routes in dev. On Vite 7 dev the recorder now writes from the main thread (no freeze detection); production is unaffected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Description
Connects the client-side debug recorder (
@webitel/ui-sdk/modules/DebugRecorder, webitel/webitel-ui-sdk#2105) to the Admin app and adds the switch for it in settings.src/app/debug-recorder.tscallsinstallDebugRecorder({ app: 'admin', version }). It is the first import inmain.ts, so it wrapsWebSocket/fetch/consolebefore anything else loads.settings-general-debug-recorder.vue, built onuseDebugRecorder()):optimizeDeps: with the chip built on SDK components it breaks lazy routes in dev.?debug=1still works in any app, for when settings are unreachable (white screen, broken sign-in).Merge order
@webitel/ui-sdkrelease.npm i @webitel/ui-sdk@<that version>and commit the lockfile. Until then CI installs a release without the module and the build fails.Verification
Done locally, with the SDK branch linked into
node_modules(--install-linksstyle):Browser checks, with Admin and Workspace served on one origin, as in production:
webitel-debug-*.zip, with page loads per app and clean transitions;Not verified: the real logout. Testing it would sign the tester out of the test stand. The hook is covered by SDK unit tests.
Related
🤖 Generated with Claude Code