acdh-oeaw / apis-oebl-research-tool-front-end

See also https://redmine.acdh.oeaw.ac.at/issues/18296
https://oebl-research.acdh-dev.oeaw.ac.at
MIT License
0 stars 0 forks source link

add new field legacy literature #24

Closed sennierer closed 2 years ago

sennierer commented 2 years ago

we store literature using zotero as a service. However, zotero needs structured data to store references. As in Gideon (the legacy database we are replacing with IRS) literature was stored in an unstructured charfield we need a legacy field. In the backend we use a JSON field for that. Thus frontend wise we need to have a simple field to display a JSON (most probably an array of objects). Something along the lines of:

[
{'title': 'title', 'pages': '200-210'}
]

Field not yet in the master of the backen. In relation to oebl-irs-devops#35

sennierer commented 2 years ago

changed due date to March 04, 2022

sennierer commented 2 years ago

marked this issue as related to oebl-irs-devops#35

sennierer commented 2 years ago

marked this issue as related to #25

sennierer commented 2 years ago

In GitLab by @PhilipRoeggla on Feb 15, 2022, 08:46

@sennierer

  1. As far as I see, this is not in the backend's current newest branch. Correct?
  2. Also the field is supposed to be displayed in Lemmas -> DetailView -> Literatur -> Gideon?
  3. The field is a flat json object with unknown properties and string values?
sennierer commented 2 years ago
  1. Yes thats correct, that is still missing. Will add that asap
  2. Lets make Literatur -> Legacy (Gideon)
  3. Yes, in the db the field is a Json field. Array of {id: int, value: char}. All we need to show is a list of the values
sennierer commented 2 years ago

In GitLab by @PhilipRoeggla on Feb 15, 2022, 12:41

@sennierer Ok, I will now add this feature with dummy values and connect it to the back end later.

sennierer commented 2 years ago

In GitLab by @PhilipRoeggla on Feb 15, 2022, 12:44

created branch 24-add-new-field-legacy-literature to address this issue

sennierer commented 2 years ago

In GitLab by @PhilipRoeggla on Feb 15, 2022, 14:58

mentioned in commit c005fca5cdb1f4536f75b407b81a300f748feede

sennierer commented 2 years ago

In GitLab by @PhilipRoeggla on Feb 23, 2022, 17:02

@sennierer This is supposed to be not editable by the user?

sennierer commented 2 years ago

No, not editable by the user

sennierer commented 2 years ago

In GitLab by @PhilipRoeggla on Mar 4, 2022, 10:55

mentioned in commit f4eee2d5af87bc6ae4f3c371153a434bef81e3d9

sennierer commented 2 years ago

In GitLab by @PhilipRoeggla on Mar 4, 2022, 12:18

mentioned in commit a5f8b72739053d75934016b0ae7cad387d5207b5