Version/Commit
74a2fc1
Steps To Reproduce
- Navigate to https://crowd-up00.vercel.app/create (or click the "Create Post" button on home page)
- Observe the page loading
- The browser automatically redirects to https://crowd-up00.vercel.app/ (home page)
Expected Behavior
The create post page should load successfully, displaying the post creation form with all fields:
- Post type selection (Bug Report, Feature Request, Complaint)
- Company/App field with search functionality
- Title field (max 150 characters)
- Description field (max 2000 characters) with markdown support
- Priority selector (Low, Medium, High, Critical)
- Publish and Cancel buttons
Actual Behavior
The page redirects to home immediately after loading, regardless of authentication status. The user is authenticated on the home page and can see other authenticated features (profile menu, etc.), but cannot access the create post page. The redirect happens before the form can be displayed.
Screenshots
No response
Browser
Chromium Browser
Additional Context
Related Information
Issue not present in: commit b1e02db
Current branch: main
Files affected:
- src/app/create/page.tsx
- src/lib/services/auth.service.ts (getCurrentUserId function)
Related to: The "Create Post" button on the home page is also unusable due to this redirect issue.
Severity: CRITICAL - Blocks core functionality of creating posts on the platform
Version/Commit
74a2fc1
Steps To Reproduce
Expected Behavior
The create post page should load successfully, displaying the post creation form with all fields:
Actual Behavior
The page redirects to home immediately after loading, regardless of authentication status. The user is authenticated on the home page and can see other authenticated features (profile menu, etc.), but cannot access the create post page. The redirect happens before the form can be displayed.
Screenshots
No response
Browser
Chromium Browser
Additional Context
Related Information
Issue not present in: commit b1e02db
Current branch: main
Files affected:
Related to: The "Create Post" button on the home page is also unusable due to this redirect issue.
Severity: CRITICAL - Blocks core functionality of creating posts on the platform