Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dbarkowsky
Copy link
Collaborator

🎯 Summary

PIMS-2257

Changes

  • Added an export button on the map sidebar. It should download a file that contains all properties currently selected by an active filter (or all of them if no filter).
  • Consolidated the Excel property map into its own file because it is now used in two different places
  • Added a new frontend API hook and API route. Even though it uses the same controller as the map properties search, it is easier to represent this in documentation.
  • Modified the propertiesController to return export-ready data if ExcelExport query param is detected
  • Modified the propertiesService so that the export function can take an object with lists of parcel and buildings ids. These lists are the final filter to the property export if provided.

Testing

  • Test the map to make sure normal map functionality still works
  • Test the export button on the map. Do you only get properties filtered by the map?

🔰 Checklist

  • I have read and agree with the following checklist and am following the guidelines in our Code of Conduct document.
  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation where required.
  • I have tested my changes to the best of my ability.
  • My changes generate no new warnings.

@github-actions
Copy link

github-actions bot commented Jan 9, 2025

🚀 Deployment Information

The Express API Image has been built with the tag: 2895. Please make sure to utilize this specific tag when promoting these changes to the TEST and PROD environments during the API deployment. For more updates please monitor Image Tags Page on Wiki.

@github-actions
Copy link

github-actions bot commented Jan 9, 2025

🚀 Deployment Information

The React APP Image has been built with the tag: 2895. Please make sure to utilize this specific tag when promoting these changes to the TEST and PROD environments during the APP deployment. For more updates please monitor Image Tags Page on Wiki.

Copy link
Collaborator

@Sharala-Perumal Sharala-Perumal left a comment

Choose a reason for hiding this comment

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

The map functionality and filters work as expected. The export to Excel feature retrieves all properties when no filter is applied, and only the required properties when a filter is applied.

@Sharala-Perumal Sharala-Perumal merged commit a52c1a7 into main Jan 13, 2025
12 checks passed
@Sharala-Perumal Sharala-Perumal deleted the PIMS-2257 branch January 13, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants