NaturalHistoryMuseum / phthiraptera-transcription

App for transcription of phthiraptera slide data
GNU General Public License v3.0
0 stars 0 forks source link

Recording ranges is not possible #29

Closed PaulKiddle closed 4 years ago

PaulKiddle commented 4 years ago
  1. UI - Add extra field & tooltip
    • Create Date component, name => name.year, name.month, name.day
    • Create eventDate component, name => name.start, name.end
  2. Validation - Parse date & verify range
  3. Migration - Add/modify database field
    • Add eventDate field, keep year, month, day, range as backups
    • Convert existing dates to eventDate (check using db dump first)
  4. Insert & update
    • Record both ydmr & eventDate for all fields
  5. Fetch back from db on read