ryot icon indicating copy to clipboard operation
ryot copied to clipboard

Display extra information in the collection contents page

Open EweSparky opened this issue 10 months ago • 9 comments

I can create a collection with a custom field, but I can't do anything with the data entered into those fields once I add an item to that collection.

It would be great if I could view that data, either when viewing the individual item (perhaps a tab showing collection custom fields), and/or when viewing a collection (perhaps as a row/column adjacent to each item).

I should also be able to search and filter that data like I can any other field.

Finally, it'd be nice to have a list custom field type, where a dynamic drop-down list is used and populated with existing entries. New entries can be added by typing into the field and saving, rather than selecting an existing item. This sort of thing would be useful for where the values can change, but the phrasing is always the same. For example:

collection: Platforms
custom_list_name: platform_name
custom_description: Which platform or service did I buy this on or stream it on?
custom_list_entries: [
  Amazon Prime,
  Apple TV,
  Netflix
]

collection: Recommended
custom_list_name: recommender_name
custom_description: Who recommended it to me?
custom_list_entries: [
  Bob,
  Mary
]

then later on, I might search for a movie available on Shudder recommended by John. I could add the movie to the Platforms collection and type in Shudder for the platform name, and add it to the Recommended collection and type in John for who recommended it to me. If John recommended a second movie available on Shudder some other day, I would be able to select Shudder and John from the respective collections because the drop-down menu of list items looks up all unique values and displays them (alphabetically).

EweSparky avatar Jan 26 '25 11:01 EweSparky

Viewing the data is an important feature. Otherwise, one can't do anything with the entered data.

I created a "Notes" collection (like suggested in https://github.com/IgnisDa/ryot/issues/762), where there's a text field I can write any notes to an item. But I realized now I can't see the notes anywhere, defeating the purpose of having notes.

hockdudu avatar Jan 26 '25 16:01 hockdudu

I agree. @EweSparky @hockdudu Do you have an example screenshot that I can refer that displays similar data well? I do not have any ideas on how the UI should look like and would love some inspiration.

Also @EweSparky, please create a new issue for the list field collection information type.

IgnisDa avatar Jan 29 '25 01:01 IgnisDa

@IgnisDa Hmm, I don't have any screenshot.

But I can imagine something simple like an "note" or "info" icon on the tags, which one can click on and a modal opens, would suffice. Any way to view the metadata is better than none.

Alternatively, a new tab in the detail view could be used to show all data at once. I'm not sure what name would be fitting, though (I thought of "Metadat", but that's probably too generic).

hockdudu avatar Feb 01 '25 11:02 hockdudu

Also @EweSparky, please create a new issue for the list field collection information type.

@IgnisDa see #1230

EweSparky avatar Feb 02 '25 08:02 EweSparky

@IgnisDa I don't have a screenshot, just a rough idea in my mind... something like:


Media Item Page:

tabs: Overview | Actions | History | Seasons | Reviews | Suggestions | Videos | Watch On | Custom Fields


Custom Fields Tab:

table showing:

Collection Custom Field Name Custom Field Value Required Action
Top Rated Recommender Name Bob from work N Edit | Delete
Top Rated Times I've Recommended It 3 N Edit | Delete
Purchases Purchase Date 2025-01-25 Y Edit | Delete
Purchases Platform Apple TV,Blu-ray Y Edit | Delete
Purchases Shelf Digital,Media room bookcase Y Edit | Delete

There would need to be some logic checks around ensuring required fields remain fulfilled if deleting an entry, and that items aren't unintentionally removed from collections because a required field is now null.


Collections Page:

I think this really only makes if/when collections support a list view, where such an existing table could be optionally expanded to show custom fields.

EweSparky avatar Feb 02 '25 09:02 EweSparky

Hi @EweSparky and @hockdudu! I am starting to work on this. Would you be willing to DM me a dump of your DB on discord (in readme)/email (in profile)? I do not use the extra information feature myself so don't have enough data to account for edge cases. Thanks.

IgnisDa avatar Feb 14 '25 02:02 IgnisDa

Part of this is now available on main. This is what it looks like: https://github.com/user-attachments/assets/00aaa95d-0c35-402b-88f2-79051a89870e

I am working on a table view for the collection contents page.

IgnisDa avatar Jul 03 '25 02:07 IgnisDa

Any chance this additional information will make its way into filters too? For example, adding additional information for if a book is signed or not and then being able to filter to show all signed books.

Treygec avatar Oct 09 '25 06:10 Treygec

That's a good idea. Please create a new issue for this.

On Thu, Oct 9, 2025, 11:44 AM George (Trey) Corple @.***> wrote:

Treygec left a comment (IgnisDa/ryot#1206) https://github.com/IgnisDa/ryot/issues/1206#issuecomment-3384272398

Any chance this additional information will make its way into filters too? For example, adding additional information for if a book is signed or not and then being able to filter to show all signed books.

— Reply to this email directly, view it on GitHub https://github.com/IgnisDa/ryot/issues/1206#issuecomment-3384272398, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOQ5PNEGICKGJ5QI5NPZPWL3WX4LPAVCNFSM6AAAAABV4KQSOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGOBUGI3TEMZZHA . You are receiving this because you were mentioned.Message ID: @.***>

IgnisDa avatar Oct 09 '25 06:10 IgnisDa