Implement document dashboard design (storybook)

Note that this is the "base branch" for the document dashboard. It has two child branches that I kept separate, blms/color-update and blms/docdash-quick-actions, to reduce the size of all three. Two of them are still quite large, but hopefully splitting is more helpful than not!

Leaving as draft until the other two are merged into this one. However, it might be wise to review (and approve) this PR first, so that you do not have to deal with the added clutter from the other two approved branches.

In this PR

  • Design implementation and storybook for the document dashboard (EXCEPT the tasks monitoring card, task form modals, and extra added colors)
  • Metadata editor for add/edit document form

API changes included

  • Serialize document tags, allow filtering models by document: 593cbc2b
  • Serialize model rights, script, parent: dd3ca728
  • Allow updating metadata: b522c1f9

API changes needed

  • Need the characters and ontology endpoints used here
    • Did we say that ontology is per-document and not per transcription layer? Is that true for all four types? (I wrote down that it's not for "text" but I don't fully understand why). If so I can change this call to /documents/${documentId}/types/${ontologyMap[category]}.
  • Might want to double check the other API payloads used here as well and make sure they are all correct.
Edited by Ben Silverman

Merge request reports

Loading