Skip to content
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

Meta-Issue: EDTF dates #1748

Open
kspurgin opened this issue Feb 5, 2021 · 7 comments
Open

Meta-Issue: EDTF dates #1748

kspurgin opened this issue Feb 5, 2021 · 7 comments
Labels
Subject: Dates related to managing dates in Islandora. Consider also using the search and metadata tags. Subject: Metadata related to metadata issues. Consider also using the search tag. Type: Meta-issue Identifies multiple related tickets for ease

Comments

@kspurgin
Copy link
Contributor

kspurgin commented Feb 5, 2021

This is a meta issue to track developments and issues with regard to EDTF date form widget, validation, display, and indexing.

Please refer to this issue in any subsequent issues to link them.

Spreadsheet documenting EDTF-related behavior here: https://docs.google.com/spreadsheets/d/1cx2KTkELqCDxczIVQw6La_PTSgmqMj_KEr6dIKvszYg/edit#gid=0

@seth-shaw-unlv
Copy link
Contributor

Thanks for documenting all of these @kspurgin. We really need to write a set of tests to cover all these cases. I'm not sure when I'll be able to work through any of these, but I'm happy to review PRs if they come up.

@kspurgin
Copy link
Contributor Author

kspurgin commented Feb 5, 2021

I was thinking some of the simpler display things might be easy enough for meet to try fixing.

But at least the behavior is captured/documented now!

@seth-shaw-unlv
Copy link
Contributor

@nigelgbanks recently pointed out some EDTF PHP libraries in Slack:

The former looks to be currently maintained while the latter hasn't been touched in several years.

That said, we should probably do a head-to-head comparison and see if we can 🔥 much of our code in favor of one of these libraries.

@dannylamb
Copy link
Contributor

image

@seth-shaw-unlv
Copy link
Contributor

seth-shaw-unlv commented Apr 21, 2021

So, ProfessionalWiki/EDTF looks nice. We could burn most of our code and it gives us a bit more functionality than we already have. I'm especially interested in the min and max functions it provides.

However, it requires PHP 7.4. I think this is fine for new installs of the next release. Existing sites that want to upgrade their islandora should be fine, but they wouldn't be able to upgrade their islandora_defaults (which I think we are also saying is okay) if they want to keep PHP 7.3. (Edit: or maybe they could upgrade defaults if we don't update the version tagged for controlled_access_terms and simply don't use any new controlled_access_terms features in this release) Thoughts, @Islandora/8-x-committers?

@DiegoPino
Copy link
Contributor

@seth-shaw-unlv we are using it in Archipelago and its a great choice.

@seth-shaw-unlv
Copy link
Contributor

seth-shaw-unlv commented Apr 22, 2021

I mentioned to @kspurgin above that we needed tests for identified issues. Turns out that we already do have tests, we just need to add these to the list. We've had this initial test set since last September. 🤦‍♂️

Not that the test only tests validation... not expected formatter display.

@kstapelfeldt kstapelfeldt added Subject: Dates related to managing dates in Islandora. Consider also using the search and metadata tags. Type: Meta-issue Identifies multiple related tickets for ease Subject: Metadata related to metadata issues. Consider also using the search tag. and removed dates labels Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Subject: Dates related to managing dates in Islandora. Consider also using the search and metadata tags. Subject: Metadata related to metadata issues. Consider also using the search tag. Type: Meta-issue Identifies multiple related tickets for ease
Projects
Development

No branches or pull requests

5 participants