Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved privacy policy from main app to digit component (#569) #570

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rachana-egov
Copy link
Collaborator




  • No delivery flow page (No delivery flow page #453)

  • HLM-6367:: Auto Create project beneficiary (HLM-6367:: Auto Create project beneficiary #454)

  • added translator for administration area

  • Fixed Facility search based on tenant ID

  • Added disable battery optimization permission for background service

  • Added disable battery optimization ask permission on App start and background service start

  • HLM-5984:: Get Precise location on Submitting latitude longitude details

  • Reverted install_bricks.sh

  • added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

  • added static status_filter.dart integration in search_beneficiary.dart

  • TODO for selected_filters display condition

  • integrated household search filters with mdms implemented search based on filters with pagination for Registered and NotRegistered

  • updated status filter component merge with develop

  • Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

  • Conflicts resolved


  • Hlm 6414 - MDMS StatusFilter, Filter search (Hlm 6414 - MDMS StatusFilter, Filter search #448)

  • added translator for administration area

  • Fixed Facility search based on tenant ID

  • Added disable battery optimization permission for background service

  • Added disable battery optimization ask permission on App start and background service start

  • HLM-5984:: Get Precise location on Submitting latitude longitude details

  • Reverted install_bricks.sh

  • added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

  • added static status_filter.dart integration in search_beneficiary.dart

  • TODO for selected_filters display condition

  • integrated household search filters with mdms implemented search based on filters with pagination for Registered and NotRegistered

  • updated status filter component merge with develop

  • create individual_global_search and implemented search

  • Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

  • Conflicts resolved

  • implemented household_global_search.dart fixed individual_global_search.dart

  • updated proximity search for household_global_search.dart

  • Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (HLM-6367 : : Pop State recapture during registration flow, Disable delivery flow for SMC Campaign for empty PB #456)


  • HCMPRE-98 Filter search pagination, Removed private PageState (HCMPRE-98 Filter search pagination, Removed private PageState #457)

  • added translator for administration area

  • Fixed Facility search based on tenant ID

  • Added disable battery optimization permission for background service

  • Added disable battery optimization ask permission on App start and background service start

  • HLM-5984:: Get Precise location on Submitting latitude longitude details

  • Reverted install_bricks.sh

  • added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

  • added static status_filter.dart integration in search_beneficiary.dart

  • TODO for selected_filters display condition

  • integrated household search filters with mdms implemented search based on filters with pagination for Registered and NotRegistered

  • updated status filter component merge with develop

  • create individual_global_search and implemented search

  • Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

  • Conflicts resolved

  • implemented household_global_search.dart fixed individual_global_search.dart

  • updated proximity search for household_global_search.dart

  • Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (HLM-6367 : : Pop State recapture during registration flow, Disable delivery flow for SMC Campaign for empty PB #456)

  • updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

  • adding missed changes for last commit

  • displaying selected filter value for applied filters in search_beneficiary.dart

  • updated changelog for inventory and registration_delivery for new dev versions

  • updated pubspec lock of registration_delivery



  • HCMPRE-98 - Inventory TeamCode fixes, Filter search fixes (HCMPRE-98 - Inventory TeamCode fixes, Filter search fixes #460)

  • added translator for administration area

  • Fixed Facility search based on tenant ID

  • Added disable battery optimization permission for background service

  • Added disable battery optimization ask permission on App start and background service start

  • HLM-5984:: Get Precise location on Submitting latitude longitude details

  • Reverted install_bricks.sh

  • added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

  • added static status_filter.dart integration in search_beneficiary.dart

  • TODO for selected_filters display condition

  • integrated household search filters with mdms implemented search based on filters with pagination for Registered and NotRegistered

  • updated status filter component merge with develop

  • create individual_global_search and implemented search

  • Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

  • Conflicts resolved

  • implemented household_global_search.dart fixed individual_global_search.dart

  • updated proximity search for household_global_search.dart

  • Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (HLM-6367 : : Pop State recapture during registration flow, Disable delivery flow for SMC Campaign for empty PB #456)

  • updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

  • adding missed changes for last commit

  • displaying selected filter value for applied filters in search_beneficiary.dart

  • updated changelog for inventory and registration_delivery for new dev versions

  • updated pubspec lock of registration_delivery

  • removed multiple filter selection

modified filter search

  • fixed delivery team scanner issues in stock_details.dart

  • Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

added beneficiary type check in view_beneficiary_card.dart removed commented code in household_overview.dart

  • Added null check for beneficiaryTag in closed_household_summary.dart

  • Hcmpre 118 - Closed Household, Filter improvements, Bug fixes (Hcmpre 118 - Closed Household, Filter improvements, Bug fixes #467)

  • added translator for administration area

  • Fixed Facility search based on tenant ID

  • Added disable battery optimization permission for background service

  • Added disable battery optimization ask permission on App start and background service start

  • HLM-5984:: Get Precise location on Submitting latitude longitude details

  • Reverted install_bricks.sh

  • added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

  • added static status_filter.dart integration in search_beneficiary.dart

  • TODO for selected_filters display condition

  • integrated household search filters with mdms implemented search based on filters with pagination for Registered and NotRegistered

  • updated status filter component merge with develop

  • create individual_global_search and implemented search

  • Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

  • Conflicts resolved

  • implemented household_global_search.dart fixed individual_global_search.dart

  • updated proximity search for household_global_search.dart

  • Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (HLM-6367 : : Pop State recapture during registration flow, Disable delivery flow for SMC Campaign for empty PB #456)

  • updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

  • adding missed changes for last commit

  • displaying selected filter value for applied filters in search_beneficiary.dart

  • updated changelog for inventory and registration_delivery for new dev versions

  • updated pubspec lock of registration_delivery

  • removed multiple filter selection

modified filter search

  • fixed delivery team scanner issues in stock_details.dart

  • Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

added beneficiary type check in view_beneficiary_card.dart removed commented code in household_overview.dart


  • added closed household init file modified user_action.dart model and db corrected
    modified closed household status

  • updated registration for closed household

  • added closed_household search and updating closed household status

  • clearing search before navigating to registration flow

  • getting last tasks in household_overview.dart

  • HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disable Delete household if beneficiary not present (HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disabled Delete household if beneficiary not present #463)

  • Validation and gps fixes

  • fixed closed household count

clearing closedhould results for clear

tasks filter with last fix

mapped administered success in beneficiary_card.dart

moved getstatus to utils.dart

closed household distance fix
emitting scanner state loading

  • dev version bump-up for registration and scanner

  • version updates for packages


  • Hcmpre 155 - ClosedHousehold flow change (Hcmpre 155 - ClosedHousehold flow change #478)

  • added translator for administration area

  • Fixed Facility search based on tenant ID

  • Added disable battery optimization permission for background service

  • Added disable battery optimization ask permission on App start and background service start

  • HLM-5984:: Get Precise location on Submitting latitude longitude details

  • Reverted install_bricks.sh

  • added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

  • added static status_filter.dart integration in search_beneficiary.dart

  • TODO for selected_filters display condition

  • integrated household search filters with mdms implemented search based on filters with pagination for Registered and NotRegistered

  • updated status filter component merge with develop

  • create individual_global_search and implemented search

  • Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

  • Conflicts resolved

  • implemented household_global_search.dart fixed individual_global_search.dart

  • updated proximity search for household_global_search.dart

  • Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (HLM-6367 : : Pop State recapture during registration flow, Disable delivery flow for SMC Campaign for empty PB #456)

  • updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

  • adding missed changes for last commit

  • displaying selected filter value for applied filters in search_beneficiary.dart

  • updated changelog for inventory and registration_delivery for new dev versions

  • updated pubspec lock of registration_delivery

  • removed multiple filter selection

modified filter search

  • fixed delivery team scanner issues in stock_details.dart

  • Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

added beneficiary type check in view_beneficiary_card.dart removed commented code in household_overview.dart


  • added closed household init file modified user_action.dart model and db corrected
    modified closed household status

  • updated registration for closed household

  • added closed_household search and updating closed household status

  • clearing search before navigating to registration flow

  • getting last tasks in household_overview.dart

  • HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disable Delete household if beneficiary not present (HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disabled Delete household if beneficiary not present #463)

  • Validation and gps fixes

  • fixed closed household count

clearing closedhould results for clear

tasks filter with last fix

mapped administered success in beneficiary_card.dart

moved getstatus to utils.dart

closed household distance fix
emitting scanner state loading

  • dev version bump-up for registration and scanner

  • version updates for packages

  • View Household button added in delete individual success page, Search project beneficiary fix

  • added close button to close the filter and disabled the clear button … (added close button to close the filter and disabled the clear button … #475)

  • added close button to close the filter and disabled the clear button unless something is selected

  • added validation for closed household head name same as individual

  • updated the condition for validation of closehousehold head


deleted user_action from data_model package

Updating closed_household to not_delivered status after closed household registration

  • version updates of closed_household, digit_components, digit_data_model, registration_delivery

  • version upgrade for registration_delivery


  • Implement search pagination (Implement search pagination #476)

  • implemented pagination for search

  • added one more check to check if last response is equal to current response then also break the loop

  • removed changes from data repository and added pagination only project facility and facility




  • implemented count for filter search, added todo for combination search count

  • Fixed count

TODO: search with task status filter

  • Fixed search with task status filter

Removed delay in delivery_summary_page.dart

  • added code comments

  • HCMPRE-165 issues (HCMPRE-165 issues #484)

  • Implement search pagination (Implement search pagination #476)

  • implemented pagination for search

  • added one more check to check if last response is equal to current response then also break the loop

  • removed changes from data repository and added pagination only project facility and facility



  • Updated publock

  • Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

  • Resolved code comments





  • implemented count for filter search, added todo for combination search count

  • Fixed count

TODO: search with task status filter

  • Fixed search with task status filter

Removed delay in delivery_summary_page.dart

  • added code comments

  • HCMPRE-165 issues (HCMPRE-165 issues #484)

  • Implement search pagination (Implement search pagination #476)

  • implemented pagination for search

  • added one more check to check if last response is equal to current response then also break the loop

  • removed changes from data repository and added pagination only project facility and facility



  • Updated publock

  • Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

  • created new table for localization

TODO: separate packages localization delegates to individual package and move the localization model to data_model package for common usage

Delete localization related isar files once tested

  • init Boundary code wise localization.dart

  • create localization local repo

modified module separation from query to exclude and include specified module

  • modified module exclude in boundary page

  • modified localization call for boundary selection bug where first value is localized in dropdown

  • removed un-required localization bloc calls

  • updated index value to selected language on home

  • removed login cred



  • HCMPRE-177:: Metric and Table Charts Integration in Mobile dashboard and digit_dss package initial release (HCMPRE-177:: Metric and Table Charts Integration in Mobile dashboard and digit_dss package initial release #480)

  • added translator for administration area

  • Fixed Facility search based on tenant ID

  • Added disable battery optimization permission for background service

  • Added disable battery optimization ask permission on App start and background service start

  • HLM-5984:: Get Precise location on Submitting latitude longitude details

  • Reverted install_bricks.sh

  • added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

  • added static status_filter.dart integration in search_beneficiary.dart

  • TODO for selected_filters display condition

  • integrated household search filters with mdms implemented search based on filters with pagination for Registered and NotRegistered

  • updated status filter component merge with develop

  • create individual_global_search and implemented search

  • Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

  • Conflicts resolved

  • Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty

  • implemented household_global_search.dart fixed individual_global_search.dart

  • updated proximity search for household_global_search.dart

  • Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (HLM-6367 : : Pop State recapture during registration flow, Disable delivery flow for SMC Campaign for empty PB #456)

  • updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

  • adding missed changes for last commit

  • HCMPRE-55 Dashboard Static Screen added

  • displaying selected filter value for applied filters in search_beneficiary.dart

  • updated changelog for inventory and registration_delivery for new dev versions

  • updated pubspec lock of registration_delivery

  • removed multiple filter selection

modified filter search

  • fixed delivery team scanner issues in stock_details.dart

  • Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

added beneficiary type check in view_beneficiary_card.dart removed commented code in household_overview.dart


  • added closed household init file modified user_action.dart model and db corrected
    modified closed household status

  • updated registration for closed household

  • added closed_household search and updating closed household status

  • clearing search before navigating to registration flow

  • getting last tasks in household_overview.dart

  • HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disable Delete household if beneficiary not present (HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disabled Delete household if beneficiary not present #463)

  • Validation and gps fixes

  • fixed closed household count

clearing closedhould results for clear

tasks filter with last fix

mapped administered success in beneficiary_card.dart

moved getstatus to utils.dart

closed household distance fix
emitting scanner state loading

  • dev version bump-up for registration and scanner

  • version updates for packages

  • View Household button added in delete individual success page, Search project beneficiary fix

  • added close button to close the filter and disabled the clear button … (added close button to close the filter and disabled the clear button … #475)

  • added close button to close the filter and disabled the clear button unless something is selected

  • added validation for closed household head name same as individual

  • updated the condition for validation of closehousehold head


  • View Household button added in delete individual success page, Search project beneficiary fix (View Household button added in delete individual success page, Search project beneficiary fix #474)

  • Search beneficiary fix

  • Search beneficiary fix

  • Bloc dispose fix

  • Bloc dispose fix

  • Updated task based search for household

  • HCMPRE-177:: Metric Chart Integration and digit_dss package setup

  • HCMPRE-177:: Added Refresh Indicator for refreshing the dashboard

  • HCMPRE-177:: Table chart integration and Refresh logic update

  • Added code comments for digit_dss package

  • Added enums and constants

  • Resolved code comments and updated versions for packages

  • HCMPRE177:: Moved dashboard UI Config to MDMS

  • HCMPRE177:: Added dss_import script for digit_dss package

  • Resolved code comments

  • Updated dashboard Config

  • Added dashboard config search to try catch block

  • Resolved conflicts

  • published data_model and registration_delivery

  • Added Read me file and updated pubspec.yaml


  • HCMPRE-177:: Fetch and send attendees uuids of registers to dss filters (HCMPRE-177:: Fetch and send attendees uuids of registers to dss filters #491)

  • added translator for administration area

  • Fixed Facility search based on tenant ID

  • Added disable battery optimization permission for background service

  • Added disable battery optimization ask permission on App start and background service start

  • HLM-5984:: Get Precise location on Submitting latitude longitude details

  • Reverted install_bricks.sh

  • added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

  • added static status_filter.dart integration in search_beneficiary.dart

  • TODO for selected_filters display condition

  • integrated household search filters with mdms implemented search based on filters with pagination for Registered and NotRegistered

  • updated status filter component merge with develop

  • create individual_global_search and implemented search

  • Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

  • Conflicts resolved

  • Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty

  • implemented household_global_search.dart fixed individual_global_search.dart

  • updated proximity search for household_global_search.dart

  • Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (HLM-6367 : : Pop State recapture during registration flow, Disable delivery flow for SMC Campaign for empty PB #456)

  • updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

  • adding missed changes for last commit

  • HCMPRE-55 Dashboard Static Screen added

  • displaying selected filter value for applied filters in search_beneficiary.dart

  • updated changelog for inventory and registration_delivery for new dev versions

  • updated pubspec lock of registration_delivery

  • removed multiple filter selection

modified filter search

  • fixed delivery team scanner issues in stock_details.dart

  • Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

added beneficiary type check in view_beneficiary_card.dart removed commented code in household_overview.dart


  • added closed household init file modified user_action.dart model and db corrected
    modified closed household status

  • updated registration for closed household

  • added closed_household search and updating closed household status

  • clearing search before navigating to registration flow

  • getting last tasks in household_overview.dart

  • HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disable Delete household if beneficiary not present (HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disabled Delete household if beneficiary not present #463)

  • Validation and gps fixes

  • fixed closed household count

clearing closedhould results for clear

tasks filter with last fix

mapped administered success in beneficiary_card.dart

moved getstatus to utils.dart

closed household distance fix
emitting scanner state loading

  • dev version bump-up for registration and scanner

  • version updates for packages

  • View Household button added in delete individual success page, Search project beneficiary fix

  • added close button to close the filter and disabled the clear button … (added close button to close the filter and disabled the clear button … #475)

  • added close button to close the filter and disabled the clear button unless something is selected

  • added validation for closed household head name same as individual

  • updated the condition for validation of closehousehold head


  • View Household button added in delete individual success page, Search project beneficiary fix (View Household button added in delete individual success page, Search project beneficiary fix #474)

  • Search beneficiary fix

  • Search beneficiary fix

  • Bloc dispose fix

  • Bloc dispose fix

  • Updated task based search for household

  • HCMPRE-177:: Metric Chart Integration and digit_dss package setup

  • HCMPRE-177:: Added Refresh Indicator for refreshing the dashboard

  • HCMPRE-177:: Table chart integration and Refresh logic update

  • Added code comments for digit_dss package

  • Added enums and constants

  • Resolved code comments and updated versions for packages

  • HCMPRE177:: Moved dashboard UI Config to MDMS

  • HCMPRE177:: Added dss_import script for digit_dss package

  • Resolved code comments

  • Updated dashboard Config

  • Added dashboard config search to try catch block

  • Resolved conflicts

  • published data_model and registration_delivery

  • Added Read me file and updated pubspec.yaml

  • Fetch and send attendees uuids of registers to dss filters

  • Added dss filters




  • implemented count for filter search, added todo for combination search count

  • Fixed count

TODO: search with task status filter

  • Fixed search with task status filter

Removed delay in delivery_summary_page.dart

  • added code comments

  • HCMPRE-165 issues (HCMPRE-165 issues #484)

  • Implement search pagination (Implement search pagination #476)

  • implemented pagination for search

  • added one more check to check if last response is equal to current response then also break the loop

  • removed changes from data repository and added pagination only project facility and facility



  • Updated publock

  • Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

  • Resolved code comments

  • HCMPRE220:: Household overview state update on pushing to Registration Wrapper

  • update task state if task is already present

  • updated selection box to update on initial selection change and updated delivery comment code

  • remove changes from beneficiary

  • task update

  • HCMPRE-220:: SMC Not registered flow reload fix,and closed household Not delivered status fix

  • added loader for filter search

  • Added name of user to additional details in stock and delivery record

  • updated delivery intervention

  • check summary page condition for edit flow

  • fixed task update for delivery intervention

  • fixed household detail page


updated check for check-list check in household_overview.dart



  • implemented count for filter search, added todo for combination search count

  • Fixed count

TODO: search with task status filter

  • Fixed search with task status filter

Removed delay in delivery_summary_page.dart

  • added code comments

  • HCMPRE-165 issues (HCMPRE-165 issues #484)

  • Implement search pagination (Implement search pagination #476)

  • implemented pagination for search

  • added one more check to check if last response is equal to current response then also break the loop

  • removed changes from data repository and added pagination only project facility and facility



  • Updated publock

  • Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

  • created new table for localization

TODO: separate packages localization delegates to individual package and move the localization model to data_model package for common usage

Delete localization related isar files once tested

  • init Boundary code wise localization.dart

  • create localization local repo

modified module separation from query to exclude and include specified module

  • modified module exclude in boundary page

  • modified localization call for boundary selection bug where first value is localized in dropdown

  • removed un-required localization bloc calls

  • updated index value to selected language on home

  • Uploaded pre release for inventory-management and digit-dss

  • Updated delivery enums for Not delivered status

  • Updated status model in task to taskStatus

  • Updated registration delivery package

  • Reverted Task Model status key change

  • Update pubspec with latest version of packages

  • Summary page Type of resource locale key updated

  • Resolved comments

  • Resolved comments and unused variables

  • Resolved comments and unused variables

  • Updated version

  • Updated individual_global_search.dart for search

  • added data segration

  • check to enable edit delivery

  • added project filter

  • Registration delivery- Attendance management fixes (Registration delivery- Attendance management fixes #497)

  • Removed captured location dialog on attendance submit

  • Removed stpper if deliveries length is greater than 1

  • Updated digit_components and digit_data_model packages in attendance management

  • Updated digit_components and digit_data_model packages in attendance management

  • Localization loader and dialog localization fix (Localization loader and dialog localization fix #505)

  • added dialog till localization is not loaded

  • fixed localization not coming issue

  • added a util funtion to show language loading


  • updated search added project id in beneficiary search

removed commented code


updated attendance and registration_delivery package

updated changelog of registration, closed, digit_data_model, inventory, registration_delivery

--dry-run fixes


  • Added Privacy Policy (Added Privacy Policy #499)

  • added data privacy component

  • added privacy component

  • updated localization

  • updated the dialog to use localized value

  • updated privacy config inside mdms

  • updated privacy model

  • removed local privacy config now coming from mdms

  • Delete packages/digit_components/lib/widgets/atoms/privacy_component.dart

as component is part of main application

  • fixed github build issue

  • added a configuration to enable or disable this privacy policy component

  • fix the issue when privacy policy component is not there

  • fix the issue when privacy policy component is not there

  • fixed github comments





  • implemented count for filter search, added todo for combination search count

  • Fixed count

TODO: search with task status filter

  • Fixed search with task status filter

Removed delay in delivery_summary_page.dart

  • added code comments

  • HCMPRE-165 issues (HCMPRE-165 issues #484)

  • Implement search pagination (Implement search pagination #476)

  • implemented pagination for search

  • added one more check to check if last response is equal to current response then also break the loop

  • removed changes from data repository and added pagination only project facility and facility



  • Updated publock

  • Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

  • created new table for localization

TODO: separate packages localization delegates to individual package and move the localization model to data_model package for common usage

Delete localization related isar files once tested

  • init Boundary code wise localization.dart

  • create localization local repo

modified module separation from query to exclude and include specified module

  • modified module exclude in boundary page

  • modified localization call for boundary selection bug where first value is localized in dropdown

  • removed un-required localization bloc calls

  • updated index value to selected language on home

  • Uploaded pre release for inventory-management and digit-dss

  • Updated delivery enums for Not delivered status

  • Updated status model in task to taskStatus

  • Updated registration delivery package

  • Reverted Task Model status key change

  • Update pubspec with latest version of packages

  • Summary page Type of resource locale key updated

  • Resolved comments

  • Resolved comments and unused variables

  • Resolved comments and unused variables

  • Updated version

  • Updated individual_global_search.dart for search

  • added data segration

  • check to enable edit delivery

  • added project filter

  • Registration delivery- Attendance management fixes (Registration delivery- Attendance management fixes #497)

  • Removed captured location dialog on attendance submit

  • Removed stpper if deliveries length is greater than 1

  • Updated digit_components and digit_data_model packages in attendance management

  • Updated digit_components and digit_data_model packages in attendance management

  • Localization loader and dialog localization fix (Localization loader and dialog localization fix #505)

  • added dialog till localization is not loaded

  • fixed localization not coming issue

  • added a util funtion to show language loading


  • updated search added project id in beneficiary search

removed commented code


updated attendance and registration_delivery package

updated changelog of registration, closed, digit_data_model, inventory, registration_delivery

--dry-run fixes

  • Updated stable packages for scanner, attendance and dss (Updated stable packages for scanner, attendance and dss #528)

  • updated packages to latest version digit_components version update

  • added fallback ui dialog when localization call fails.

  • added localization code

  • merge from dev

  • fix for isar transaction lock issue

  • moved boundary localization path to constants. Updated dialog in language_selection.dart page

  • isar lock fix

  • updated data_model version for isar fix. updated a check in language_selection.dart for dialog




  • implemented count for filter search, added todo for combination search count

  • Fixed count

TODO: search with task status filter

  • Fixed search with task status filter

Removed delay in delivery_summary_page.dart

  • added code comments

  • HCMPRE-165 issues (HCMPRE-165 issues #484)

  • Implement search pagination (Implement search pagination #476)

  • implemented pagination for search

  • added one more check to check if last response is equal to current response then also break the loop

  • removed changes from data repository and added pagination only project facility and facility



  • Updated publock

  • Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

  • created new table for localization

TODO: separate packages localization delegates to individual package and move the localization model to data_model package for common usage

Delete localization related isar files once tested

  • init Boundary code wise localization.dart

  • create localization local repo

modified module separation from query to exclude and include specified module

  • modified module exclude in boundary page

  • modified localization call for boundary selection bug where first value is localized in dropdown

  • removed un-required localization bloc calls

  • updated index value to selected language on home

  • Uploaded pre release for inventory-management and digit-dss

  • Updated delivery enums for Not delivered status

  • Updated status model in task to taskStatus

  • Updated registration delivery package

  • Reverted Task Model status key change

  • Update pubspec with latest version of packages

  • Summary page Type of resource locale key updated

  • Resolved comments

  • Resolved comments and unused variables

  • Resolved comments and unused variables

  • Updated version

  • Updated individual_global_search.dart for search

  • added data segration

  • check to enable edit delivery

  • added project filter

  • Registration delivery- Attendance management fixes (Registration delivery- Attendance management fixes #497)

  • Removed captured location dialog on attendance submit

  • Removed stpper if deliveries length is greater than 1

  • Updated digit_components and digit_data_model packages in attendance management

  • Updated digit_components and digit_data_model packages in attendance management

  • Localization loader and dialog localization fix (Localization loader and dialog localization fix #505)

  • added dialog till localization is not loaded

  • fixed localization not coming issue

  • added a util funtion to show language loading


  • updated search added project id in beneficiary search

removed commented code


updated attendance and registration_delivery package

updated changelog of registration, closed, digit_data_model, inventory, registration_delivery

--dry-run fixes

* Updated the integer form picker and added a new text block component (#441)

* updated the integer picker and added a new text block component

* added a field to change the width of button

* modified text block component to conditionally render children

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* updated description for household location and details page (#443)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* replaced product variant dropdown to selection card (#445)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HLM-6283:: IRS- Household Details Fields added (#444)

* Updated checklist for a new type boolean (#446)

* updated checklist for a new type boolean

* added To Do to fix hard code options

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HLM-6282 and HLM-6283:: House Structure Details Page added (#447)

* HLM-6283:: IRS- Household Details Fields added

* HLM-6283:: House Structure Details Page

* integrated checklist inside the beneficiary flow and updated gender field to selection card (#450)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HLM-6371:: Beneficiary Registration Summary Page (#452)

* HLM-6283:: IRS- Household Details Fields added

* HLM-6283:: House Structure Details Page

* HLM-6371:: Beneficiary Registration Summary Page

* Updated registration_delivery script

* Added refused delivery page (#451)

* integrated checklist inside the beneficiary flow and updated gender field to selection card

* fetching refusal reasons

* added refused delivery page

* added refused delivery page

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen J <83631045+naveen-egov@users.noreply.github.com>

* No delivery flow page (#453)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HLM-6367:: Auto Create project beneficiary (#454)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

---------

Co-authored-by: Naveen Renati <naveen.renati@egovernments.org>

* Hlm 6414 - MDMS StatusFilter, Filter search (#448)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

---------

Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>

* HCMPRE-98 Filter search pagination, Removed private PageState (#457)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

* updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

* adding missed changes for last commit

* displaying selected filter value for applied filters in search_beneficiary.dart

* updated changelog for inventory and registration_delivery for new dev versions

* updated pubspec lock of registration_delivery

---------

Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>

* Created a new package for marking closed household (#459)

* Created a new package for marking closed household

* fixed build issues

* updated the name to userAction

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HCMPRE-98 - Inventory TeamCode fixes, Filter search fixes (#460)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

* updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

* adding missed changes for last commit

* displaying selected filter value for applied filters in search_beneficiary.dart

* updated changelog for inventory and registration_delivery for new dev versions

* updated pubspec lock of registration_delivery

* removed multiple filter selection

modified filter search

* fixed delivery team scanner issues in stock_details.dart

* Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

* HCMPRE-74, HCMPRE-82, HCMPRE-83:: Household Reload Fix, Validations for Household details added (#458)

* updated individual global search

added beneficiary type check in view_beneficiary_card.dart
removed commented code in household_overview.dart

* Added null check for beneficiaryTag in closed_household_summary.dart

---------

Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>

* Hcmpre 118 - Closed Household, Filter improvements, Bug fixes (#467)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

* updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

* adding missed changes for last commit

* displaying selected filter value for applied filters in search_beneficiary.dart

* updated changelog for inventory and registration_delivery for new dev versions

* updated pubspec lock of registration_delivery

* removed multiple filter selection

modified filter search

* fixed delivery team scanner issues in stock_details.dart

* Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

* HCMPRE-74, HCMPRE-82, HCMPRE-83:: Household Reload Fix, Validations for Household details added (#458)

* updated individual global search

added beneficiary type check in view_beneficiary_card.dart
removed commented code in household_overview.dart

* Added null check for beneficiaryTag in closed_household_summary.dart

* Exposed Registration delivery pages

* updated remote repository and some miner fixes (#461)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HCMPRE-82:: Validations and Bug Fixes

* small css fixes (#462)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* merge fix

* added closed household search

* status model fix

* Closed-household-registration (#464)

* closed-household-registration

* closed-household-registration

* updated pub file

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* added closed household init file
modified user_action.dart model and db corrected
modified closed household status

* updated registration for closed household

* added closed_household search and updating closed household status

* clearing search before navigating to registration flow

* getting last tasks in household_overview.dart

* HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disable Delete household if beneficiary not present (#463)

* Validation and gps fixes

* fixed closed household count

clearing closedhould results for clear

* pagination fix for closed household

* sync down for closed household, updated scan voucher button, and remove the tag when we navigate to a different page (#465)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* DeliverySummary Route added to main app

* seperated closedhousehold search
Bug fixes - HCMPRE-112, 110, 113

* updated all the points of this ticket HCMPRE-120 (#466)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Bug Fixes, dev version release of packages

* HCMPRE-119:: IRS Demo fixes (#468)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* updated closed button action to push closedhousehold

tasks filter with last fix

* updated validation for closed household name and fix error message size (#470)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Irs demo fix patch (#469)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* Edit Household if no project beneficiary fix

* reverted hiding of digit search bar when closed filter is applied

* status update based on last task status in household_overview.dart

mapped administered success in beneficiary_card.dart

moved getstatus to utils.dart

* fixed offset increasing twice

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes (#471)

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes

* Added date formats to constants

* fixed offset increasing twice

closed household distance fix
emitting scanner state loading

* dev version bump-up for registration and scanner

* version updates for packages

---------

Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Hcmpre 155 - ClosedHousehold flow change (#478)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

* updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

* adding missed changes for last commit

* displaying selected filter value for applied filters in search_beneficiary.dart

* updated changelog for inventory and registration_delivery for new dev versions

* updated pubspec lock of registration_delivery

* removed multiple filter selection

modified filter search

* fixed delivery team scanner issues in stock_details.dart

* Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

* HCMPRE-74, HCMPRE-82, HCMPRE-83:: Household Reload Fix, Validations for Household details added (#458)

* updated individual global search

added beneficiary type check in view_beneficiary_card.dart
removed commented code in household_overview.dart

* Added null check for beneficiaryTag in closed_household_summary.dart

* Exposed Registration delivery pages

* updated remote repository and some miner fixes (#461)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HCMPRE-82:: Validations and Bug Fixes

* small css fixes (#462)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* merge fix

* added closed household search

* status model fix

* Closed-household-registration (#464)

* closed-household-registration

* closed-household-registration

* updated pub file

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* added closed household init file
modified user_action.dart model and db corrected
modified closed household status

* updated registration for closed household

* added closed_household search and updating closed household status

* clearing search before navigating to registration flow

* getting last tasks in household_overview.dart

* HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disable Delete household if beneficiary not present (#463)

* Validation and gps fixes

* fixed closed household count

clearing closedhould results for clear

* pagination fix for closed household

* sync down for closed household, updated scan voucher button, and remove the tag when we navigate to a different page (#465)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* DeliverySummary Route added to main app

* seperated closedhousehold search
Bug fixes - HCMPRE-112, 110, 113

* updated all the points of this ticket HCMPRE-120 (#466)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Bug Fixes, dev version release of packages

* HCMPRE-119:: IRS Demo fixes (#468)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* updated closed button action to push closedhousehold

tasks filter with last fix

* updated validation for closed household name and fix error message size (#470)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Irs demo fix patch (#469)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* Edit Household if no project beneficiary fix

* reverted hiding of digit search bar when closed filter is applied

* status update based on last task status in household_overview.dart

mapped administered success in beneficiary_card.dart

moved getstatus to utils.dart

* fixed offset increasing twice

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes (#471)

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes

* Added date formats to constants

* fixed offset increasing twice

closed household distance fix
emitting scanner state loading

* dev version bump-up for registration and scanner

* version updates for packages

* View Household button added in delete individual success page, Search project beneficiary fix

* added close button to close the filter and disabled the clear button … (#475)

* added close button to close the filter and disabled the clear button unless something is selected

* added validation for closed household head name same as individual

* updated the condition for validation of closehousehold head

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* View Household button added in delete individual success page, Search project beneficiary fix (#474)

* Search beneficiary fix

* Search beneficiary fix

* Bloc dispose fix

* Bloc dispose fix

* Updated task based search for household

* Modified closed household package to use registration flow for creating a household and related data along with task as closed

deleted user_action from data_model package

Updating closed_household to not_delivered status after closed household registration

* version updates of closed_household, digit_components, digit_data_model, registration_delivery

* version upgrade for registration_delivery

---------

Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Hcmpre 164, 165 - Count implementation for filter search (#485)

* Update closed_household_details.dart (#482)

* Fixed pagination refresh issue (#481)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* implemented count for filter search, added todo for combination search count

* Fixed count

TODO: search with task status filter

* Fixed search with task status filter

Removed delay in delivery_summary_page.dart

* added code comments

* HCMPRE-165 issues (#484)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

* HCMPRE-162:: Reload issue fix for closed household and not registered

* HCMPRE-165: issues fixes

* updated reasons for refusals

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Updated publock

* Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

* Resolved code comments

---------

Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* fixed reports are not getting refreshed after updating facility (#486)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Delivery summary page Resources and quantity added (#473)

* Delivery summary page Resources and quantity added

* fix for offset increment twice

* Delivery summary page Resources and quantity added

---------

Co-authored-by: Naveen Renati <naveen.renati@egovernments.org>
Co-authored-by: Naveen J <83631045+naveen-egov@users.noreply.github.com>

* updated script for closed household (#489)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Hcmpre 166 - Moved Localization from ISAR To SQL (#488)

* Update closed_household_details.dart (#482)

* Fixed pagination refresh issue (#481)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* implemented count for filter search, added todo for combination search count

* Fixed count

TODO: search with task status filter

* Fixed search with task status filter

Removed delay in delivery_summary_page.dart

* added code comments

* HCMPRE-165 issues (#484)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

* HCMPRE-162:: Reload issue fix for closed household and not registered

* HCMPRE-165: issues fixes

* updated reasons for refusals

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Updated publock

* Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

* created new table for localization

TODO: separate packages localization delegates to individual package and move the localization model to data_model package for common usage

Delete localization related isar files once tested

* init Boundary code wise localization.dart

* create localization local repo

modified module separation from query to exclude and include specified module

* modified module exclude in boundary page

* modified localization call for boundary selection bug where first value is localized in dropdown

* removed un-required localization bloc calls

* updated index value to selected language on home

* removed login cred

---------

Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Removed null condition, fixed double is not a subtype of string issue and added null check for table (#490)

* HCMPRE-156 : type 'double' is not a subtype of type 'String'

* added check if the first table row is null

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen J <83631045+naveen-egov@users.noreply.github.com>

* HCMPRE-177:: Metric and Table Charts Integration in Mobile dashboard and digit_dss package initial release (#480)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

* updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

* adding missed changes for last commit

* HCMPRE-55 Dashboard Static Screen added

* displaying selected filter value for applied filters in search_beneficiary.dart

* updated changelog for inventory and registration_delivery for new dev versions

* updated pubspec lock of registration_delivery

* removed multiple filter selection

modified filter search

* fixed delivery team scanner issues in stock_details.dart

* Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

* HCMPRE-74, HCMPRE-82, HCMPRE-83:: Household Reload Fix, Validations for Household details added (#458)

* updated individual global search

added beneficiary type check in view_beneficiary_card.dart
removed commented code in household_overview.dart

* Added null check for beneficiaryTag in closed_household_summary.dart

* Exposed Registration delivery pages

* updated remote repository and some miner fixes (#461)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HCMPRE-82:: Validations and Bug Fixes

* small css fixes (#462)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* merge fix

* added closed household search

* status model fix

* Closed-household-registration (#464)

* closed-household-registration

* closed-household-registration

* updated pub file

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* added closed household init file
modified user_action.dart model and db corrected
modified closed household status

* updated registration for closed household

* added closed_household search and updating closed household status

* clearing search before navigating to registration flow

* getting last tasks in household_overview.dart

* HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disable Delete household if beneficiary not present (#463)

* Validation and gps fixes

* fixed closed household count

clearing closedhould results for clear

* pagination fix for closed household

* sync down for closed household, updated scan voucher button, and remove the tag when we navigate to a different page (#465)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* DeliverySummary Route added to main app

* seperated closedhousehold search
Bug fixes - HCMPRE-112, 110, 113

* updated all the points of this ticket HCMPRE-120 (#466)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Bug Fixes, dev version release of packages

* HCMPRE-119:: IRS Demo fixes (#468)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* updated closed button action to push closedhousehold

tasks filter with last fix

* updated validation for closed household name and fix error message size (#470)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Irs demo fix patch (#469)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* Edit Household if no project beneficiary fix

* reverted hiding of digit search bar when closed filter is applied

* status update based on last task status in household_overview.dart

mapped administered success in beneficiary_card.dart

moved getstatus to utils.dart

* fixed offset increasing twice

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes (#471)

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes

* Added date formats to constants

* fixed offset increasing twice

closed household distance fix
emitting scanner state loading

* dev version bump-up for registration and scanner

* version updates for packages

* View Household button added in delete individual success page, Search project beneficiary fix

* added close button to close the filter and disabled the clear button … (#475)

* added close button to close the filter and disabled the clear button unless something is selected

* added validation for closed household head name same as individual

* updated the condition for validation of closehousehold head

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* View Household button added in delete individual success page, Search project beneficiary fix (#474)

* Search beneficiary fix

* Search beneficiary fix

* Bloc dispose fix

* Bloc dispose fix

* Updated task based search for household

* HCMPRE-177:: Metric Chart Integration and digit_dss package setup

* HCMPRE-177:: Added Refresh Indicator for refreshing the dashboard

* HCMPRE-177:: Table chart integration and Refresh logic update

* Added code comments for digit_dss package

* Added enums and constants

* Resolved code comments and updated versions for packages

* HCMPRE177:: Moved dashboard UI Config to MDMS

* HCMPRE177:: Added dss_import script for digit_dss package

* Resolved code comments

* Updated dashboard Config

* Added dashboard config search to try catch block

* Resolved conflicts

* published data_model and registration_delivery

* Added Read me file and updated pubspec.yaml

---------

Co-authored-by: Naveen Renati <naveen.renati@egovernments.org>
Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* HCMPRE-177:: Fetch and send attendees uuids of registers to dss filters (#491)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

* updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

* adding missed changes for last commit

* HCMPRE-55 Dashboard Static Screen added

* displaying selected filter value for applied filters in search_beneficiary.dart

* updated changelog for inventory and registration_delivery for new dev versions

* updated pubspec lock of registration_delivery

* removed multiple filter selection

modified filter search

* fixed delivery team scanner issues in stock_details.dart

* Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

* HCMPRE-74, HCMPRE-82, HCMPRE-83:: Household Reload Fix, Validations for Household details added (#458)

* updated individual global search

added beneficiary type check in view_beneficiary_card.dart
removed commented code in household_overview.dart

* Added null check for beneficiaryTag in closed_household_summary.dart

* Exposed Registration delivery pages

* updated remote repository and some miner fixes (#461)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HCMPRE-82:: Validations and Bug Fixes

* small css fixes (#462)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* merge fix

* added closed household search

* status model fix

* Closed-household-registration (#464)

* closed-household-registration

* closed-household-registration

* updated pub file

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* added closed household init file
modified user_action.dart model and db corrected
modified closed household status

* updated registration for closed household

* added closed_household search and updating closed household status

* clearing search before navigating to registration flow

* getting last tasks in household_overview.dart

* HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disable Delete household if beneficiary not present (#463)

* Validation and gps fixes

* fixed closed household count

clearing closedhould results for clear

* pagination fix for closed household

* sync down for closed household, updated scan voucher button, and remove the tag when we navigate to a different page (#465)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* DeliverySummary Route added to main app

* seperated closedhousehold search
Bug fixes - HCMPRE-112, 110, 113

* updated all the points of this ticket HCMPRE-120 (#466)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Bug Fixes, dev version release of packages

* HCMPRE-119:: IRS Demo fixes (#468)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* updated closed button action to push closedhousehold

tasks filter with last fix

* updated validation for closed household name and fix error message size (#470)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Irs demo fix patch (#469)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* Edit Household if no project beneficiary fix

* reverted hiding of digit search bar when closed filter is applied

* status update based on last task status in household_overview.dart

mapped administered success in beneficiary_card.dart

moved getstatus to utils.dart

* fixed offset increasing twice

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes (#471)

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes

* Added date formats to constants

* fixed offset increasing twice

closed household distance fix
emitting scanner state loading

* dev version bump-up for registration and scanner

* version updates for packages

* View Household button added in delete individual success page, Search project beneficiary fix

* added close button to close the filter and disabled the clear button … (#475)

* added close button to close the filter and disabled the clear button unless something is selected

* added validation for closed household head name same as individual

* updated the condition for validation of closehousehold head

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* View Household button added in delete individual success page, Search project beneficiary fix (#474)

* Search beneficiary fix

* Search beneficiary fix

* Bloc dispose fix

* Bloc dispose fix

* Updated task based search for household

* HCMPRE-177:: Metric Chart Integration and digit_dss package setup

* HCMPRE-177:: Added Refresh Indicator for refreshing the dashboard

* HCMPRE-177:: Table chart integration and Refresh logic update

* Added code comments for digit_dss package

* Added enums and constants

* Resolved code comments and updated versions for packages

* HCMPRE177:: Moved dashboard UI Config to MDMS

* HCMPRE177:: Added dss_import script for digit_dss package

* Resolved code comments

* Updated dashboard Config

* Added dashboard config search to try catch block

* Resolved conflicts

* published data_model and registration_delivery

* Added Read me file and updated pubspec.yaml

* Fetch and send attendees uuids of registers to dss filters

* Added dss filters

---------

Co-authored-by: Naveen Renati <naveen.renati@egovernments.org>
Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* Task update rather than creating new, updated filter popup loading (#493)

* Update closed_household_details.dart (#482)

* Fixed pagination refresh issue (#481)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* implemented count for filter search, added todo for combination search count

* Fixed count

TODO: search with task status filter

* Fixed search with task status filter

Removed delay in delivery_summary_page.dart

* added code comments

* HCMPRE-165 issues (#484)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

* HCMPRE-162:: Reload issue fix for closed household and not registered

* HCMPRE-165: issues fixes

* updated reasons for refusals

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Updated publock

* Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

* Resolved code comments

* HCMPRE220:: Household overview state update on pushing to Registration Wrapper

* update task state if task is already present

* updated selection box to update on initial selection change and updated delivery comment code

* remove changes from beneficiary

* task update

* HCMPRE-220:: SMC Not registered flow reload fix,and closed household Not delivered status fix

* added loader for filter search

* Added name of user to additional details in stock and delivery record

* updated delivery intervention

* check summary page condition for edit flow

* fixed task update for delivery intervention

* fixed household detail page

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <naveen.renati@egovernments.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>

* updated status and registration_delivery_enums.dart (#494)

* updated status and registration_delivery_enums.dart

updated check for check-list check in household_overview.dart

* Todo for individual check in beneficiary_registration.dart

* Uploaded pre release for inventory-management and digit-dss (#495)

* removed the page count from filter, updated status filter pop up (#496)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* updated demo changes (#498)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* added lat and long inside additional field when user submit the checklist (#526)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HCMPRE-221 data segration (#501)

* Update closed_household_details.dart (#482)

* Fixed pagination refresh issue (#481)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* implemented count for filter search, added todo for combination search count

* Fixed count

TODO: search with task status filter

* Fixed search with task status filter

Removed delay in delivery_summary_page.dart

* added code comments

* HCMPRE-165 issues (#484)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

* HCMPRE-162:: Reload issue fix for closed household and not registered

* HCMPRE-165: issues fixes

* updated reasons for refusals

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Updated publock

* Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

* created new table for localization

TODO: separate packages localization delegates to individual package and move the localization model to data_model package for common usage

Delete localization related isar files once tested

* init Boundary code wise localization.dart

* create localization local repo

modified module separation from query to exclude and include specified module

* modified module exclude in boundary page

* modified localization call for boundary selection bug where first value is localized in dropdown

* removed un-required localization bloc calls

* updated index value to selected language on home

* Uploaded pre release for inventory-management and digit-dss

* Updated delivery enums for Not delivered status

* Updated status model in task to taskStatus

* Updated registration delivery package

* Reverted Task Model status key change

* Update pubspec with latest version of packages

* Summary page Type of resource locale key updated

* Resolved comments

* Resolved comments and unused variables

* Resolved comments and unused variables

* Updated version

* Updated individual_global_search.dart for search

* added data segration

* check to enable edit delivery

* added project filter

* Registration delivery- Attendance management fixes (#497)

* Removed captured location dialog on attendance submit

* Removed stpper if deliveries length is greater than 1

* Updated digit_components and digit_data_model packages in attendance management

* Updated digit_components and digit_data_model packages in attendance management

* Localization loader and dialog localization fix (#505)

* added dialog till localization is not loaded

* fixed localization not coming issue

* added a util funtion to show language loading

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* updated search added project id in beneficiary search

removed commented code

* User uuids filter fixes for attendees local search in an attendance register (#512)

* User uuids filters fixes for attendees search in a register

* Removed default dashboard card from home

* Sync fix

---------

Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* Added Task address mapping on refused delivery (#514)

* replace and push homepage from boundary page sync dialog

* updated register search query to exclude attendee and staff in limit query

updated attendance and registration_delivery package

* registration_delivery package update

* * Added error toast for network failure (#525)

* No result card added if no charts available

* Updated end date for dss charts to 23:59 instead of 11:59 (#527)

* task create fix - removed condition check of resources during create

updated changelog of registration, closed, digit_data_model, inventory, registration_delivery

--dry-run fixes

* Updated stable packages for scanner, attendance and dss (#528)

* updated packages to latest version
digit_components version update

---------

Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <naveen.renati@egovernments.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* Added Privacy Policy (#499)

* added data privacy component

* added privacy component

* updated localization

* updated the dialog to use localized value

* updated privacy config inside mdms

* updated privacy model

* removed local privacy config now coming from mdms

* Delete packages/digit_components/lib/widgets/atoms/privacy_component.dart

as component is part of main application

* fixed github build issue

* added a configuration to enable or disable this privacy policy component

* fix the issue when privacy policy component is not there

* fix the issue when privacy policy component is not there

* fixed github comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HCMPRE-332:: Mobile dashboard added check for lastSyncTime to convert to date format (#540)

* HCMPRE-332:: Mobile dashboard added check for lastSyncTime to convert to date format

* added a enum for lastSyncedTime

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Hcmpre 263 - Sync write transaction for ISAR - fix, Localization fall back (#538)

* Update closed_household_details.dart (#482)

* Fixed pagination refresh issue (#481)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* implemented count for filter search, added todo for combination search count

* Fixed count

TODO: search with task status filter

* Fixed search with task status filter

Removed delay in delivery_summary_page.dart

* added code comments

* HCMPRE-165 issues (#484)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

* HCMPRE-162:: Reload issue fix for closed household and not registered

* HCMPRE-165: issues fixes

* updated reasons for refusals

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Updated publock

* Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

* created new table for localization

TODO: separate packages localization delegates to individual package and move the localization model to data_model package for common usage

Delete localization related isar files once tested

* init Boundary code wise localization.dart

* create localization local repo

modified module separation from query to exclude and include specified module

* modified module exclude in boundary page

* modified localization call for boundary selection bug where first value is localized in dropdown

* removed un-required localization bloc calls

* updated index value to selected language on home

* Uploaded pre release for inventory-management and digit-dss

* Updated delivery enums for Not delivered status

* Updated status model in task to taskStatus

* Updated registration delivery package

* Reverted Task Model status key change

* Update pubspec with latest version of packages

* Summary page Type of resource locale key updated

* Resolved comments

* Resolved comments and unused variables

* Resolved comments and unused variables

* Updated version

* Updated individual_global_search.dart for search

* added data segration

* check to enable edit delivery

* added project filter

* Registration delivery- Attendance management fixes (#497)

* Removed captured location dialog on attendance submit

* Removed stpper if deliveries length is greater than 1

* Updated digit_components and digit_data_model packages in attendance management

* Updated digit_components and digit_data_model packages in attendance management

* Localization loader and dialog localization fix (#505)

* added dialog till localization is not loaded

* fixed localization not coming issue

* added a util funtion to show language loading

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* updated search added project id in beneficiary search

removed commented code

* User uuids filter fixes for attendees local search in an attendance register (#512)

* User uuids filters fixes for attendees search in a register

* Removed default dashboard card from home

* Sync fix

---------

Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* Added Task address mapping on refused delivery (#514)

* replace and push homepage from boundary page sync dialog

* updated register search query to exclude attendee and staff in limit query

updated attendance and registration_delivery package

* registration_delivery package update

* * Added error toast for network failure (#525)

* No result card added if no charts available

* Updated end date for dss charts to 23:59 instead of 11:59 (#527)

* task create fix - removed condition check of resources during create

updated changelog of registration, closed, digit_data_model, inventory, registration_delivery

--dry-run fixes

* Updated stable packages for scanner, attendance and dss (#528)

* updated packages to latest version
digit_components version update

* added fallback ui dialog when localization call fails.

* added localization code

* merge from dev

* fix for isar transaction lock issue

* moved boundary localization path to constants.
Updated dialog in language_selection.dart page

* isar lock fix

* updated data_model version for isar fix.
updated a check in language_selection.dart for dialog

---------

Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: naveen-egov <naveen.j@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>

* Impel changes - background-services, beneficiary_checklist (#548)

* Update closed_household_details.dart (#482)

* Fixed pagination refresh issue (#481)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* implemented count for filter search, added todo for combination search count

* Fixed count

TODO: search with task status filter

* Fixed search with task status filter

Removed delay in delivery_summary_page.dart

* added code comments

* HCMPRE-165 issues (#484)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

* HCMPRE-162:: Reload issue fix for closed household and not registered

* HCMPRE-165: issues fixes

* updated reasons for refusals

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Updated publock

* Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

* created new table for localization

TODO: separate packages localization delegates to individual package and move the localization model to data_model package for common usage

Delete localization related isar files once tested

* init Boundary code wise localization.dart

* create localization local repo

modified module separation from query to exclude and include specified module

* modified module exclude in boundary page

* modified localization call for boundary selection bug where first value is localized in dropdown

* removed un-required localization bloc calls

* updated index value to selected language on home

* Uploaded pre release for inventory-management and digit-dss

* Updated delivery enums for Not delivered status

* Updated status model in task to taskStatus

* Updated registration delivery package

* Reverted Task Model status key change

* Update pubspec with latest version of packages

* Summary page Type of resource locale key updated

* Resolved comments

* Resolved comments and unused variables

* Resolved comments and unused variables

* Updated version

* Updated individual_global_search.dart for search

* added data segration

* check to enable edit delivery

* added project filter

* Registration delivery- Attendance management fixes (#497)

* Removed captured location dialog on attendance submit

* Removed stpper if deliveries length is greater than 1

* Updated digit_components and digit_data_model packages in attendance management

* Updated digit_components and digit_data_model packages in attendance management

* Localization loader and dialog localization fix (#505)

* added dialog till localization is not loaded

* fixed localization not coming issue

* added a util funtion to show language loading

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* updated search added project id in beneficiary search

removed commented code

* User uuids filter fixes for attendees local search in an attendance register (#512)

* User uuids filters fixes for attendees search in a register

* Removed default dashboard card from home

* Sync fix

---------

Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* Added Task address mapping on refused delivery (#514)

* replace and push homepage from boundary page sync dialog

* updated register search query to exclude attendee and staff in limit query

updated attendance and registration_delivery package

* registration_delivery package update

* * Added error toast for network failure (#525)

* No result card added if no charts available

* Updated end date for dss charts to 23:59 instead of 11:59 (#527)

* task create fix - removed condition check of resources during create

updated changelog of registration, closed, digit_data_model, inventory, registration_delivery

--dry-run fixes

* Updated stable packages for scanner, attendance and dss (#528)

* updated packages to latest version
digit_components version update

* added fallback ui dialog when localization call fails.

…
Copy link
Contributor

coderabbitai bot commented Sep 10, 2024

Walkthrough

The changes introduce enhancements to the health_campaign_field_worker_app by integrating a BandwidthCheckRepository into the ProjectBloc, allowing for improved data handling based on network conditions. New import statements are added to facilitate remote client operations and bandwidth checking. The syncDown method in the PerformSyncDown class is updated to limit stock entity retrieval based on batch size. Additionally, modifications are made to the FacilityRemoteRepository and StockRemoteRepository classes to optimize data fetching processes.

Changes

Files Change Summary
.../lib/app.dart Added imports for remote_client and bandwidth_check. Updated ProjectBloc initialization with bandwidthCheckRepository.
.../lib/blocs/project/project.dart Enhanced ProjectBloc with BandwidthCheckRepository. Updated _loadOnline, _loadProjectFacilities, and added _getBatchSize method.
.../lib/data/repositories/sync/sync_down.dart Modified syncDown method to include a limit parameter based on bandwidthModel.batchSize.
.../lib/data/repositories/remote/facility.dart Updated search method for formatting consistency and improved data fetching logic.
.../lib/data/repositories/remote/stock.dart Introduced search method to fetch stock data in batches, handling pagination and response validation.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant ProjectBloc
    participant BandwidthCheckRepository
    participant SyncDown

    User->>ProjectBloc: Request Project Data
    ProjectBloc->>BandwidthCheckRepository: Check Bandwidth
    BandwidthCheckRepository-->>ProjectBloc: Return Bandwidth Info
    ProjectBloc->>SyncDown: Sync Data with Limit
    SyncDown-->>ProjectBloc: Return Synced Data
    ProjectBloc-->>User: Provide Project Data
Loading

🐰 In fields of code, we leap and bound,
New checks for bandwidth, solutions found.
With repositories fresh, our data flows,
Hopping through syncs, where efficiency grows.
A tapestry woven, with logic so bright,
In our app's garden, all feels just right! 🌼

Possibly related PRs

  • Hlm 5572 data_model and registration delivery #404: The changes in app.dart involve significant modifications to import statements and repository types, which may relate to the new functionalities introduced in the main PR regarding BandwidthCheckRepository.
  • Develop #427: The updates in app.dart include modifications to the MainApplication class and its bloc initialization, which could be relevant to the changes made in the ProjectBloc in the main PR.
  • develop to master conflicts #428: The changes in sync_up.dart involve updates to import statements and repository logic, which may connect to the enhancements made in the main PR regarding data handling and repository usage.
  • Registration - Datamodel update #433: The modifications in sync_down.dart involve commenting out code related to complaints synchronization, which may relate to the bandwidth handling introduced in the main PR.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@naveen-egov naveen-egov changed the title Removed privacy policy from main app to digit component (#569) Moved privacy policy from main app to digit component (#569) Sep 10, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (1)
packages/digit_components/lib/models/privacy_policy_model.dart (1)

1-95: Consider using the freezed package for the privacy policy models.

The privacy policy models are well-structured and organized. However, consider using the freezed package to generate immutable data classes with additional benefits. The freezed package provides the following advantages:

  • Immutable data classes with copyWith methods for easy cloning and modification.
  • Auto-generated toString, equals, and hashCode methods for easier debugging and comparison.
  • Support for unions/sealed classes to represent multiple possible states.
  • Integration with json_serializable for automatic JSON serialization and deserialization.

Using freezed can enhance the privacy policy models by providing a more robust and maintainable implementation.

Here's an example of how the PrivacyPolicy class could be defined using freezed:

import 'package:freezed_annotation/freezed_annotation.dart';

part 'privacy_policy_model.freezed.dart';
part 'privacy_policy_model.g.dart';

@freezed
class PrivacyPolicy with _$PrivacyPolicy {
  const factory PrivacyPolicy({
    String? header,
    String? module,
    bool? active,
    List<Content>? contents,
  }) = _PrivacyPolicy;

  factory PrivacyPolicy.fromJson(Map<String, dynamic> json) =>
      _$PrivacyPolicyFromJson(json);
}

Similar changes can be applied to the other models (Content, Description, and SubDescription) to leverage the benefits of freezed.

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between e3d8ac4 and b9b65bb.

Files ignored due to path filters (1)
  • apps/health_campaign_field_worker_app/pubspec.lock is excluded by !**/*.lock, !**/*.lock
Files selected for processing (13)
  • apps/health_campaign_field_worker_app/lib/pages/login.dart (4 hunks)
  • apps/health_campaign_field_worker_app/lib/utils/localization_delegates.dart (2 hunks)
  • packages/digit_components/lib/blocs/localization.dart (1 hunks)
  • packages/digit_components/lib/blocs/localization_delegates.dart (1 hunks)
  • packages/digit_components/lib/models/privacy_notice/privacy_notice_model.dart (1 hunks)
  • packages/digit_components/lib/models/privacy_notice/privacy_notice_model.freezed.dart (1 hunks)
  • packages/digit_components/lib/models/privacy_notice/privacy_notice_model.g.dart (1 hunks)
  • packages/digit_components/lib/models/privacy_policy_model.dart (1 hunks)
  • packages/digit_components/lib/utils/i18_key_constants.dart (1 hunks)
  • packages/digit_components/lib/widgets/localized.dart (1 hunks)
  • packages/digit_components/lib/widgets/privacy_notice/privacy_component.dart (5 hunks)
  • packages/digit_components/lib/widgets/privacy_notice/privacy_notice_dialog.dart (2 hunks)
  • packages/digit_components/lib/widgets/privacy_notice/privacy_notice_expand_component.dart (4 hunks)
Additional comments not posted (24)
packages/digit_components/lib/utils/i18_key_constants.dart (1)

1-20: LGTM!

The code looks good. It defines a PrivacyPolicy class with constants for various privacy policy related localization keys. This is a good practice to keep the localization keys centralized and avoid duplication.

packages/digit_components/lib/widgets/localized.dart (1)

1-33: LGTM!

The code looks good. It provides a clean way to access localizations in stateful widgets by defining abstract classes LocalizedStatefulWidget and LocalizedState. The LocalizedState class ensures that the localizations are updated when the widget is rebuilt. This is a good practice to keep the localization logic centralized and avoid duplication.

packages/digit_components/lib/blocs/localization_delegates.dart (1)

1-33: LGTM!

The code looks good. It defines a ComponentLocalizationDelegate class that extends LocalizationsDelegate for loading localizations. The isSupported method checks if the given locale is supported by the app. The load method loads the localizations for the given locale. This is a good practice to keep the localization loading logic centralized and avoid duplication.

packages/digit_components/lib/models/privacy_notice/privacy_notice_model.dart (1)

1-50: LGTM!

The code changes are approved. The privacy notice models are well-structured, follow best practices, and utilize the freezed package effectively.

packages/digit_components/lib/blocs/localization.dart (1)

1-52: LGTM!

The code changes are approved. The ComponentLocalization class provides a clean and effective solution for handling component localization. The code is well-structured and follows best practices.

apps/health_campaign_field_worker_app/lib/utils/localization_delegates.dart (2)

19-19: LGTM!

The code changes are approved.


64-67: LGTM!

The code changes are approved.

packages/digit_components/lib/models/privacy_notice/privacy_notice_model.g.dart (1)

1-83: Skipping review of generated code file.

This file contains generated code for JSON serialization and deserialization of privacy notice models. It should not be manually modified.

packages/digit_components/lib/widgets/privacy_notice/privacy_notice_dialog.dart (3)

1-1: LGTM!

The code changes are approved.


7-7: LGTM!

The code changes are approved.


15-15: LGTM, but verify the field usage.

The field declaration change is approved.

However, ensure that this change is thoroughly tested to confirm that it behaves as expected and that all usages of the privacyPolicy field have been updated to match the new type.

Run the following script to verify the field usage:

Verification successful

Field usage is consistent with the new type.

The privacyPolicy field in privacy_notice_dialog.dart has been updated to use the PrivacyNoticeModel type, and all usages within this file are consistent with this change. Other occurrences of privacyPolicy in the codebase are unrelated to this specific change.

  • privacy_notice_dialog.dart: The privacyPolicy field is correctly used with the PrivacyNoticeModel type.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all usages of the `privacyPolicy` field match the new type.

# Test: Search for the field usage. Expect: Only occurrences of the new type.
rg --type dart -A 5 $'privacyPolicy'

Length of output: 44406

packages/digit_components/lib/widgets/privacy_notice/privacy_component.dart (3)

2-2: LGTM!

The import statement change is approved.


24-24: LGTM!

The constructor parameter type change is approved.


13-13: LGTM, but verify the PrivacyComponent usage.

The property type change is approved.

However, ensure that all usages of the PrivacyComponent have been updated to pass the new PrivacyNoticeModel type instead of the old PrivacyPolicy type.

Run the following script to verify the PrivacyComponent usage:

Verification successful

Verification successful: PrivacyComponent usage is correct.

The PrivacyComponent is being used with the new PrivacyNoticeModel type, facilitated by the convertToPrivacyPolicyModel function, which correctly converts the old PrivacyPolicy model to the new one.

  • The convertToPrivacyPolicyModel function is implemented in login.dart and correctly maps fields from PrivacyPolicy to PrivacyNoticeModel.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all usages of `PrivacyComponent` pass the new `PrivacyNoticeModel` type.

# Test: Search for the `PrivacyComponent` usage. Expect: Only occurrences with the new `PrivacyNoticeModel` type.
rg --type dart $'PrivacyComponent\(' -A 5

Length of output: 1418


Script:

#!/bin/bash
# Description: Find the implementation of `convertToPrivacyPolicyModel` and verify its return type.

# Search for the function definition of `convertToPrivacyPolicyModel`.
rg --type dart 'convertToPrivacyPolicyModel' -A 5

Length of output: 1491

packages/digit_components/lib/widgets/privacy_notice/privacy_notice_expand_component.dart (4)

79-79: LGTM!

The variable type change is approved.


95-95: LGTM, but verify the DescriptionWidget usage.

The property type change is approved.

However, ensure that all usages of the DescriptionWidget component have been updated to pass the new DescriptionNoticeModel type instead of the old Description type.

Run the following script to verify the DescriptionWidget usage:

Verification successful

Verification successful: DescriptionWidget usage is correct.

The DescriptionWidget is correctly using the DescriptionNoticeModel type for its description parameter. No further action is needed.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all usages of `DescriptionWidget` pass the new `DescriptionNoticeModel` type.

# Test: Search for the `DescriptionWidget` usage. Expect: Only occurrences with the new `DescriptionNoticeModel` type.
rg --type dart $'DescriptionWidget\(' -A 5

Length of output: 2932


Script:

#!/bin/bash
# Description: Verify the type of `desc` used in `DescriptionWidget`.

# Search for the declaration or assignment of `desc` in the file to determine its type.
rg --type dart 'desc' -A 3 -B 3 packages/digit_components/lib/widgets/privacy_notice/privacy_notice_expand_component.dart

Length of output: 3258


9-9: LGTM, but verify the ExpandableSection usage.

The property type change is approved.

However, ensure that all usages of the ExpandableSection component have been updated to pass the new ContentNoticeModel type instead of the old Content type.

Run the following script to verify the ExpandableSection usage:

Verification successful

Verification Successful: ExpandableSection Usage Updated

The ExpandableSection component is correctly used with the ContentNoticeModel type, as verified by the type of contents in PrivacyNoticeModel. No further issues are found.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all usages of `ExpandableSection` pass the new `ContentNoticeModel` type.

# Test: Search for the `ExpandableSection` usage. Expect: Only occurrences with the new `ContentNoticeModel` type.
rg --type dart $'ExpandableSection\(' -A 5

Length of output: 1378


Script:

#!/bin/bash
# Description: Verify the type of `section` used in `ExpandableSection` in `privacy_notice_dialog.dart`.

# Test: Search for the declaration or assignment of `section` to confirm it is of type `ContentNoticeModel`.
rg --type dart 'section' -A 5 packages/digit_components/lib/widgets/privacy_notice/privacy_notice_dialog.dart

Length of output: 519


Script:

#!/bin/bash
# Description: Verify the type of `contents` in `widget.privacyPolicy` to ensure it is `ContentNoticeModel`.

# Test: Search for the definition of `privacyPolicy` and its `contents` property.
rg --type dart 'privacyPolicy' -A 5 packages/digit_components/lib/widgets/privacy_notice/privacy_notice_dialog.dart

Length of output: 1825


Script:

#!/bin/bash
# Description: Verify the type of `contents` in `PrivacyNoticeModel` to ensure it is a list of `ContentNoticeModel`.

# Test: Search for the definition of `PrivacyNoticeModel` and its `contents` property.
rg --type dart 'class PrivacyNoticeModel' -A 10

Length of output: 1247


205-205: LGTM, but verify the SubDescriptionWidget usage.

The property type change is approved.

However, ensure that all usages of the SubDescriptionWidget component have been updated to pass the new SubDescriptionNoticeModel type instead of the old SubDescription type.

Run the following script to verify the SubDescriptionWidget usage:

Verification successful

Verification Successful: SubDescriptionWidget Usage Updated

The SubDescriptionWidget component is correctly updated to use the SubDescriptionNoticeModel type, and all usages within the codebase align with this change. The subDesc variable, used as a parameter, is derived from a list of SubDescriptionNoticeModel instances.

  • The subDesc variable is correctly used as an instance of SubDescriptionNoticeModel.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all usages of `SubDescriptionWidget` pass the new `SubDescriptionNoticeModel` type.

# Test: Search for the `SubDescriptionWidget` usage. Expect: Only occurrences with the new `SubDescriptionNoticeModel` type.
rg --type dart $'SubDescriptionWidget\(' -A 5

Length of output: 1526


Script:

#!/bin/bash
# Description: Verify the type of `subDesc` used in `SubDescriptionWidget`.

# Search for the declaration of `subDesc` in the file to confirm its type.
rg --type dart 'subDesc' -A 2 -B 2 packages/digit_components/lib/widgets/privacy_notice/privacy_notice_expand_component.dart

Length of output: 2500


Script:

#!/bin/bash
# Description: Verify the type of `widget.description` to ensure `subDesc` is of type `SubDescriptionNoticeModel`.

# Search for the declaration and type of `widget.description`.
rg --type dart 'widget.description' -A 2 -B 2 packages/digit_components/lib/widgets/privacy_notice/privacy_notice_expand_component.dart

Length of output: 656


Script:

#!/bin/bash
# Description: Verify the class or widget definition that includes `description` to determine its type.

# Search for the class or widget definition that includes `description`.
rg --type dart 'description' -A 5 -B 5 packages/digit_components/lib/widgets/privacy_notice/privacy_notice_expand_component.dart

Length of output: 3883

apps/health_campaign_field_worker_app/lib/pages/login.dart (2)

245-265: LGTM!

The implementation of the convertToPrivacyPolicyModel function is approved. The function correctly maps the fields of the PrivacyPolicy object to the corresponding fields of the PrivacyNoticeModel object, ensuring that the privacy policy data is converted to the new structure expected by the updated PrivacyComponent.


145-145: LGTM, but verify the convertToPrivacyPolicyModel function.

The privacyPolicy argument change is approved.

However, ensure that the convertToPrivacyPolicyModel function correctly converts the PrivacyPolicy data to the PrivacyNoticeModel structure.

Run the following script to verify the convertToPrivacyPolicyModel function:

Verification successful

The convertToPrivacyPolicyModel function correctly converts PrivacyPolicy data to PrivacyNoticeModel.

The function implementation ensures that all relevant fields are mapped appropriately, including handling nested structures and potential null values. This confirms that the privacyPolicy argument change is consistent with the expected data structure.

  • The function is located in apps/health_campaign_field_worker_app/lib/pages/login.dart starting at line 245.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the `convertToPrivacyPolicyModel` function correctly converts the `PrivacyPolicy` data to the `PrivacyNoticeModel` structure.

# Test: Search for the `convertToPrivacyPolicyModel` function implementation. Expect: The function should correctly map the `PrivacyPolicy` fields to the corresponding `PrivacyNoticeModel` fields.
ast-grep --lang dart --pattern $'PrivacyNoticeModel convertToPrivacyPolicyModel(PrivacyPolicy privacyPolicy) {
  $$$
}'

Length of output: 2305

packages/digit_components/lib/models/privacy_notice/privacy_notice_model.freezed.dart (4)

22-32: LGTM!

The PrivacyNoticeModel class is correctly defined using the freezed package. It has the necessary properties and methods for immutability and JSON serialization.


232-241: LGTM!

The ContentNoticeModel class is correctly defined using the freezed package. It has the necessary properties and methods for immutability and JSON serialization.


401-412: LGTM!

The DescriptionNoticeModel class is correctly defined using the freezed package. It has the necessary properties and methods for immutability and JSON serialization.


619-629: LGTM!

The SubDescriptionNoticeModel class is correctly defined using the freezed package. It has the necessary properties and methods for immutability and JSON serialization.

* wayBillNumber key change from waybillNumber

return transaction type logic change in stock_details and report_details bloc

* validation for wayBillNumber

* Delivery action label and administered_success status update based on the project

* Revert "Delivery action label and administered_success status update based on the project"

This reverts commit 8673a48.

* published digit_components - privacy notice component
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between b9b65bb and 6317df4.

Files ignored due to path filters (5)
  • apps/health_campaign_field_worker_app/pubspec.lock is excluded by !**/*.lock, !**/*.lock
  • apps/health_campaign_field_worker_app/pubspec.yaml is excluded by !**/*.yaml
  • packages/digit_components/example/pubspec.lock is excluded by !**/*.lock, !**/*.lock
  • packages/digit_components/pubspec.yaml is excluded by !**/*.yaml
  • packages/inventory_management/pubspec.yaml is excluded by !**/*.yaml
Files selected for processing (10)
  • packages/digit_components/CHANGELOG.md (1 hunks)
  • packages/digit_components/lib/widgets/privacy_notice/privacy_notice_dialog.dart (3 hunks)
  • packages/digit_components/lib/widgets/privacy_notice/privacy_notice_expand_component.dart (7 hunks)
  • packages/inventory_management/CHANGELOG.md (1 hunks)
  • packages/inventory_management/lib/blocs/inventory_report.dart (1 hunks)
  • packages/inventory_management/lib/data/repositories/local/stock.dart (1 hunks)
  • packages/inventory_management/lib/models/entities/stock.dart (3 hunks)
  • packages/inventory_management/lib/models/entities/stock.mapper.dart (7 hunks)
  • packages/inventory_management/lib/pages/record_stock/stock_details.dart (4 hunks)
  • packages/inventory_management/lib/pages/reports/report_details.dart (1 hunks)
Files skipped from review due to trivial changes (4)
  • packages/inventory_management/lib/data/repositories/local/stock.dart
  • packages/inventory_management/lib/models/entities/stock.dart
  • packages/inventory_management/lib/models/entities/stock.mapper.dart
  • packages/inventory_management/lib/pages/reports/report_details.dart
Files skipped from review as they are similar to previous changes (1)
  • packages/digit_components/lib/widgets/privacy_notice/privacy_notice_dialog.dart
Additional comments not posted (13)
packages/inventory_management/CHANGELOG.md (3)

1-3: Provide more details about the validation changes.

The changelog mentions that the validation for wayBillNumber has been updated. To better understand the impact and correctness of this change, please provide more information about:

  • What specific validation rules were added, removed, or modified?
  • What was the rationale behind these validation changes?
  • How were these validation changes tested to ensure correctness?

8-8: Provide more details about the transaction type logic changes.

The changelog mentions that the return logic for transaction type has been modified in the stock_details and report_details blocs. To better understand the impact and correctness of this change, please provide more information about:

  • What was the old return logic and what is the new return logic?
  • What was the rationale behind this logic change?
  • How was this logic change tested to ensure correctness, especially considering potential impact on transaction handling and display?

10-10: Provide more details about the dependency updates.

The changelog mentions updates to the digit_scanner package, digit_components, and digit_data_model. To better understand the impact and necessity of these updates, please provide more information about:

  • What were the specific changes or fixes in each of these dependencies that warranted the update?
  • Were there any breaking changes in these updates that required changes in the inventory_management package?
  • Have these dependency updates been thoroughly tested with the inventory_management package to ensure compatibility and absence of regressions?
packages/digit_components/CHANGELOG.md (1)

1-3: LGTM!

The addition of the privacy notice component in version 1.0.2 is a valuable enhancement to the digit_components package. It provides a dedicated way to address user privacy concerns, which aligns with best practices for application development.

The changelog entry accurately reflects the changes made in this version and provides clear information for users of the package.

packages/inventory_management/lib/blocs/inventory_report.dart (1)

70-71: LGTM! The change aligns with the expected behavior for returned items.

The updated logic correctly assigns receiverId to facilityId and senderId to null when the reportType is InventoryReportType.returned. This change ensures that the facility is considered the receiver for returned items, which aligns with the expected behavior.

This modification will impact how inventory reports are generated and processed for returned items, as the transaction's sender and receiver data will now accurately reflect the return flow.

packages/digit_components/lib/widgets/privacy_notice/privacy_notice_expand_component.dart (4)

3-3: LGTM!

The import statement for the new PrivacyNoticeModel looks good.


8-8: LGTM!

The change in the content property type from Content to ContentNoticeModel is consistent with the new model being used for privacy notice.


78-78: LGTM!

The change in the desc variable type from Description to DescriptionNoticeModel is consistent with the new model being used for privacy notice.


94-94: LGTM!

The changes in the description and subDescription property types from Description and SubDescription to DescriptionNoticeModel and SubDescriptionNoticeModel respectively are consistent with the new models being used for privacy notice.

Also applies to: 204-204

packages/inventory_management/lib/pages/record_stock/stock_details.dart (4)

63-65: LGTM!

The addition of minLength and maxLength validators for the _waybillNumberKey form control is a good practice to ensure data integrity. It enforces the input constraints on the waybill number field, preventing invalid user input.


390-390: LGTM!

The addition of the StockRecordEntryType.returned case in the switch statement for processing stock records is a positive change. It ensures that returned stock entries are properly recognized and handled by the application. This improves the accuracy and completeness of stock record processing.


839-857: LGTM!

The addition of validation messages for the minimum and maximum length requirements of the waybill number input field is a great improvement to the user experience. The localized validation messages provide clear feedback to the user when the input does not meet the specified constraints. This helps guide the user to enter valid data and enhances the overall usability of the form.


Line range hint 1000-1017: LGTM!

The addBarCodesToFields function is well-implemented and serves its purpose effectively. It processes a list of GS1 barcodes, extracts the key-value pairs from the barcode elements, and flattens them into a single AdditionalField object. The use of the '|' separator to join the keys and values is a good choice for creating a compact representation of the barcode data. The function is concise, readable, and does not require any modifications.


## 1.0.3+3

* Updated key name of waybillNumber to wayBillNumber
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tip

Codebase Verification

Incomplete renaming of waybillNumber to wayBillNumber

The renaming process mentioned in the CHANGELOG.md is incomplete. Multiple occurrences of waybillNumber still exist in the codebase:

  • packages/inventory_management/lib/utils/i18_key_constants.dart
  • packages/inventory_management/lib/data/repositories/local/stock.dart
  • packages/inventory_management/lib/pages/reports/report_details.dart
  • packages/inventory_management/lib/models/entities/stock.dart
  • packages/inventory_management/lib/pages/record_stock/stock_details.dart
  • apps/health_campaign_field_worker_app/test/integration_test/inventory_package/pages/manage_stock.dart
  • packages/digit_data_model/lib/data/local_store/sql_store/tables/package_tables/stock.dart
  • packages/digit_data_model/lib/data/local_store/sql_store/sql_store.g.dart

Please review these files and update all occurrences of waybillNumber to wayBillNumber. After making the changes, regenerate any affected generated files (e.g., sql_store.g.dart).

Analysis chain

LGTM!

The renaming of the key from waybillNumber to wayBillNumber improves naming consistency and clarity.

Run the following script to verify the key usage:

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify all usages of `waybillNumber` have been updated to `wayBillNumber`.

# Test: Search for the old key usage. Expect: No occurrences of the old key.
rg --type dart $'waybillNumber'

Length of output: 5908

* added count-based search for facility

* added count-based search for stock

* added bandwidth based batch size

* fix some issues
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 6

🧹 Outside diff range and nitpick comments (6)
apps/health_campaign_field_worker_app/lib/app.dart (1)

206-210: LGTM: BandwidthCheckRepository added to ProjectBloc. Consider optimizing Dio client usage.

The addition of bandwidthCheckRepository to the ProjectBloc constructor enhances its capabilities to handle bandwidth-related operations. The BandwidthCheckRepository is correctly instantiated with the required parameters.

However, using DioClient().dio might create a new instance of Dio for each ProjectBloc, which could be inefficient. Consider injecting a single Dio instance or using a singleton pattern for the DioClient to optimize resource usage.

Would you like assistance in refactoring the Dio client usage for better efficiency?

apps/health_campaign_field_worker_app/lib/data/repositories/sync/sync_down.dart (1)

571-575: Approve the addition of batch size limit for stock search

The addition of the limit parameter to the StockSearchModel search is a good optimization. It allows for better control over the amount of data fetched in a single operation, which can improve performance and reduce memory usage.

Consider adding a comment explaining the purpose of this limit and its relationship to the bandwidthModel.batchSize. This will help future developers understand the rationale behind this change. For example:

 responseEntities = await remote.search(
   StockSearchModel(
     clientReferenceId: entities
         .whereType<StockModel>()
         .map((e) => e.clientReferenceId)
         .whereNotNull()
         .toList(),
   ),
+  // Limit the number of stock entities fetched based on network conditions
   limit: bandwidthModel.batchSize,
 );

Additionally, consider implementing a pagination mechanism if it doesn't already exist, to ensure all stock entities are eventually synced even if their total number exceeds the batch size.

packages/digit_data_model/lib/data/repositories/remote/facility.dart (1)

Line range hint 41-44: Handle exceptions appropriately instead of silently breaking the loop

When an error occurs during the request execution, the current implementation catches the exception and breaks out of the loop without handling or reporting the error. This could lead to silent failures and incomplete data retrieval, making it difficult to diagnose issues. Consider handling the exception properly by logging the error or rethrowing it to inform the caller about the problem.

Apply this diff to rethrow the exception:

-      } catch (error) {
-        break; // Break out of the loop if an error occurs
-      }
+      } catch (error, stackTrace) {
+        // Optionally log the error
+        // logger.error('Error during request execution', error, stackTrace);
+        rethrow;
+      }
packages/inventory_management/lib/data/repositories/remote/stock.dart (1)

34-34: Rename flag to isFirstResponse for clarity

The variable name flag is not descriptive. Renaming it to isFirstResponse enhances readability by clearly indicating its purpose.

Apply this diff to rename the variable:

-    bool flag = true;
+    bool isFirstResponse = true;

Remember to update all occurrences of flag within the method:

-    if (flag && responseMap.containsKey('TotalCount')) {
+    if (isFirstResponse && responseMap.containsKey('TotalCount')) {

-      flag = false;
+      isFirstResponse = false;
apps/health_campaign_field_worker_app/lib/blocs/project/project.dart (2)

177-177: Consider Applying batchSize to Other Data Fetching Operations

Currently, batchSize is applied only to the facilities fetching in _loadProjectFacilities. To optimize data loading based on network conditions across all data fetches in _loadOnline, consider applying batchSize to other data fetching methods as well.


Line range hint 298-306: Duplicate Call to _loadServiceDefinition Detected

The method _loadServiceDefinition(projects); is called twice consecutively within _loadOnline. This could lead to redundant operations and unnecessary resource utilization.

Apply this diff to remove the duplicate method call:

       try {
         await _loadServiceDefinition(projects);
       } catch (_) {
         emit(
           state.copyWith(
             loading: false,
             syncError: ProjectSyncErrorType.serviceDefinitions,
           ),
         );
       }
-      try {
-        await _loadServiceDefinition(projects);
-      } catch (_) {
-        emit(
-          state.copyWith(
-            loading: false,
-            syncError: ProjectSyncErrorType.serviceDefinitions,
-          ),
-        );
-      }
     }
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 6317df4 and c46b34b.

⛔ Files ignored due to path filters (1)
  • apps/health_campaign_field_worker_app/pubspec.lock is excluded by !**/*.lock, !**/*.lock
📒 Files selected for processing (5)
  • apps/health_campaign_field_worker_app/lib/app.dart (2 hunks)
  • apps/health_campaign_field_worker_app/lib/blocs/project/project.dart (8 hunks)
  • apps/health_campaign_field_worker_app/lib/data/repositories/sync/sync_down.dart (1 hunks)
  • packages/digit_data_model/lib/data/repositories/remote/facility.dart (5 hunks)
  • packages/inventory_management/lib/data/repositories/remote/stock.dart (1 hunks)
🧰 Additional context used
🔇 Additional comments (3)
apps/health_campaign_field_worker_app/lib/app.dart (1)

28-29: LGTM: New imports for remote client and bandwidth check.

The new import statements for remote_client.dart and bandwidth_check.dart are correctly added. These imports align with the changes made in the ProjectBloc creation, introducing new functionality for remote client operations and bandwidth checking.

apps/health_campaign_field_worker_app/lib/blocs/project/project.dart (2)

369-370: Ensure All Calls to _loadProjectFacilities Include batchSize Parameter

The method _loadProjectFacilities now requires batchSize as a parameter. Please verify that all invocations of this method have been updated to include the batchSize parameter to ensure proper functionality.

Run the following script to find calls to _loadProjectFacilities that may lack the batchSize parameter:

#!/bin/bash
# Description: Find all calls to _loadProjectFacilities without batchSize parameter.

# Expectation: All calls should include batchSize.

rg --type dart '_loadProjectFacilities\([^,]*\)' -A 2

110-110: Ensure All Instantiations of ProjectBloc Include bandwidthCheckRepository

The constructor of ProjectBloc now requires bandwidthCheckRepository as a mandatory parameter. Please verify that all instances where ProjectBloc is instantiated have been updated to include this new parameter to prevent any runtime errors.

Run the following script to find all instantiations of ProjectBloc missing the bandwidthCheckRepository parameter:

Comment on lines +114 to +115
totalCount -= defaultBatchSize;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Prevent totalCount from becoming negative

Subtracting defaultBatchSize from totalCount could result in totalCount becoming negative, which may cause unintended behavior in loop conditions and batch size adjustments. Ensure that totalCount remains non-negative after the subtraction.

Apply this diff to safeguard against negative totalCount values:

-      totalCount -= defaultBatchSize;
+      totalCount = totalCount - defaultBatchSize;
+      if (totalCount < 0) {
+        totalCount = 0;
+      }

Additionally, you may want to adjust the loop condition to ensure it handles the case when totalCount reaches zero:

-    } while (totalCount > 0);
+    } while (totalCount > 0 && defaultBatchSize > 0);
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
totalCount -= defaultBatchSize;
totalCount = totalCount - defaultBatchSize;
if (totalCount < 0) {
totalCount = 0;
}

int? limit,
}) async {
FacilitySearchModel query, {
int? offSet,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Inconsistent parameter name: Rename offSet to offset

The parameter offSet is inconsistently cased. In Dart, parameter names should follow lowerCamelCase convention. Renaming offSet to offset improves readability and maintains consistency with common naming practices.

Apply this diff to correct the parameter name:

-    int? offSet,
+    int? offset,

Also, update all references to offSet within the method:

-    int currentOffset = offSet ?? 0;
+    int currentOffset = offset ?? 0;
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
int? offSet,
int? offset,

}

final entityResponse = await responseMap[key];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Remove unnecessary await when accessing a Map

The await keyword is unnecessary when accessing a value from a Map. Since responseMap[key] is a synchronous operation, removing await will prevent potential confusion or misbehavior.

Apply this diff to remove the unnecessary await:

-    final entityResponse = await responseMap[key];
+    final entityResponse = responseMap[key];
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
final entityResponse = await responseMap[key];
final entityResponse = responseMap[key];


//If remaining record is less than defaultBatchSize, adjust the Batch size
if (totalCount < defaultBatchSize) defaultBatchSize = totalCount;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Ensure defaultBatchSize remains positive

Adjusting defaultBatchSize when totalCount is less than defaultBatchSize might lead to a negative batch size if totalCount is negative. Ensure that defaultBatchSize remains positive to prevent runtime errors.

Apply this diff to safeguard against negative batch sizes:

       // If remaining record is less than defaultBatchSize, adjust the Batch size
-      if (totalCount < defaultBatchSize) defaultBatchSize = totalCount;
+      if (totalCount < defaultBatchSize && totalCount > 0) {
+        defaultBatchSize = totalCount;
+      }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
if (totalCount < defaultBatchSize) defaultBatchSize = totalCount;
// If remaining record is less than defaultBatchSize, adjust the Batch size
if (totalCount < defaultBatchSize && totalCount > 0) {
defaultBatchSize = totalCount;
}

Comment on lines +25 to +26
int? limit,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Use consistent parameter naming: 'offSet' should be 'offset'

The parameter name offSet should be offset to follow Dart's lowerCamelCase naming convention and maintain consistency throughout the codebase.

Apply this diff to rename the parameter:

 FutureOr<List<StockModel>> search(
   StockSearchModel query, {
-    int? offSet,
+    int? offset,
     int? limit,
   }) async {
     int defaultBatchSize = limit ?? 100; // Default batch size for fetching data
-    int currentOffset = offSet ?? 0;
+    int currentOffset = offset ?? 0;
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
int? offSet,
int? limit,
int? offset,
int? limit,

Comment on lines +605 to +620
try {
final configs = await isar.appConfigurations.where().findAll();

final double speed = await bandwidthCheckRepository.pingBandwidthCheck(
bandWidthCheckModel: null,
);

int configuredBatchSize = getBatchSizeToBandwidth(
speed,
configs,
isDownSync: true,
);
return configuredBatchSize;
} catch (e) {
rethrow;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Unnecessary Try-Catch Block with Immediate Rethrow in _getBatchSize

In the _getBatchSize method, the try-catch block catches exceptions and immediately rethrows them without any handling. This is unnecessary and can be removed to simplify the code. If exception handling is required, consider logging the error or implementing specific error handling logic.

Apply this diff to remove the unnecessary try-catch block:

-    try {
       final configs = await isar.appConfigurations.where().findAll();

       final double speed = await bandwidthCheckRepository.pingBandwidthCheck(
         bandWidthCheckModel: null,
       );

       int configuredBatchSize = getBatchSizeToBandwidth(
         speed,
         configs,
         isDownSync: true,
       );
       return configuredBatchSize;
-    } catch (e) {
-      rethrow;
-    }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
try {
final configs = await isar.appConfigurations.where().findAll();
final double speed = await bandwidthCheckRepository.pingBandwidthCheck(
bandWidthCheckModel: null,
);
int configuredBatchSize = getBatchSizeToBandwidth(
speed,
configs,
isDownSync: true,
);
return configuredBatchSize;
} catch (e) {
rethrow;
}
final configs = await isar.appConfigurations.where().findAll();
final double speed = await bandwidthCheckRepository.pingBandwidthCheck(
bandWidthCheckModel: null,
);
int configuredBatchSize = getBatchSizeToBandwidth(
speed,
configs,
isDownSync: true,
);
return configuredBatchSize;

* Updated the integer form picker and added a new text block component (#441)

* updated the integer picker and added a new text block component

* added a field to change the width of button

* modified text block component to conditionally render children

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* updated description for household location and details page (#443)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* replaced product variant dropdown to selection card (#445)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HLM-6283:: IRS- Household Details Fields added (#444)

* Updated checklist for a new type boolean (#446)

* updated checklist for a new type boolean

* added To Do to fix hard code options

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HLM-6282 and HLM-6283:: House Structure Details Page added (#447)

* HLM-6283:: IRS- Household Details Fields added

* HLM-6283:: House Structure Details Page

* integrated checklist inside the beneficiary flow and updated gender field to selection card (#450)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HLM-6371:: Beneficiary Registration Summary Page (#452)

* HLM-6283:: IRS- Household Details Fields added

* HLM-6283:: House Structure Details Page

* HLM-6371:: Beneficiary Registration Summary Page

* Updated registration_delivery script

* Added refused delivery page (#451)

* integrated checklist inside the beneficiary flow and updated gender field to selection card

* fetching refusal reasons

* added refused delivery page

* added refused delivery page

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen J <83631045+naveen-egov@users.noreply.github.com>

* No delivery flow page (#453)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HLM-6367:: Auto Create project beneficiary (#454)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

---------

Co-authored-by: Naveen Renati <naveen.renati@egovernments.org>

* Hlm 6414 - MDMS StatusFilter, Filter search (#448)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

---------

Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>

* HCMPRE-98 Filter search pagination, Removed private PageState (#457)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

* updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

* adding missed changes for last commit

* displaying selected filter value for applied filters in search_beneficiary.dart

* updated changelog for inventory and registration_delivery for new dev versions

* updated pubspec lock of registration_delivery

---------

Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>

* Created a new package for marking closed household (#459)

* Created a new package for marking closed household

* fixed build issues

* updated the name to userAction

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HCMPRE-98 - Inventory TeamCode fixes, Filter search fixes (#460)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

* updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

* adding missed changes for last commit

* displaying selected filter value for applied filters in search_beneficiary.dart

* updated changelog for inventory and registration_delivery for new dev versions

* updated pubspec lock of registration_delivery

* removed multiple filter selection

modified filter search

* fixed delivery team scanner issues in stock_details.dart

* Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

* HCMPRE-74, HCMPRE-82, HCMPRE-83:: Household Reload Fix, Validations for Household details added (#458)

* updated individual global search

added beneficiary type check in view_beneficiary_card.dart
removed commented code in household_overview.dart

* Added null check for beneficiaryTag in closed_household_summary.dart

---------

Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>

* Hcmpre 118 - Closed Household, Filter improvements, Bug fixes (#467)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

* updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

* adding missed changes for last commit

* displaying selected filter value for applied filters in search_beneficiary.dart

* updated changelog for inventory and registration_delivery for new dev versions

* updated pubspec lock of registration_delivery

* removed multiple filter selection

modified filter search

* fixed delivery team scanner issues in stock_details.dart

* Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

* HCMPRE-74, HCMPRE-82, HCMPRE-83:: Household Reload Fix, Validations for Household details added (#458)

* updated individual global search

added beneficiary type check in view_beneficiary_card.dart
removed commented code in household_overview.dart

* Added null check for beneficiaryTag in closed_household_summary.dart

* Exposed Registration delivery pages

* updated remote repository and some miner fixes (#461)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HCMPRE-82:: Validations and Bug Fixes

* small css fixes (#462)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* merge fix

* added closed household search

* status model fix

* Closed-household-registration (#464)

* closed-household-registration

* closed-household-registration

* updated pub file

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* added closed household init file
modified user_action.dart model and db corrected
modified closed household status

* updated registration for closed household

* added closed_household search and updating closed household status

* clearing search before navigating to registration flow

* getting last tasks in household_overview.dart

* HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disable Delete household if beneficiary not present (#463)

* Validation and gps fixes

* fixed closed household count

clearing closedhould results for clear

* pagination fix for closed household

* sync down for closed household, updated scan voucher button, and remove the tag when we navigate to a different page (#465)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* DeliverySummary Route added to main app

* seperated closedhousehold search
Bug fixes - HCMPRE-112, 110, 113

* updated all the points of this ticket HCMPRE-120 (#466)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Bug Fixes, dev version release of packages

* HCMPRE-119:: IRS Demo fixes (#468)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* updated closed button action to push closedhousehold

tasks filter with last fix

* updated validation for closed household name and fix error message size (#470)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Irs demo fix patch (#469)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* Edit Household if no project beneficiary fix

* reverted hiding of digit search bar when closed filter is applied

* status update based on last task status in household_overview.dart

mapped administered success in beneficiary_card.dart

moved getstatus to utils.dart

* fixed offset increasing twice

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes (#471)

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes

* Added date formats to constants

* fixed offset increasing twice

closed household distance fix
emitting scanner state loading

* dev version bump-up for registration and scanner

* version updates for packages

---------

Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Hcmpre 155 - ClosedHousehold flow change (#478)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

* updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

* adding missed changes for last commit

* displaying selected filter value for applied filters in search_beneficiary.dart

* updated changelog for inventory and registration_delivery for new dev versions

* updated pubspec lock of registration_delivery

* removed multiple filter selection

modified filter search

* fixed delivery team scanner issues in stock_details.dart

* Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

* HCMPRE-74, HCMPRE-82, HCMPRE-83:: Household Reload Fix, Validations for Household details added (#458)

* updated individual global search

added beneficiary type check in view_beneficiary_card.dart
removed commented code in household_overview.dart

* Added null check for beneficiaryTag in closed_household_summary.dart

* Exposed Registration delivery pages

* updated remote repository and some miner fixes (#461)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HCMPRE-82:: Validations and Bug Fixes

* small css fixes (#462)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* merge fix

* added closed household search

* status model fix

* Closed-household-registration (#464)

* closed-household-registration

* closed-household-registration

* updated pub file

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* added closed household init file
modified user_action.dart model and db corrected
modified closed household status

* updated registration for closed household

* added closed_household search and updating closed household status

* clearing search before navigating to registration flow

* getting last tasks in household_overview.dart

* HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disable Delete household if beneficiary not present (#463)

* Validation and gps fixes

* fixed closed household count

clearing closedhould results for clear

* pagination fix for closed household

* sync down for closed household, updated scan voucher button, and remove the tag when we navigate to a different page (#465)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* DeliverySummary Route added to main app

* seperated closedhousehold search
Bug fixes - HCMPRE-112, 110, 113

* updated all the points of this ticket HCMPRE-120 (#466)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Bug Fixes, dev version release of packages

* HCMPRE-119:: IRS Demo fixes (#468)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* updated closed button action to push closedhousehold

tasks filter with last fix

* updated validation for closed household name and fix error message size (#470)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Irs demo fix patch (#469)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* Edit Household if no project beneficiary fix

* reverted hiding of digit search bar when closed filter is applied

* status update based on last task status in household_overview.dart

mapped administered success in beneficiary_card.dart

moved getstatus to utils.dart

* fixed offset increasing twice

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes (#471)

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes

* Added date formats to constants

* fixed offset increasing twice

closed household distance fix
emitting scanner state loading

* dev version bump-up for registration and scanner

* version updates for packages

* View Household button added in delete individual success page, Search project beneficiary fix

* added close button to close the filter and disabled the clear button … (#475)

* added close button to close the filter and disabled the clear button unless something is selected

* added validation for closed household head name same as individual

* updated the condition for validation of closehousehold head

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* View Household button added in delete individual success page, Search project beneficiary fix (#474)

* Search beneficiary fix

* Search beneficiary fix

* Bloc dispose fix

* Bloc dispose fix

* Updated task based search for household

* Modified closed household package to use registration flow for creating a household and related data along with task as closed

deleted user_action from data_model package

Updating closed_household to not_delivered status after closed household registration

* version updates of closed_household, digit_components, digit_data_model, registration_delivery

* version upgrade for registration_delivery

---------

Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Hcmpre 164, 165 - Count implementation for filter search (#485)

* Update closed_household_details.dart (#482)

* Fixed pagination refresh issue (#481)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* implemented count for filter search, added todo for combination search count

* Fixed count

TODO: search with task status filter

* Fixed search with task status filter

Removed delay in delivery_summary_page.dart

* added code comments

* HCMPRE-165 issues (#484)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

* HCMPRE-162:: Reload issue fix for closed household and not registered

* HCMPRE-165: issues fixes

* updated reasons for refusals

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Updated publock

* Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

* Resolved code comments

---------

Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* fixed reports are not getting refreshed after updating facility (#486)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Delivery summary page Resources and quantity added (#473)

* Delivery summary page Resources and quantity added

* fix for offset increment twice

* Delivery summary page Resources and quantity added

---------

Co-authored-by: Naveen Renati <naveen.renati@egovernments.org>
Co-authored-by: Naveen J <83631045+naveen-egov@users.noreply.github.com>

* updated script for closed household (#489)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Hcmpre 166 - Moved Localization from ISAR To SQL (#488)

* Update closed_household_details.dart (#482)

* Fixed pagination refresh issue (#481)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* implemented count for filter search, added todo for combination search count

* Fixed count

TODO: search with task status filter

* Fixed search with task status filter

Removed delay in delivery_summary_page.dart

* added code comments

* HCMPRE-165 issues (#484)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

* HCMPRE-162:: Reload issue fix for closed household and not registered

* HCMPRE-165: issues fixes

* updated reasons for refusals

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Updated publock

* Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

* created new table for localization

TODO: separate packages localization delegates to individual package and move the localization model to data_model package for common usage

Delete localization related isar files once tested

* init Boundary code wise localization.dart

* create localization local repo

modified module separation from query to exclude and include specified module

* modified module exclude in boundary page

* modified localization call for boundary selection bug where first value is localized in dropdown

* removed un-required localization bloc calls

* updated index value to selected language on home

* removed login cred

---------

Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Removed null condition, fixed double is not a subtype of string issue and added null check for table (#490)

* HCMPRE-156 : type 'double' is not a subtype of type 'String'

* added check if the first table row is null

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen J <83631045+naveen-egov@users.noreply.github.com>

* HCMPRE-177:: Metric and Table Charts Integration in Mobile dashboard and digit_dss package initial release (#480)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

* updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

* adding missed changes for last commit

* HCMPRE-55 Dashboard Static Screen added

* displaying selected filter value for applied filters in search_beneficiary.dart

* updated changelog for inventory and registration_delivery for new dev versions

* updated pubspec lock of registration_delivery

* removed multiple filter selection

modified filter search

* fixed delivery team scanner issues in stock_details.dart

* Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

* HCMPRE-74, HCMPRE-82, HCMPRE-83:: Household Reload Fix, Validations for Household details added (#458)

* updated individual global search

added beneficiary type check in view_beneficiary_card.dart
removed commented code in household_overview.dart

* Added null check for beneficiaryTag in closed_household_summary.dart

* Exposed Registration delivery pages

* updated remote repository and some miner fixes (#461)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HCMPRE-82:: Validations and Bug Fixes

* small css fixes (#462)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* merge fix

* added closed household search

* status model fix

* Closed-household-registration (#464)

* closed-household-registration

* closed-household-registration

* updated pub file

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* added closed household init file
modified user_action.dart model and db corrected
modified closed household status

* updated registration for closed household

* added closed_household search and updating closed household status

* clearing search before navigating to registration flow

* getting last tasks in household_overview.dart

* HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disable Delete household if beneficiary not present (#463)

* Validation and gps fixes

* fixed closed household count

clearing closedhould results for clear

* pagination fix for closed household

* sync down for closed household, updated scan voucher button, and remove the tag when we navigate to a different page (#465)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* DeliverySummary Route added to main app

* seperated closedhousehold search
Bug fixes - HCMPRE-112, 110, 113

* updated all the points of this ticket HCMPRE-120 (#466)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Bug Fixes, dev version release of packages

* HCMPRE-119:: IRS Demo fixes (#468)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* updated closed button action to push closedhousehold

tasks filter with last fix

* updated validation for closed household name and fix error message size (#470)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Irs demo fix patch (#469)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* Edit Household if no project beneficiary fix

* reverted hiding of digit search bar when closed filter is applied

* status update based on last task status in household_overview.dart

mapped administered success in beneficiary_card.dart

moved getstatus to utils.dart

* fixed offset increasing twice

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes (#471)

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes

* Added date formats to constants

* fixed offset increasing twice

closed household distance fix
emitting scanner state loading

* dev version bump-up for registration and scanner

* version updates for packages

* View Household button added in delete individual success page, Search project beneficiary fix

* added close button to close the filter and disabled the clear button … (#475)

* added close button to close the filter and disabled the clear button unless something is selected

* added validation for closed household head name same as individual

* updated the condition for validation of closehousehold head

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* View Household button added in delete individual success page, Search project beneficiary fix (#474)

* Search beneficiary fix

* Search beneficiary fix

* Bloc dispose fix

* Bloc dispose fix

* Updated task based search for household

* HCMPRE-177:: Metric Chart Integration and digit_dss package setup

* HCMPRE-177:: Added Refresh Indicator for refreshing the dashboard

* HCMPRE-177:: Table chart integration and Refresh logic update

* Added code comments for digit_dss package

* Added enums and constants

* Resolved code comments and updated versions for packages

* HCMPRE177:: Moved dashboard UI Config to MDMS

* HCMPRE177:: Added dss_import script for digit_dss package

* Resolved code comments

* Updated dashboard Config

* Added dashboard config search to try catch block

* Resolved conflicts

* published data_model and registration_delivery

* Added Read me file and updated pubspec.yaml

---------

Co-authored-by: Naveen Renati <naveen.renati@egovernments.org>
Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* HCMPRE-177:: Fetch and send attendees uuids of registers to dss filters (#491)

* added translator for administration area

* Fixed Facility search based on tenant ID

* Added disable battery optimization permission for background service

* Added disable battery optimization ask permission on App start and background service start

* HLM-5984:: Get Precise location on Submitting latitude longitude details

* Reverted install_bricks.sh

* added new status REGISTERED, NOT_REGISTERED

updated conditional check for status by project beneficiaries

* added static status_filter.dart integration in search_beneficiary.dart

* TODO for selected_filters display condition

* integrated household search filters with mdms
implemented search based on filters with pagination for Registered and NotRegistered

* updated status filter component
merge with develop

* create individual_global_search and implemented search

* Auto Create Project Beneficiary on Edit Household, and disable record delivery if no project beneficiary present

* Conflicts resolved

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty

* implemented household_global_search.dart
fixed individual_global_search.dart

* updated proximity search for household_global_search.dart

* Pop State recapture during registration flow, Disable delivery flow for individual based campaign if project beneficiaries is empty (#456)

* updated class state from private for customization override in registration_delivery and inventory

added pagination for filter search

TODO: combination search for registered and not registered needs fix which return only last selected results

* adding missed changes for last commit

* HCMPRE-55 Dashboard Static Screen added

* displaying selected filter value for applied filters in search_beneficiary.dart

* updated changelog for inventory and registration_delivery for new dev versions

* updated pubspec lock of registration_delivery

* removed multiple filter selection

modified filter search

* fixed delivery team scanner issues in stock_details.dart

* Fixed - missing addition of scanned resources to additional fields

filter search bug fixes

* HCMPRE-74, HCMPRE-82, HCMPRE-83:: Household Reload Fix, Validations for Household details added (#458)

* updated individual global search

added beneficiary type check in view_beneficiary_card.dart
removed commented code in household_overview.dart

* Added null check for beneficiaryTag in closed_household_summary.dart

* Exposed Registration delivery pages

* updated remote repository and some miner fixes (#461)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* HCMPRE-82:: Validations and Bug Fixes

* small css fixes (#462)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* merge fix

* added closed household search

* status model fix

* Closed-household-registration (#464)

* closed-household-registration

* closed-household-registration

* updated pub file

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* added closed household init file
modified user_action.dart model and db corrected
modified closed household status

* updated registration for closed household

* added closed_household search and updating closed household status

* clearing search before navigating to registration flow

* getting last tasks in household_overview.dart

* HCMPRE-107:: Summary page added for Delivery Flow, HCMPRE-111:: Disable Delete household if beneficiary not present (#463)

* Validation and gps fixes

* fixed closed household count

clearing closedhould results for clear

* pagination fix for closed household

* sync down for closed household, updated scan voucher button, and remove the tag when we navigate to a different page (#465)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* DeliverySummary Route added to main app

* seperated closedhousehold search
Bug fixes - HCMPRE-112, 110, 113

* updated all the points of this ticket HCMPRE-120 (#466)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Bug Fixes, dev version release of packages

* HCMPRE-119:: IRS Demo fixes (#468)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* updated closed button action to push closedhousehold

tasks filter with last fix

* updated validation for closed household name and fix error message size (#470)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* Irs demo fix patch (#469)

* HCMPRE-119:: IRS Demo fixes

* Removed unused code

* Edit Household if no project beneficiary fix

* reverted hiding of digit search bar when closed filter is applied

* status update based on last task status in household_overview.dart

mapped administered success in beneficiary_card.dart

moved getstatus to utils.dart

* fixed offset increasing twice

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes (#471)

* HCMPRE-121:: Enter manual code fix and Search Beneficiary fixes

* Added date formats to constants

* fixed offset increasing twice

closed household distance fix
emitting scanner state loading

* dev version bump-up for registration and scanner

* version updates for packages

* View Household button added in delete individual success page, Search project beneficiary fix

* added close button to close the filter and disabled the clear button … (#475)

* added close button to close the filter and disabled the clear button unless something is selected

* added validation for closed household head name same as individual

* updated the condition for validation of closehousehold head

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* View Household button added in delete individual success page, Search project beneficiary fix (#474)

* Search beneficiary fix

* Search beneficiary fix

* Bloc dispose fix

* Bloc dispose fix

* Updated task based search for household

* HCMPRE-177:: Metric Chart Integration and digit_dss package setup

* HCMPRE-177:: Added Refresh Indicator for refreshing the dashboard

* HCMPRE-177:: Table chart integration and Refresh logic update

* Added code comments for digit_dss package

* Added enums and constants

* Resolved code comments and updated versions for packages

* HCMPRE177:: Moved dashboard UI Config to MDMS

* HCMPRE177:: Added dss_import script for digit_dss package

* Resolved code comments

* Updated dashboard Config

* Added dashboard config search to try catch block

* Resolved conflicts

* published data_model and registration_delivery

* Added Read me file and updated pubspec.yaml

* Fetch and send attendees uuids of registers to dss filters

* Added dss filters

---------

Co-authored-by: Naveen Renati <naveen.renati@egovernments.org>
Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* Task update rather than creating new, updated filter popup loading (#493)

* Update closed_household_details.dart (#482)

* Fixed pagination refresh issue (#481)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* implemented count for filter search, added todo for combination search count

* Fixed count

TODO: search with task status filter

* Fixed search with task status filter

Removed delay in delivery_summary_page.dart

* added code comments

* HCMPRE-165 issues (#484)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

* HCMPRE-162:: Reload issue fix for closed household and not registered

* HCMPRE-165: issues fixes

* updated reasons for refusals

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Updated publock

* Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

* Resolved code comments

* HCMPRE220:: Household overview state update on pushing to Registration Wrapper

* update task state if task is already present

* updated selection box to update on initial selection change and updated delivery comment code

* remove changes from beneficiary

* task update

* HCMPRE-220:: SMC Not registered flow reload fix,and closed household Not delivered status fix

* added loader for filter search

* Added name of user to additional details in stock and delivery record

* updated delivery intervention

* check summary page condition for edit flow

* fixed task update for delivery intervention

* fixed household detail page

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <naveen.renati@egovernments.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>

* updated status and registration_delivery_enums.dart (#494)

* updated status and registration_delivery_enums.dart

updated check for check-list check in household_overview.dart

* Todo for individual check in beneficiary_registration.dart

* Uploaded pre release for inventory-management and digit-dss (#495)

* removed the page count from filter, updated status filter pop up (#496)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* updated demo changes (#498)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* added models and repositories in checklist

* complaints package added

* linked package repositories to main app

* inbox and search pages added

* filter page added

* inbox view and sort completed

* data folder added , inbox load , searc ,sort , filter done

* complaint oplog added

* Added checklist.dart page

* Created Checklist_preview.dart file

* all pages done

* Handled auth state in checklist.dart

* added checklist imports

* complaints registration completed

* Added all the pages

* Fixed dartmapper package

* Implemented sync up

* Separated checklist package

* Removed print statements and unused imports

* acknowledgment added

* models separated

* complaint package completed

* added comments

* README Added

* added README.md

* Images added to assets

* README Updated

* comments added

* made requested changes

* comments

* added lat and long inside additional field when user submit the checklist (#526)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* added tools file

* added tools file 1

* Updated complaint_tools.dart

* done

* Update home.dart

* Update tools complaints_package.dart

* added tools and test files

* test added

* tools added for  complaint package

* HCMPRE-221 data segration (#501)

* Update closed_household_details.dart (#482)

* Fixed pagination refresh issue (#481)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* implemented count for filter search, added todo for combination search count

* Fixed count

TODO: search with task status filter

* Fixed search with task status filter

Removed delay in delivery_summary_page.dart

* added code comments

* HCMPRE-165 issues (#484)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

* HCMPRE-162:: Reload issue fix for closed household and not registered

* HCMPRE-165: issues fixes

* updated reasons for refusals

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Updated publock

* Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

* created new table for localization

TODO: separate packages localization delegates to individual package and move the localization model to data_model package for common usage

Delete localization related isar files once tested

* init Boundary code wise localization.dart

* create localization local repo

modified module separation from query to exclude and include specified module

* modified module exclude in boundary page

* modified localization call for boundary selection bug where first value is localized in dropdown

* removed un-required localization bloc calls

* updated index value to selected language on home

* Uploaded pre release for inventory-management and digit-dss

* Updated delivery enums for Not delivered status

* Updated status model in task to taskStatus

* Updated registration delivery package

* Reverted Task Model status key change

* Update pubspec with latest version of packages

* Summary page Type of resource locale key updated

* Resolved comments

* Resolved comments and unused variables

* Resolved comments and unused variables

* Updated version

* Updated individual_global_search.dart for search

* added data segration

* check to enable edit delivery

* added project filter

* Registration delivery- Attendance management fixes (#497)

* Removed captured location dialog on attendance submit

* Removed stpper if deliveries length is greater than 1

* Updated digit_components and digit_data_model packages in attendance management

* Updated digit_components and digit_data_model packages in attendance management

* Localization loader and dialog localization fix (#505)

* added dialog till localization is not loaded

* fixed localization not coming issue

* added a util funtion to show language loading

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* updated search added project id in beneficiary search

removed commented code

* User uuids filter fixes for attendees local search in an attendance register (#512)

* User uuids filters fixes for attendees search in a register

* Removed default dashboard card from home

* Sync fix

---------

Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* Added Task address mapping on refused delivery (#514)

* replace and push homepage from boundary page sync dialog

* updated register search query to exclude attendee and staff in limit query

updated attendance and registration_delivery package

* registration_delivery package update

* * Added error toast for network failure (#525)

* No result card added if no charts available

* Updated end date for dss charts to 23:59 instead of 11:59 (#527)

* task create fix - removed condition check of resources during create

updated changelog of registration, closed, digit_data_model, inventory, registration_delivery

--dry-run fixes

* Updated stable packages for scanner, attendance and dss (#528)

* updated packages to latest version
digit_components version update

---------

Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Naveen Renati <naveen.renati@egovernments.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>
Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* made the requested changes

* code refactored

* added license

* made page states public

* comments removed

* changed homepage path

* updated

* updated tools

* merged from develop branch

* tests updated

* complaint_type inbox updated

* test file updated

* sdk updated

* added complaints package ref

* resolved

* issues resolved

* made all the requested changes in checklist package

* complaints example added

* error resolevd test

* error resolevd test

* example/test updated

* unnecessary folders removed

* updated to DigitOutlinedButton in Complaints/Exaple

* commit

* Did project

* Did example project

* Cleaned the example project

* Removed folders

* Removed example unused folders

* updated icos flutter to digit

* Replaced android and ios icons

* Replaced icons

* removed print statements

* verions of digit data model updated

* changelog updated

* Updated changelog and pubspec.yaml of digit data model

* Updated changelog and pubspec.yaml of digit data model

* Removed macos from example project

* tool script update and digit_data_model versions updated

* tool script update and digit_data_model versions updated

* changed digit_data_model version

* added digit_mappable_builder in override file of digit_dss

* dart_mappable_builder override added

* made version changes in pubspec

* Added Privacy Policy (#499)

* added data privacy component

* added privacy component

* updated localization

* updated the dialog to use localized value

* updated privacy config inside mdms

* updated privacy model

* removed local privacy config now coming from mdms

* Delete packages/digit_components/lib/widgets/atoms/privacy_component.dart

as component is part of main application

* fixed github build issue

* added a configuration to enable or disable this privacy policy component

* fix the issue when privacy policy component is not there

* fix the issue when privacy policy component is not there

* fixed github comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* changed publock

* resolving version mismatch issue

* added overrides from github

* HCMPRE-332:: Mobile dashboard added check for lastSyncTime to convert to date format (#540)

* HCMPRE-332:: Mobile dashboard added check for lastSyncTime to convert to date format

* added a enum for lastSyncedTime

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* changed package name from checklist to survey_form

* modified tool script

* modified tool script and added marker

* added pubspec.lock files

* moved survey_form dependency to local overrides

* Hcmpre 263 - Sync write transaction for ISAR - fix, Localization fall back (#538)

* Update closed_household_details.dart (#482)

* Fixed pagination refresh issue (#481)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* implemented count for filter search, added todo for combination search count

* Fixed count

TODO: search with task status filter

* Fixed search with task status filter

Removed delay in delivery_summary_page.dart

* added code comments

* HCMPRE-165 issues (#484)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

* HCMPRE-162:: Reload issue fix for closed household and not registered

* HCMPRE-165: issues fixes

* updated reasons for refusals

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Updated publock

* Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

* created new table for localization

TODO: separate packages localization delegates to individual package and move the localization model to data_model package for common usage

Delete localization related isar files once tested

* init Boundary code wise localization.dart

* create localization local repo

modified module separation from query to exclude and include specified module

* modified module exclude in boundary page

* modified localization call for boundary selection bug where first value is localized in dropdown

* removed un-required localization bloc calls

* updated index value to selected language on home

* Uploaded pre release for inventory-management and digit-dss

* Updated delivery enums for Not delivered status

* Updated status model in task to taskStatus

* Updated registration delivery package

* Reverted Task Model status key change

* Update pubspec with latest version of packages

* Summary page Type of resource locale key updated

* Resolved comments

* Resolved comments and unused variables

* Resolved comments and unused variables

* Updated version

* Updated individual_global_search.dart for search

* added data segration

* check to enable edit delivery

* added project filter

* Registration delivery- Attendance management fixes (#497)

* Removed captured location dialog on attendance submit

* Removed stpper if deliveries length is greater than 1

* Updated digit_components and digit_data_model packages in attendance management

* Updated digit_components and digit_data_model packages in attendance management

* Localization loader and dialog localization fix (#505)

* added dialog till localization is not loaded

* fixed localization not coming issue

* added a util funtion to show language loading

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* updated search added project id in beneficiary search

removed commented code

* User uuids filter fixes for attendees local search in an attendance register (#512)

* User uuids filters fixes for attendees search in a register

* Removed default dashboard card from home

* Sync fix

---------

Co-authored-by: Naveen Renati <154230258+naveenr-egov@users.noreply.github.com>

* Added Task address mapping on refused delivery (#514)

* replace and push homepage from boundary page sync dialog

* updated register search query to exclude attendee and staff in limit query

updated attendance and registration_delivery package

* registration_delivery package update

* * Added error toast for network failure (#525)

* No result card added if no charts available

* Updated end date for dss charts to 23:59 instead of 11:59 (#527)

* task create fix - removed condition check of resources during create

updated changelog of registration, closed, digit_data_model, inventory, registration_delivery

--dry-run fixes

* Updated stable packages for scanner, attendance and dss (#528)

* updated packages to latest version
digit_components version update

* added fallback ui dialog when localization call fails.

* added localization code

* merge from dev

* fix for isar transaction lock issue

* moved boundary localization path to constants.
Updated dialog in language_selection.dart page

* isar lock fix

* updated data_model version for isar fix.
updated a check in language_selection.dart for dialog

---------

Co-authored-by: rachana-egov <137176770+rachana-egov@users.noreply.github.com>
Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>
Co-authored-by: naveen-egov <naveen.j@egovernments.org>
Co-authored-by: Ramkrishna-egov <85437265+Ramkrishna-egov@users.noreply.github.com>

* Impel changes - background-services, beneficiary_checklist (#548)

* Update closed_household_details.dart (#482)

* Fixed pagination refresh issue (#481)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* implemented count for filter search, added todo for combination search count

* Fixed count

TODO: search with task status filter

* Fixed search with task status filter

Removed delay in delivery_summary_page.dart

* added code comments

* HCMPRE-165 issues (#484)

* Implement search pagination (#476)

* implemented pagination for search

* added one more check to check if last response is equal to current response then also break the loop

* removed changes from data repository and added pagination only project facility and facility

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* localization update, input validation for numeric, disabled delivery intervention for closed household task (#479)

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>

* fixed pagination refresh issue

* resolved the comments

* HCMPRE-162:: Reload issue fix for closed household and not registered

* HCMPRE-165: issues fixes

* updated reasons for refusals

---------

Co-authored-by: rachana-egov <rachana.singh@egovernment.org>
Co-authored-by: Ramkrishna-egov <ramkrishna.sahoo@egovernments.org>

* Updated publock

* Added a check to avoid multiple leftJoin for projectBeneficiary - fix for multiple left join error

* created new table for localization

TODO: separate packages localization delegates to individual package and move the localization model to data_model package for common usage

Delete localization related isar files once tested

* init Boundary code wise localization.dart

* create localization …
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.

3 participants