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

Song indices #3

Open
cmmartti opened this issue Sep 23, 2021 · 0 comments
Open

Song indices #3

cmmartti opened this issue Sep 23, 2021 · 0 comments

Comments

@cmmartti
Copy link
Owner

There needs to be a way to scroll through a listing of each song in a hymnal. The hymnal XML data format already supports index data, including index names ("Index of Tunes", etc.), so this is purely a UI consideration. How will the index be displayed? There is already an indices menu on the document page that lists each index, but what happens when a menu item is tapped is still to be determined.

What is an Index?

An index is a listing of entries grouped by a particular piece of information. Different indices have different grouping. Within a group, each entry is also sorted, either alphabetically or otherwise. For hymnals specifically, there are quite a few indexes that could be available:

  • Grouped alphabetically by title/first line, with alphabetical sorting
  • Grouped by tune, with # sorting
  • Grouped by author, with # sorting
  • Grouped by translator, with # sorting
  • Grouped by topic, with # sorting
  • Grouped by day, with # sorting

Note that some indexes have the same entry in multiple groups, or with some entries not present at all.

Alternative options

Perhaps it would be simpler to add a "Listing" view that has controls for grouping and sorting that the user can control directly. But there's really no reason to do this because it's rare that someone would want to change the sorting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant