Skip to content

Chore/ux improvement bug fixes - #360

Merged
edenbar23 merged 25 commits into
mainfrom
chore/ux-improvement-bug-fixes
Aug 11, 2026
Merged

Chore/ux improvement bug fixes#360
edenbar23 merged 25 commits into
mainfrom
chore/ux-improvement-bug-fixes

Conversation

@SagiEv

@SagiEv SagiEv commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Pull Request: UX Improvements & Bug Fixes

Overview

This pull request introduces a batch of crucial UX/UI enhancements, resolves calculation bugs in the analytics system, and optimizes backend caching mechanisms for task management endpoints. These changes collectively improve both the user experience for researchers and the performance of the backend services.

Key Changes

🎨 UX & UI Improvements

  • Enhanced CSV Download UX: Revamped the CSV export workflow. Implemented a non-blocking background download process in the frontend featuring a new animated global toast notification (GlobalDownloadToast). Additionally, updated the exported CSV format to be more lightweight and traceable.
  • Transition Effects: Updated UI transition effects for smoother screen navigation and interactions.

🐛 Bug Fixes

  • Analytics & Task Accuracy: Fixed the logic for calculating task accuracy and the distinct completed images count. Repaired the consensus threshold evaluation logic to ensure the Completed count accurately reflects only the images that have genuinely reached the required consensus.
  • Import Resolution: Fixed a broken import path that was causing production build failures within the newly integrated UI components.

⚡ Performance & Caching

  • Backend Caching for Tasks: Improved the backend caching strategy for task endpoints (using Caffeine cache) to significantly reduce database load during high-traffic operations.
  • Cache Invalidation Workflow: Enhanced cache invalidation synchronization for the researcher TasksManagementScreen. Task state mutations (such as pausing or archiving a task) now correctly invalidate the cache tree, ensuring the UI reflects the real-time status instantly without requiring a manual page refresh.

🔒 Security & Access Control

  • Role Visibility Filtering: Added contextual filtering to the user retrieval service to ensure Superadmin users are hidden from the researchers' view (e.g., in the co-manager selection lists), preserving identity confidentiality and enforcing strict role boundaries.

🧪 Testing & Reliability

  • CI Stability: Updated existing backend unit tests and fixed a failing frontend E2E play-through test to reflect the updated analytics counting logic and ensure a green continuous integration build.

@SagiEv SagiEv linked an issue Aug 10, 2026 that may be closed by this pull request
@SagiEv SagiEv self-assigned this Aug 10, 2026
@SagiEv SagiEv added bug Something isn't working enhancement New feature or request chore setup, cleanup, configs, folder structure, refactors labels Aug 10, 2026
@SagiEv
SagiEv marked this pull request as ready for review August 10, 2026 21:12
@edenbar23
edenbar23 merged commit 0adc06d into main Aug 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working chore setup, cleanup, configs, folder structure, refactors enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UX improvement & Bug Fixes

2 participants