CollectionVerseCard
Displays a single verse within a collection with options to view or remove it.Props
The unique identifier for this collection verse entry
Unix timestamp of when this verse was added to the collection
The Bible verse reference (e.g., “GEN.1.1”)
The Bible translation ID
The chapter ID where this verse is located
The actual text content of the verse
The ID of the collection this verse belongs to
The ID of the user who owns this collection
Usage Example
Features
- Hover effect with accent background
- Click to navigate to verse in Bible
- Delete button appears on hover
- Displays verse text and reference
- Responsive design with proper spacing
The card includes a link to view the verse in context within the Bible reader, preserving the Bible translation, chapter, and verse parameters.
AddToCollectionDialog
A dialog component for adding a verse to one or more collections.Props
The text content of the verse to be added
The Bible verse reference
The chapter ID containing the verse
The Bible translation ID
The element that opens the dialog when clicked
Usage Example
Features
- Displays all available collections for the user
- Loading states during fetch and save operations
- Scrollable list for many collections
- Individual loading indicators per collection
- Empty state when no collections exist
- Automatic dialog close after selection
Users must create at least one collection before they can add verses. The dialog will display a helpful message if no collections are found.