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

[USE CASE] Complex (Structured) Titles and other special Title features #2344

Open
rosiel opened this issue Aug 14, 2024 · 0 comments
Open
Labels
Type: use case proposes a new feature or function for the software using user-first language.

Comments

@rosiel
Copy link
Member

rosiel commented Aug 14, 2024

Overview of Use Case

Starting this issue as a place to store various work that has been done around structured titles, in the hope of making some sort of solution - informal recipe, formal recipe, module, etc. There's no general use case, as some people may need titles divided some ways and others may not. For example, do you need:

  • nonsort characters explicitly enumerated? and naturally, views/solr sorting of the full titles without those characters?
  • a subtitle? That is displayed in the browser as a subtitle, subordinate to the main title?
  • part names and/or numbers? That are displayed in the browser as subordinate to the main title?
  • Views and node displays that show the full title (assembled from multiple parts with appropriate punctuation)

Other things include:

  • a title/subtitle of non-constrained length (>500 characters)? Perhaps there are places where it needs to be truncated for display? (perhaps not a paragraph of <h1> text).
  • HTML In titles (PR)
  • Equations in titles

Examples:

ASU

https://github.com/asulibraries/islandora-repo/blob/develop/web/modules/custom/asu_default_fields/asu_default_fields.module#L133-L157

  • splits into nonSort, title, subtitle using a Paragraph.
  • on node_presave, assembles the parts into the node's title proper (trimming to 255 char)
@rosiel rosiel added the Type: use case proposes a new feature or function for the software using user-first language. label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: use case proposes a new feature or function for the software using user-first language.
Projects
None yet
Development

No branches or pull requests

1 participant