omeka-s-modules / Collecting

GNU General Public License v3.0
2 stars 6 forks source link

Testing: Numeric input types #43

Closed jimsafley closed 5 years ago

jimsafley commented 5 years ago

The numeric-input-types branch introduces the following input types: "Numeric timestamp," "Numeric interval," "Numeric duration," and "Numeric integer." These should be available when the NumericDataTypes module is active and the version >= 1.2.0 (when it introduced numeric form elements).

When editing a Collecting form add a prompt. The new input types should be available after selecting the "Item Property," "Item Supplementary," "User Private," or "User Public" prompt types. Test each new input type on public collecting form. They should look and behave identically to those provided by the NumericDataTypes module. After submitting the form, check that the data is correctly saved to the item.

mebrett commented 5 years ago

All of the data comes in as expected.

The data displays in what I suppose is raw(er) format on the collecting tab for the item, which is where you go from the Collecting module section for the site when reviewing collected items. These results aren't always easy to parse - if it's difficult to change what you see on this tab, we can just document the fact that's the raw numeric data as stored and direct people to click over to the Metadata tab for the item

Ex (see "How long" field)

screen shot 2019-02-21 at 1 14 32 pm
jimsafley commented 5 years ago

The connection between the stored data and how it's rendered is tenuous once it's duplicated into the collecting_input table. It's best just to document this as you describe.