Skip to content

Main from Release 3.11.0 - #175

Open
snehar-nd wants to merge 2 commits into
mainfrom
release-3.11.0
Open

snehar-nd wants to merge 2 commits into
mainfrom
release-3.11.0

Conversation

@snehar-nd

Copy link
Copy Markdown
Contributor
  • feat(admin): add Update Village screen

New Configuration > Update Village page. Select a user to see their User ID, employee details and active work location mappings (user mapping ID, role, block, mapped villages), choose the village to replace, then pick the new one by State > District > Block > Village.

The save call targets villageMapping/updateVillage, which is not yet implemented in Admin-API.

  • fix(admin): harden the Update Village screen

Hide deactivated and Stop TB mappings, only auto-select a mapping that has villages, ignore responses for a user or location that is no longer selected, pre-fill the location once states load, warn when the new village is outside the mapping's facility, fall back to a generic error message, and show the beneficiary address counts returned by villageMapping/updateVillage.

  • feat(admin): add optional facility filter to Update Village
  • load facilities for the selected block; picking one narrows the village list to that facility's villages, "All villages in block" keeps the old list
  • preselect the mapping's facility when opening an existing mapping
  • ignore stale block/facility responses and fall back to block villages when the facility lookup fails
  • show a hint when a facility has no mapped villages
  • confirmation and result text now say how beneficiary addresses move (all addresses for single-village users, only the old village otherwise)
  • fix(admin): make Update Village screen responsive
  • Replace Bootstrap 3 col-xs-* classes with Bootstrap 5 col-12
  • Scroll the mappings table horizontally on narrow screens
  • Let village hints wrap instead of overflowing the field
  • Full-width Update button and smaller headings on phones
  • Pad the page bottom so the fixed footer no longer hides the Update button

📋 Description

JIRA ID:

Please provide a summary of the change and the motivation behind it. Include relevant context and details.


✅ Type of Change

  • ✨ New feature (non-breaking change which adds functionality)

ℹ️ Additional Information

Please describe how the changes were tested, and include any relevant screenshots, logs, or other information that provides additional context.

* feat(admin): add Update Village screen

New Configuration > Update Village page. Select a user to see their
User ID, employee details and active work location mappings (user
mapping ID, role, block, mapped villages), choose the village to
replace, then pick the new one by State > District > Block > Village.

The save call targets villageMapping/updateVillage, which is not yet
implemented in Admin-API.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(admin): harden the Update Village screen

Hide deactivated and Stop TB mappings, only auto-select a mapping that
has villages, ignore responses for a user or location that is no longer
selected, pre-fill the location once states load, warn when the new
village is outside the mapping's facility, fall back to a generic error
message, and show the beneficiary address counts returned by
villageMapping/updateVillage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(admin): add optional facility filter to Update Village

- load facilities for the selected block; picking one narrows the village
  list to that facility's villages, "All villages in block" keeps the old list
- preselect the mapping's facility when opening an existing mapping
- ignore stale block/facility responses and fall back to block villages
  when the facility lookup fails
- show a hint when a facility has no mapped villages
- confirmation and result text now say how beneficiary addresses move
  (all addresses for single-village users, only the old village otherwise)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(admin): make Update Village screen responsive

- Replace Bootstrap 3 col-xs-* classes with Bootstrap 5 col-12
- Scroll the mappings table horizontally on narrow screens
- Let village hints wrap instead of overflowing the field
- Full-width Update button and smaller headings on phones
- Pad the page bottom so the fixed footer no longer hides the Update button

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Sneha <sneha@ADMINs-MacBook-Pro.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 14d97913-0662-421f-950f-266ba2240a5e
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@snehar-nd snehar-nd changed the title Release 3.11.0 from 3.10.0 (#168) Main from Release 3.11.0 Oct 23, 2026
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.

1 participant