You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Prevent periodic refresh from overwriting search results
This commit fixes several critical issues with the search functionality:
1. Periodic Refresh Conflict: Modified App.vue loadNotes() to skip
refresh when search is active, preventing the 30-second refresh
timer from overwriting active search results.
2. Search State Synchronization: Restored updateSearchText commit in
NotesView.vue to keep client-side and server-side filters in sync.
3. Null Safety: Added comprehensive null checks to all getters in
notes.js to prevent errors when clearing search or during
progressive loading transitions.
4. Search Clear Behavior: Removed unnecessary clearSyncCache() call
and added proper display count reset when reverting from search
to normal pagination mode.
Files modified:
- src/App.vue: Skip periodic refresh during active search
- src/components/NotesView.vue: Restore search state sync
- src/store/notes.js: Add null safety to all note getters
- lib/Controller/Helper.php: Server-side search implementation
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments