Task Management MVP with Real-Time Project Feed (Django + Jinja2 + JS)
Project Context
Hey guys! I built a full-stack project tracker MVP for internal teams. It features a project feed where team members can create tasks, mark them as complete, and view a live stream of updates. The backend is built using Django, utilizing standard templates rendered with Jinja2, paired with vanilla JS fetch requests to update task statuses asynchronously without full page reloads.
Feedback Requested
1. UX State Syncing: When a user checks a task as complete, the UI instantly strikes through the text via JS, while the backend request runs in the background. Is this optimistic UI approach safe, or should I show a loading spinner until the server sends a 200 OK? 2. Filter State Persistence: The project feed has filter tabs ('All', 'Pending', 'Completed'). Right now, if a user clicks a task and goes to the detail page, then hits back, the filter resets to 'All'. How should I best persist their active filter tab? 3. Session Expiry Handling: If a user’s authentication session expires while they are typing a long task description, the fetch request fails silently. What's the best way to catch that 401 error and save their text before redirecting to the login page?
Critique Feed Thread
No layout critiques added yet. Be the first to blueprint logic!