-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document field types in Islandora for users/librarians #1280
Comments
External documentation for field types would suffice, but if we want context-sensitive documentation, the Search API Solr module (http://localhost:8000/admin/config/search/search-api/index/default_solr_index/fields) provides an example of how we might document field types at the "Add Field" page itself ( This is within a collapsable div at the bottom of the page. It's hidden by default but if the user clicks on "Data types", it expands to what you see here. |
I think that's a good idea @mjordan. How would we go about implementing this? |
Not entirely sure without further investigation but something like modifying the view of |
I've created a small module, https://github.com/mjordan/islandora8_issue_1280, to stuff my code into for now since I'm rebuilding my Islandora 8 vagrant. We can decide later if we want to add this to the Islandora module or to keep it in its own separate module. |
This looks great! As for writing descriptions, if we don't get individual volunteers, I can see if the Metadata Interest Group would be interested in taking this on. (I would volunteer myself, but I don't think I know quite enough just yet) |
@mjanowiecki if you want to try we can all provide context of that is helpful. |
@whikloj Sure, I'd be up for that! |
I'll start with "Typed Relation": A specialized type of taxonomy field that allows users to specify the "type" of the relationship between the Islandora object and the taxonomy terms. For example, if people's names are listed in a taxonomy, a typed relation field using that taxonomy will allow for a person to be a 'creator', 'photographer', or 'editor' of the work described in the object node. |
When creating or editing fields in Islandora 8 for content types or taxonomies, there are a wide varieties of "Field Types" available for you to select as the basis of your field. There is some information on Drupal about Field Types (https://www.drupal.org/docs/8/api/entity-api/fieldtypes-fieldwidgets-and-fieldformatters), but it is not super helpful for the layperson and does not include all Field Types in Islandora 8. Public documentation on what each Field Type means would be extremely helpful, answering the following types of questions:
Here is list (which I think is complete) of Islandora 8 field types to describe:
Authority link
Boolean
Email
Link
Name
Timestamp
User
Comments
Content
Date
EDTF
Geolocation
Media
Taxonomy term
Typed Relation
List (float)
List (integer)
Number (decimal)
Number (float)
Number (integer)
Content
File
Image
Media
Taxonomy term
User
Other…
List (text)
Text (formatted)
Text (formatted, long)
Text (formatted, long, with summary)
Text (plain)
Text (plain, long)
The text was updated successfully, but these errors were encountered: