Hi Angela, this looks good and I appreciate the detailed documentation on how to install the extension.
One thought I had is that you could move your validation into a new dedicated file, and then leave branch-list.js alone. I did this in my current project, in order to create a centralized location for validation functions so I could apply them in any form. I created validation.js <https://github.com/mradamcox/afrh/blob/master/afrh/media/js/views/forms/sections/validation.js>, and then used it in each form like this <https://github.com/mradamcox/afrh/blob/master/afrh/media/js/views/forms/inventory-evaluation.js> (see lines 5, 9, and 80). I have two basic functions in there now, but have thought that a simple nodeIsDigit() would be good to add. I set things up this way because I didn't want to bloat branch-list.js, in fact, I don't even need it in my app at all. Anyway, the extension looks useful, and I look forward to giving it a try soon. Adam On Wed, May 11, 2016 at 11:12 AM, Alexei Peters <[email protected]> wrote: > Hi Angela, > It's great that you guys were able to extend Arches v3 to support fuzzy > dates. Including fuzzy dates natively has definitely been on our radar and > will be included in v4. > Thanks for contributing back to the community! > Cheers, > Alexei > > > Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 > > On Fri, May 6, 2016 at 2:17 PM, Angela Labrador <[email protected]> wrote: > >> Greetings! >> >> While learning how Arches works and testing it out in house, we found >> that adding Extended Date/Time Format >> <http://www.loc.gov/standards/datetime/pre-submission.html>support to >> Arches date fields would possibly benefit users who need to manage a wider >> range of dates in their inventory system: dates such as "about 1800" or >> date ranges such as "1934 - present". >> >> We've developed a validation function that can handle such date strings >> while maintaining consistency and basic integrity for search in Arches. The >> feature is available to the community at our Github repository along >> with more detailed technical documentation >> <https://github.com/coherit/edtf-arches-hip> for installing and testing. >> Our recent blog article >> <http://www.coherit.com/blog/fuzzy-dates-edtf-arches/> provides some >> background as well. >> >> Please try it out -- we welcome all contributions and issue reports at >> our repo! >> >> Hope this helps out some folks, >> Angela Labrador, PhD. >> Coherit Associates, LLC >> >> -- >> -- To post, send email to [email protected]. To >> unsubscribe, send email to [email protected]. >> For more information, visit >> https://groups.google.com/d/forum/archesproject?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Arches Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > -- To post, send email to [email protected]. To unsubscribe, > send email to [email protected]. For more > information, visit https://groups.google.com/d/forum/archesproject?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Arches Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
