merging 'stable' to 'main'#29
Merged
Merged
Conversation
Up dated UI
…er to tooltip; clean up unused imports in Header component
- Removed the Header component and replaced it with PageHeader for better structure. - Introduced ReduxPersistProvider to manage Redux state persistence. - Updated SignInForm to dispatch user details to Redux store upon successful login. - Refactored EditorHeaderComponent to utilize Redux for output management. - Consolidated header buttons into a single header-buttons file for better organization. - Removed unused FormikForm and theme-related components. - Added userSlice and editorSlice for managing user and editor state in Redux. - Implemented auto-save functionality for the editor using Redux. - Updated layout structure to improve component hierarchy and maintainability.
…piry and owner-restricted management Includes: - Snapshot-based share model (no live editor access) - Unique share ID generation - Optional expiration time - Share count limiting - Owner-only visibility for share metadata - Prevents unauthorized viewing of updated code
… username and mobile number to AuthModel
…ser feedback - Added SignInForm component with email/username and password fields, integrated with Redux for user state management. - Implemented SignUpForm component with multi-step registration process, including username and email availability checks. - Introduced validation tooltips for password and username fields to guide user input. - Created helper functions for password and username validation rules. - Integrated Zod for schema validation in forms. - Enhanced user experience with loading states and success/error messages using Sonner for notifications.
…er feedback; add terms and privacy policy pages
# Code Sharing System – Snapshot + Live Share
## 1. Snapshot Share (Static Snapshot Mode)
- Captures a **frozen snapshot** of the current editor state.
- Stores a new document in the **ShareModel** collection.
- Snapshot contains:
- `code`
- `lang`
- `output`
- `ownerId`
- `sharedByUserId`
- Optional metadata such as:
- `shareLimit`
- `expiresAt`
- Generates a unique **sharedId** (12-char hash) for secure, read-only access.
- The snapshot **never updates** even if the owner continues modifying their code.
- Useful for safe sharing, one-time reviews, or sending a fixed version.
## 2. Live Share (Real-time Updated Mode)
- Uses the existing **editorId** to generate a share URL.
- No snapshot document is created.
- Anyone opening this link always receives the **latest version** of the code.
- Ideal for real-time collaboration or always-updated viewing.
## Add Redis-based Auth Validation (Username/Email Availability + Secure Signup Flow) - Implemented Redis integration to speed up auth checks and prevent duplicate accounts. - Added username and email availability endpoints, Redis-first validation, and MongoDB fallback for consistency. - Updated signup flow to hash passwords, enforce unique fields, and store lookup keys in Redis for fast future checks. This speeds up validation during signup, reduces DB load, and improves overall UX.
…for first, middle, and last names; update related components and validation
feat(auth): enhance user model and registration process; add support for first, middle, and last names; update related components and validation
…in in the editor after language switching. Now FIXED.
Component : Editor Status: FIXED Issues were: - Old code keeps showing even after switching to a different language. - Editor doesn't update code when the language changes. - Previous language's code stays visible after switching languages. - Language switch works, but the editor still shows old code.
pushing `dev` to `stable`
Owner
Author
|
#29 PERFECT |
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.
No description provided.