Commit Graph

124 Commits

Author SHA1 Message Date
780fd9dd35 删除无用内容 2025-08-13 22:28:47 +08:00
d7c34d54bd 修改文件监控逻辑以及UI 2025-08-13 22:04:18 +08:00
2faf07827d 修改文件监控逻辑 2025-08-13 21:25:41 +08:00
3b04f0d9b9 删除无用问号 2025-08-13 21:05:09 +08:00
bb23a3a21b 修复剪贴板错误 2025-08-13 20:37:01 +08:00
997423d7e9 修复打包后文件展示问题 2025-08-13 14:42:22 +08:00
2e18805c47 删除无用 2025-08-13 11:21:05 +08:00
bb148f4106 重构项目详情页面 2025-08-13 00:38:54 +08:00
4943e48254 重构项目详情页面 2025-08-13 00:23:37 +08:00
ef0c895f1e 修复文件编辑bug 2025-08-12 22:56:01 +08:00
b1cd9f9098 优化页面布局 2025-08-10 21:44:48 +08:00
4fa9f93f46 修复时区展示 2025-08-10 17:00:59 +08:00
24c06dd4a8 修复UI展示 2025-08-10 17:00:49 +08:00
68baf5f1e9 调整页面比例 2025-08-10 07:54:30 +08:00
6d87b7cecc 调整页面比例 2025-08-10 07:48:20 +08:00
002433512b 优化数据加载 2025-08-10 06:50:38 +08:00
8b83790813 美化UI 2025-08-10 06:18:25 +08:00
e5e7399f90 增加请求次数 2025-08-10 04:43:19 +08:00
d8995bfe36 修改计算规则以及数据库 2025-08-10 02:46:52 +08:00
dcd6b42a66 完善UI 2025-08-10 01:46:10 +08:00
dbda05e688 git页面修复 2025-08-09 23:10:29 +08:00
272ea62bee 文件管理器以及文件编辑器 2025-08-09 18:31:17 +08:00
3bf68960a1 git状态以及文化管理器优化 2025-08-09 18:01:59 +08:00
1f13548039 增加文件管理器,增加文件编辑 2025-08-09 13:44:52 +08:00
5e532ad83f 增加文件管理器 2025-08-09 13:22:54 +08:00
c5b72a9879 优化页面,国际化细节内容 2025-08-09 04:42:10 +08:00
f682dd7a5b 优化页面,国际化细节内容 2025-08-09 04:18:12 +08:00
f5e326bde7 增加测速 2025-08-08 21:03:01 +08:00
123740bcaf 修改网站地址 2025-08-08 13:26:19 +08:00
8f633d97d4 增加额度查询 2025-08-08 13:19:06 +08:00
5016c1d9d6 修改计算规则 2025-08-08 12:27:56 +08:00
e903e6a3d1 修改错误 2025-08-08 00:44:23 +08:00
ef2e30401e 美化页面 2025-08-08 00:21:10 +08:00
ca56cc83f0 增加配置转换 2025-08-07 23:46:55 +08:00
5910362683 美化 2025-08-07 12:28:47 +08:00
6798be3b42 汉化 2025-08-06 15:39:05 +08:00
351a79d54c 汉化 2025-08-06 11:32:29 +08:00
Kiran Johns
404db59f2c make tab ui more kawaii 2025-08-02 00:33:18 +05:30
Kiran Johns
92599b373d fix tab manager ux issues 2025-08-02 00:33:18 +05:30
Vivek R
9c253baec8 feat(analytics): configure analytics initialization and app integration
- Initialize analytics service on app startup in main.tsx
- Integrate analytics consent management in App.tsx
- Track app lifecycle events (start, screen changes)
- Update Tauri configuration for production build
- Set up proper analytics shutdown on app close
- Ensure analytics is initialized before other services

This completes the analytics integration setup with proper
initialization and lifecycle management.
2025-07-31 14:22:58 +05:30
Vivek R
db1efc2831 feat(analytics): integrate analytics across remaining UI components
- Add slash command tracking:
  - Track command selection with method (click/keyboard/autocomplete)
  - Monitor command execution with parameters and timing
  - Record custom command creation events
- Enhance agent execution tracking:
  - Track agent lifecycle (start, progress, completion)
  - Monitor agent errors with retry context
  - Record execution duration and success metrics
- Add tab management analytics:
  - Track tab creation and closure events
  - Monitor active tab switches
- Implement timeline navigation tracking:
  - Track checkpoint navigation events
  - Monitor timeline interactions
- Update useAnalytics hook with comprehensive event helpers
- Export performance monitoring hooks from central index

This completes analytics integration across all major UI components
for full user interaction visibility.
2025-07-31 14:22:47 +05:30
Vivek R
f08764c6ea feat(analytics): add analytics tracking to MCP server components
- Track MCP server additions with configuration method (manual/preset/import)
- Monitor server connections and disconnections with success metrics
- Record server removal events with connection state
- Track MCP tool invocations with source attribution
- Monitor connection errors with retry attempts
- Add performance tracking for server operations

These metrics help understand MCP server usage patterns and
identify connection reliability issues.
2025-07-31 14:22:33 +05:30
Vivek R
5e4cbd415e feat(analytics): integrate comprehensive analytics tracking in ClaudeCodeSession
- Track prompt submissions with detailed metrics (length, complexity, attachments)
- Monitor session lifecycle (start, stop, duration, engagement)
- Record tool executions with performance and success metrics
- Track checkpoint creation and restoration events
- Implement enhanced session metrics including:
  - Time to first message
  - Average response time
  - Files created/modified/deleted count
  - Error frequency and recovery attempts
  - Token usage and code generation metrics
- Add session engagement scoring
- Monitor conversation abandonment patterns
- Track agent execution context when applicable

This provides deep insights into user interactions and session
quality for improving the AI coding experience.
2025-07-31 14:22:22 +05:30
Vivek R
79e228ce88 feat(analytics): add error boundary component for UI error tracking
- Create AnalyticsErrorBoundary component to catch and track UI errors
- Implement automatic error reporting to analytics on component failures
- Provide customizable fallback UI for error states
- Add withAnalyticsErrorBoundary HOC for easy component wrapping
- Include error recovery functionality with reset capability
- Track component stack information for debugging

This ensures all UI errors are captured and reported for better
application stability monitoring and debugging.
2025-07-31 14:22:06 +05:30
Vivek R
d06e1f3cc7 feat(analytics): add comprehensive performance monitoring utilities
- Add ResourceMonitor for tracking system resource usage (memory, CPU, network)
- Implement API request tracking with performance metrics and error monitoring
- Create usePerformanceMonitor hook for component-level performance tracking
- Add useAsyncPerformanceTracker for async operation monitoring
- Track memory warnings, performance bottlenecks, and network failures
- Support configurable thresholds for resource usage alerts
- Implement periodic sampling with intelligent reporting

These utilities enable proactive performance monitoring to identify
and address bottlenecks before they impact user experience.
2025-07-31 14:21:53 +05:30
Vivek R
ed695e50e6 feat(analytics): add core analytics infrastructure with PostHog integration
- Implement comprehensive analytics type system with 100+ event types
- Create event builders for consistent event tracking
- Add main analytics service with PostHog integration
- Include performance tracking utilities with percentile monitoring
- Support anonymous user tracking with session management
- Implement sanitization helpers to remove PII from events
- Add event queueing with automatic flush intervals
- Support for screen tracking and app context

BREAKING CHANGE: Analytics tracking is now integrated throughout the app
and requires PostHog API key configuration via environment variables.
2025-07-31 14:21:14 +05:30
Vivek R
f7e932ed79 feat: add analytics tracking to key components
- Track tab creation and closure events in TabManager
- Add session tracking (created, resumed, completed) in ClaudeCodeSession
- Track model selection changes in ClaudeCodeSession
- Monitor agent execution events (success/failure) in AgentExecution
- Include execution duration metrics for agents
- Use useTrackEvent hook for consistent event tracking
2025-07-30 19:45:00 +05:30
Vivek R
77e0ef0e73 feat: add analytics settings tab
- Add new Analytics tab to Settings component
- Implement analytics enable/disable toggle
- Show consent dialog when enabling analytics without prior consent
- Add delete all analytics data functionality
- Display privacy information and data collection details
- Track analytics settings changes with event tracking
2025-07-30 19:44:48 +05:30
Vivek R
fcb83fc6d0 feat: integrate analytics into main app
- Initialize analytics service on app startup
- Add PostHogProvider wrapper for React integration
- Include AnalyticsConsentBanner in App component
- Set up app lifecycle tracking with useAppLifecycle hook
- Configure PostHog with environment variables
2025-07-30 19:44:29 +05:30
Vivek R
ac7ac0e39e feat: add analytics consent UI components
- Create AnalyticsConsent modal dialog for initial consent
- Add AnalyticsConsentBanner for non-intrusive consent request
- Implement privacy-focused consent flow with clear data collection info
- Show what data is collected and privacy protections
- Support both controlled and uncontrolled component usage
- Add smooth animations with Framer Motion
- Include accept/decline handlers with analytics service integration
2025-07-30 19:44:17 +05:30