Todo App
Troubleshooting
Troubleshooting
This guide covers common issues users encounter when using the Todo App and provides solutions.
Common Issues
Issue: "Authentication Required" Message
Symptoms:
- Cannot access todo list
- Prompted to sign in repeatedly
- "Authentication Required" appears on all pages
Cause: You are not signed in, or your session has expired.
Solution:
Sign in to FlowState:
Click the "Sign In" button displayed on the pageComplete authentication using your email or phone number
Check browser settings - ensure cookies are enabled:
- Authentication tokens are stored in cookies/localStorage
- Private/incognito mode may prevent persistent login
Clear browser cache if sign-in keeps failing:
Settings > Privacy > Clear browsing data > Cookies and site data
Issue: Todo List Not Loading
Symptoms:
- Empty todo list when you have todos
- Loading spinner that never completes
- "No todos found" message unexpectedly
Cause: Database connection issues or sync problems.
Solution:
Refresh the page:
- Press
Ctrl+R(Windows/Linux) orCmd+R(Mac)
- Press
Check your network connection:
- The app works offline, but initial sync requires connectivity
Verify RxDB database in browser DevTools:
- Open DevTools (
F12or right-click > Inspect) - Go to Application > IndexedDB
- Look for the
todoscollection
- Open DevTools (
Clear IndexedDB and re-sync:
Application > IndexedDB > Delete database > Refresh pageNote: This will require data to sync again from the server.
Issue: Cannot Create New Todo
Symptoms:
- Save button doesn't work
- Form submission fails
- Todo not appearing in list after save
Cause: Validation errors, authentication issues, or database write failure.
Solution:
Check required fields:
- Title is required
- Ensure the title is not empty
Verify authentication:
- Ensure you're signed in
- Check the header for your email/phone
Check browser console for errors:
Open DevTools > Console tab > Look for red error messagesTry refreshing and re-creating:
- Refresh the page
- Navigate to New Todo again
- Re-enter the information
Issue: Todo Not Marking as Complete
Symptoms:
- Clicking complete doesn't change status
- Status reverts after toggling
- Completion state not persisting
Cause: Database update failing or optimistic update rollback.
Solution:
Wait for sync to complete:
- Give the app a moment to persist the change
- Check if the status updates after a few seconds
Refresh and try again:
- Refresh the page
- Navigate to the todo detail
- Toggle completion again
Check for network issues:
- If offline, changes may queue until online
- Verify network connectivity
Verify in IndexedDB:
- Open DevTools > Application > IndexedDB
- Find your todo record
- Check the
completedfield value
Issue: Due Dates Not Displaying Correctly
Symptoms:
- Due dates show wrong date
- Date format looks incorrect
- Timezone issues with due dates
Cause: Date formatting or timezone handling issues.
Solution:
Check your system timezone:
- Dates are stored in ISO format (UTC)
- Display converts to your local timezone
Verify the date you entered:
- When creating a todo, ensure you selected the correct date
- The date picker should show your local date
Clear and re-enter the due date:
- Edit the todo
- Clear the due date field
- Re-select the desired date
Issue: App Displays Incorrectly or Unstyled
Symptoms:
- Missing styles or broken layout
- Buttons or navigation not visible
- White/blank page with text only
Cause: CSS not loading or browser compatibility issues.
Solution:
Hard refresh the page:
- Press
Ctrl+Shift+R(Windows/Linux) orCmd+Shift+R(Mac)
- Press
Clear browser cache:
Settings > Privacy > Clear browsing data > Cached images and filesTry a different browser:
- Use a modern browser (Chrome, Firefox, Safari, Edge)
- Ensure browser is up to date
Disable browser extensions:
- Ad blockers or privacy extensions may interfere
- Try incognito/private mode without extensions
Issue: Sidebar Navigation Not Working
Symptoms:
- Clicking sidebar links does nothing
- Navigation stays on same page
- URL doesn't change
Cause: Router configuration or JavaScript error.
Solution:
Check for JavaScript errors:
- Open DevTools > Console
- Look for red error messages
Refresh the application:
- Hard refresh with
Ctrl+Shift+RorCmd+Shift+R
- Hard refresh with
Use direct URL navigation:
- Type the URL directly in the address bar:
/todo/listfor all todos/todo/newfor new todo
- Type the URL directly in the address bar:
Clear all site data and reload:
- DevTools > Application > Clear site data
Issue: App Won't Start in Standalone Mode (Development)
Symptoms:
yarn devfails to start- Port already in use
- Module not found errors
Cause: Port conflict, missing dependencies, or configuration issues.
Solution:
Check port availability (default: 3211):
# Check if port is in use lsof -i :3211 # Kill the process if needed kill -9 <PID>Reinstall dependencies:
# From monorepo root yarn installBuild dependencies first:
yarn nx build @epicdm/flowstate-app-frameworkCheck for TypeScript errors:
yarn typecheck
Debugging Tips
Check Authentication State
Verify your authentication status:
- Look at the header - your email/phone should be displayed
- If you see "Sign In" prompt on pages, you're not authenticated
- Check localStorage for auth tokens (DevTools > Application > Local Storage)
Inspect Database State
View the local RxDB database:
- Open DevTools (
F12) - Go to Application > IndexedDB
- Expand the FlowState database
- Look for the
todoscollection - Verify your todos exist and have correct data
View Network Requests
If sync issues occur:
- Open DevTools > Network tab
- Filter by
Fetch/XHR - Look for failed requests (red status)
- Check request/response details for errors
Check Console Logs
The app logs useful debugging information:
- Open DevTools > Console
- Look for
[Todo]prefixed messages - Error messages appear in red
- Warning messages appear in yellow
Browser Storage
The app uses browser storage for:
| Storage Type | Purpose |
|---|---|
| IndexedDB | RxDB todo data |
| localStorage | Authentication tokens |
| sessionStorage | Temporary app state |
Getting Help
If you can't resolve your issue:
- Review the Features & Capabilities documentation
- Check the FAQ for common questions
- Search existing issues in the monorepo
- Contact support with:
- Description of the issue
- Steps to reproduce
- Browser and version
- Screenshots if applicable
- Console error messages