Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Structural Metadata Editor #242

Merged
merged 1 commit into from
Dec 11, 2015
Merged

Structural Metadata Editor #242

merged 1 commit into from
Dec 11, 2015

Conversation

tpendragon
Copy link
Contributor

This feature works with the theory that structural metadata can be
abstracted into a hash that looks like the following:

{
  "nodes": [
    {
      "label": "Chapter 1",
      "nodes": [
        {
          "proxy": "mcvaa9zja"
        }
      ]
    }
  ]
}

This hash is created by the frontend with StructureParser, is
converted into an ordered graph by LogicalOrder, and can be created
from an ordered graph by LogicalOrderGraph.

This hash is also used to create IIIF Manifest Ranges for the viewer.

Closes #225, closes #18.

@escowles
Copy link
Member

I think this is good enough to start iterating on. One easy change I think would be good is to make the "+" into a button with a label like "Add a Section" to make it more obvious. But the editing UI works well already.

@tpendragon
Copy link
Contributor Author

Squashed commits, ready for review + merge.

curation_concern.save
head 200
end

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the naming of the methods -- I wonder if we should rename bulk_edit/save_order to match?

This feature works with the theory that structural metadata can be
abstracted into a hash that looks like the following:

```
{
  "nodes": [
    {
      "label": "Chapter 1",
      "nodes": [
        {
          "proxy": "mcvaa9zja"
        }
      ]
    }
  ]
}
```

This hash is created by the frontend with `StructureParser`, is
converted into an ordered graph by `LogicalOrder`, and can be created
from an ordered graph by `LogicalOrderGraph`.

This hash is also used to create IIIF Manifest Ranges for the viewer.

Closes #225, closes #18.
escowles added a commit that referenced this pull request Dec 11, 2015
@escowles escowles merged commit 5ead0a6 into master Dec 11, 2015
@escowles escowles deleted the logical_order branch December 11, 2015 21:12
@jpstroop
Copy link
Member

jpstroop commented Dec 11, 2015 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Structural metadata should become IIIF ranges Structural metadata for books.
3 participants