cityofaustin / atd-data-tech

Austin Transportation Data & Technology Services
17 stars 2 forks source link

Add `is_deleted` column to Moped <> Data Tracker sync #18577

Closed mddilley closed 1 day ago

mddilley commented 1 month ago

When we synchronize project data between the Moped database and the Data Tracker projects table, we don't consider whether projects are deleted or not (is_deleted = true). This is limiting the ability of the Data Tracker projects table rows to populate tables and dropdowns in Data Tracker with active (non-deleted) projects only. It is also causing links to appear in Data Tracker that point to deleted projects.

To improve this, we should add the is_deleted column to the data sync so that deleted projects can be filtered out on the Knack builder side like we do in the Moped UI.

Examples of links to soft deleted projects can be found through this link.

We should:

mddilley commented 1 month ago

@ChristinaTremel feel free to edit the issue description if there is anything that i missed. thanks for bringing this to the sync the other day! 🙏

ChristinaTremel commented 1 month ago
ChristinaTremel commented 2 weeks ago

Added Is Deleted boolean field to the projects object in Knack! ✨

mddilley commented 2 weeks ago

@ChristinaTremel Thank you!!!! could this be added to the latest test app as well?

ChristinaTremel commented 2 weeks ago

Added the field to the projects object in the TEST | Austin Transportation Data Tracker | 29 JUL 2024 app!