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

[TM-1386] update reports statuses #534

Merged
merged 1,140 commits into from
Nov 4, 2024
Merged

Conversation

egrojMonroy
Copy link
Collaborator

@egrojMonroy egrojMonroy commented Oct 31, 2024

This is a command that will update via projects projectReport, siteReport and tasks from
“awaiting approval” or “needs more information” to “approved”.

egrojMonroy and others added 30 commits July 30, 2024 14:32
[TM-1144] add validation for null extra info
[TM-1144] reorder functions to get valid schema data for polygons
[TM-1146] Fix Pitch model if organization is null
* [TM-1136] feat: add logic to upload replacement polygons

* [TM-1136] fix

* [TM-1136] fix
* [TM-1136] fix: reassigning site uuid

* [TM-1136] fix

* [TM-1136] fix

* [TM-1136] fix test

* [TM-1136] fix lint

* [TM-1136] fix lint

* [TM-1136] fix lint
* [TM-1104] send project_pitch_uuid for submisssion

* [TM-1104] update swagger definition for project pitch uuid

* [TM-1104] update swagger definition for project pitch uuid

* [TM-1104] make lint fix

---------

Co-authored-by: JORGE <[email protected]>
* [TM-1179] revert approved on update geom

* [TM-1179] change status on edit to model
* [TM-1179] on save attributes change to submitted if approved
[TM-778] issue searching site reports by site name
[TM-1106] Improved long term scheduling system.
egrojMonroy and others added 19 commits October 28, 2024 15:59
* [TM-1366] insert landscape data, create seeder and migration

* [TM-1366] add fix lint
* [TM-1479] changes columns to table indicators

* changes indicator_id to indicator_slug in controller
…rise Reporting Tasks (#526)

* [TM-1353] add OneOff command to seed hbf and enterprises reports

* remove imports

* update hours for to account for tz displacement

* update name

* add one-off command for backdated reports

* fix typo
* [TM-1479] changes columns to table indicators

* changes indicator_id to indicator_slug in controller

* [TM-1379] change indicator_slug values
cesarLima1
cesarLima1 previously approved these changes Oct 31, 2024
Copy link
Collaborator

@roguenet roguenet left a comment

Choose a reason for hiding this comment

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

Two thing:

  • This would be better implemented as a Command than a seeder, as it more conceptually aligns with what this tool is doing. Seeders are for getting initial data into a table, not for modifications
  • I don't think the .csv makes much sense to check in. Would be better to just upload to the EC2 box and pass it as an argument to the command.

BulkWorkdayImport is an example of a Command that works in this way.

Copy link
Collaborator

@roguenet roguenet left a comment

Choose a reason for hiding this comment

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

the command looks good, but please remove the seeder and checked in .csv.

@egrojMonroy egrojMonroy merged commit 1c83945 into staging Nov 4, 2024
1 check passed
@egrojMonroy egrojMonroy deleted the feat/TM-1386-bulk-approved branch November 4, 2024 21:58
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.

6 participants