jac-uk / digital-platform

Firebase/GCP configuration and components for our digital platform
MIT License
2 stars 1 forks source link

Use nodescripts to reduce the footprint of any v2 stuff #1130

Open drieJAC opened 4 months ago

drieJAC commented 4 months ago

Background

There are several pain points in the code base and database where we are using v1 and v2 to manage changes in data structure/processes. These are difficult to manage and will be a growing source of pain as we move forward. We could look to use the following approaches:

The following are areas where we use v1/v2 stuff:

User Story

As a developer I would like to remove versioning where possible so that we dont need to support multiple versions of the code. It could be really handy to find a script or write one to go through all records in the db and build a json structure using colour coding to show how often/redundant a key is in the db. The script would need to save data in a file so that we dont need to run the script more than once.

Definition of Done

User Testing Steps

Specify for users what is being tested (but not how to test it.)

Feature Champion

drieJAC commented 4 months ago

@nickaddy Initially we will need discussions to work out where this is feasible and how we can do it. We can then write separate tickets for it.

nickaddy commented 4 months ago

Hey team! Please add your planning poker estimate with Zenhub @drieJAC @HalcyonJAC @KoWeiJAC @tomlovesgithub

HalcyonJAC commented 3 months ago

Please add your planning poker estimate with Zenhub @warrensearle

warrensearle commented 3 months ago

I don't think we can estimate this and feel the effort might be better spent, initially at least, on archiving and documenting our data model