809 metadata addition dates field - #822
Conversation
alisony755
commented
Jul 23, 2026
- Added key dates field to metadata display and editing
✅ Deploy Preview for dailp ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
03d2efc to
141179a
Compare
| @@ -0,0 +1,3 @@ | |||
| -- Insert the new set of key date IDs | |||
| insert into document_key_date (document_id, key_date_id) | |||
| select $1, unnest($2::uuid[]); No newline at end of file | |||
There was a problem hiding this comment.
Can you explain what you are trying to accomplish with this line?
There was a problem hiding this comment.
This line inserts a row into document_key_date for each key date ID, associating all of those key dates with the document when updating metadata
| "Dubai, UAE", | ||
| ] | ||
|
|
||
| const approvedKeyDates = ["February 12, 1964"] |
There was a problem hiding this comment.
Is there a reason this date is hard-coded?
There was a problem hiding this comment.
I was getting an error if I left it as const approvedKeyDates = ["February 12, 1964"], but I could change it to const approvedKeyDates: string[] = []
GracefulLemming
left a comment
There was a problem hiding this comment.
Hi Alison, I think this looks good overall but I have one SQL and one web question for you to answer before approval.
Merge branch '809-metadata-addition-dates-field' of github.com:NEU-DSG/dailp-encoding into 809-metadata-addition-dates-field