Skip to content

Web new#2

Merged
LQ458 merged 64 commits into
mainfrom
web_new
Aug 22, 2025
Merged

Web new#2
LQ458 merged 64 commits into
mainfrom
web_new

Conversation

@LQ458
Copy link
Copy Markdown
Owner

@LQ458 LQ458 commented Aug 22, 2025

No description provided.

LQ458 and others added 30 commits June 20, 2025 00:34
- 将 CTA Section 第二个按钮从半透明白色改为不透明白色背景,蓝色文字
- 保持暗色主题下的原有样式(白色文字)
- 为按钮添加阴影和边框以增强可见性
- 确保在亮色和暗色主题下都有良好的对比度
Implemented a function to handle and validate user input in the main application module. This improves input reliability and prepares the codebase for future enhancements.
… rendering

Co-authored-by: lqn458 <lqn458@gmail.com>
…and styling

- Updated streaming-markdown component with specialized math processing for exercises
- Enhanced exercise-specific formatting with colored answer/analysis sections
- Added proper LaTeX math symbol handling and display formatting
- Updated exercise generator to use same card styling as lesson plan generator
- Implemented green hover text for exercise navigation tab
- Added comprehensive CSS styling for exercise elements (answers, analysis, options)
- Fixed linting issues by commenting unused variables
- Enhanced markdown components with exercise-specific rendering logic

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Removed HTML injection approach that was causing raw div tags to display
- Enhanced content detection for answer/analysis sections using React components
- Added comprehensive duplicate content cleaning for math expressions
- Fixed React import and TypeScript typing issues
- Improved LaTeX math rendering with better symbol cleanup
- Added helper function to extract text content from React elements
- Restored proper markdown-based styling approach

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Disabled save and export buttons during content generation (isGenerating state)
- Added comprehensive content validation to prevent raw YAML/markdown display
- Enhanced streaming content filtering with length and format checks
- Updated loading indicators with exercise-specific messaging and green theme
- Added strict validation in both streaming and final content processing
- Improved user experience with proper loading states and disabled interactions
- Ensured only clean, formatted content is displayed to users

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Changed ul styling from 'list-disc' to 'list-none'
- Removed left margin (ml-6 to ml-0) for cleaner appearance
- Exercise content now displays without distracting bullet points
- Maintains proper spacing and typography hierarchy

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
…rror handling

- Added comprehensive field validation before save/export operations
- Enhanced error handling with detailed error messages from server responses
- Fixed potential missing field issues (difficulty, requirements, etc.)
- Added fallback values for optional fields to prevent server validation errors
- Improved user feedback with specific error messages for debugging
- Ensured all required fields are validated before API calls

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Added detailed console logging for content processing stages
- Relaxed validation thresholds from 50 to 20 characters for debugging
- Added fallback to display raw content if all validation fails
- Enhanced debugging for frontmatter parsing and content cleaning
- Will help identify where content processing is failing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@LQ458 LQ458 merged commit 006e884 into main Aug 22, 2025
1 check passed
@gitguardian
Copy link
Copy Markdown

gitguardian Bot commented Aug 22, 2025

⚠️ GitGuardian has uncovered 3 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
19778216 Triggered Generic High Entropy Secret 96b7c70 http_chroma_injector.py View secret
19647714 Triggered Generic Password 3304eb6 web/src/app/debug-auth-live/page.tsx View secret
19543275 Triggered Generic High Entropy Secret 4f0116e .env.docker View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@LQ458 LQ458 deleted the web_new branch August 22, 2025 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants