Skip to content

feat: Apply user's preferred dashboard from Preferences tab#1507

Open
srush-shah wants to merge 1143 commits into
devfrom
test
Open

feat: Apply user's preferred dashboard from Preferences tab#1507
srush-shah wants to merge 1143 commits into
devfrom
test

Conversation

@srush-shah
Copy link
Copy Markdown

No description provided.

DeekshitSrihari18 and others added 30 commits April 10, 2026 22:13
Tooltip for Organization Size in Organization Details Tab in profile Page
fix(login): add auth validation, loading state, and error message mapping
…ame-search

Add volunteer name search UI in request details
…translations

## Summary
Fixed the comments search functionality to properly handle cases when no comments match the search query. Added `NO_COMMENTS_FOUND` translation key across all 12 supported languages to display a user-friendly message when search returns no results.

## Changes Made
- **Fixed search bar behavior** for empty comment states
- **Added `NO_COMMENTS_FOUND` translation key** to all locale files:
  - English (en), Spanish (es), French (fr), German (de)
  - Portuguese (pt), Russian (ru), Arabic (ar)
  - Hindi (hi), Bengali (bn), Telugu (te)
  - Urdu (ur), Chinese (zh)
- **Added comprehensive test coverage** for CommentsSection component (12 test cases)

## New Translation Key
| Key | Value (English) | Description |
|-----|----------------|-------------|
| `NO_COMMENTS_FOUND` | "No comments found" | Message displayed when search returns no comments |

## Test Coverage
- ✅ Empty comment states
- ✅ Search filtering by name and message content
- ✅ Clear search functionality
- ✅ Sorting (newest/oldest)
- ✅ Pagination and rows per page
- ✅ Comment submission and character counting

## Testing
- Verified search bar displays "No comments found" message when query matches no results
- Confirmed translation renders correctly in all 12 languages
- All 12 test cases passing with ~85% component coverage
- Implement Change Volunteer dialog following delete dialog pattern
- Add form validation requiring reason input
- Redirect to dashboard after submission until API is ready
Implement a Change Volunteer dialog for the Request Details page that allows beneficiaries to specify the reason for wanting to change the lead volunteer. The dialog follows the existing UI patterns and includes comprehensive testing coverage.
…zation

- Remove duplicate variable declarations in RequestDescription.jsx
- Update test mock to include new translation keys for Change Volunteer dialog
- Fix test assertions to use proper translated text
Rashmi0193 and others added 30 commits May 21, 2026 15:39
…al-fields

Fix: Restore additional fields on create request page
…removal

Remove Tejaswi Vadapalli from executive team
Populating Volunteers tab in steward dashboard
…earch-dropdown

#1486: revert search dropdown to name-only and add translations
…earch-dropdown

#1486: replace find-by-name button with search-by dropdown on volunte…
…le-volunteers-tab

fix: remove bin icon and match delete button style to details tab in …
…paginated list fields so description and category restore on edit
…-integration

fix: pre-fill edit form from help-requests reqDesc and reqCatId.
…-integration

test: increase patch coverage to 90%
…line chart

- Update getBeneficiariesTrendAnalysis to accept and forward the correct POST payload (beneficiaries and help_requests date ranges)
- Replace composed bar/line chart with a line chart supporting daily, weekly, and monthly granularity
- Add date range pickers for both beneficiaries and help requests periods
- Fetch is triggered only on Apply; cancels in-flight requests on re-fetch
…eld names

- Map Daily/Weekly/Monthly toggle to "7 days", "1 month", "1 year" API keys
- Normalize capitalized Date/Count fields from API response
- Aggregate daily "1 month" data into weekly buckets for weekly view
- Extract country data from "Country beneficiaries" key with Title Case formatting
- Remove date pickers since API pre-computes the three time windows server-side
…ry name casing

- Add analyticsServices.test.js covering getBeneficiariesTrendAnalysis POST call and error propagation
- Add BeneficiariesAnalytics.test.jsx covering loading state, API call, granularity toggle, error fallback, and country chart rendering
- Fix formatCountryName to lowercase before title-casing so AFGHANISTAN → Afghanistan
…eneficiaries-analysis-api

Integrate beneficiaries analysis api
Custom date inputs now auto-trigger a re-fetch when both start and end
dates are filled, matching the RequestsAnalytics pattern. Also adds All
and Custom time range options, switches layout to grid side-by-side, and
updates tests to reach 100% line/function coverage.
…eneficiaries-analysis-api

feat: add custom and all filters for benefeciaries analysis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.