feat: update package.json to remove lint-staged, add eslint configuration and dependencies

feat: add state management for recording in RecordeReplayPage component

refactor: remove bridge and storage services as they are no longer needed

chore: update tsconfig.json for improved type checking and module resolution

fix: update downloadHtml function to use eventWithTime type and improve formatting

fix: add error logging in formatWithZone function for better debugging
This commit is contained in:
雨霖铃
2026-01-31 18:00:01 +08:00
parent 88a612f9cf
commit 4213e70697
18 changed files with 3437 additions and 135 deletions
+4 -2
View File
@@ -1,5 +1,4 @@
import { useRef, useState, useCallback } from 'react';
import { record } from 'rrweb';
export const useRecorder = () => {
// 存储停止录制函数
@@ -14,7 +13,10 @@ export const useRecorder = () => {
setIsRecording(true);
console.log('[content] rrweb started');
} catch (error) {}
} catch (error) {
console.error('Failed to start recording:', error);
setIsRecording(false);
}
}, [isRecording]);
const stopRecord = () => {