diff --git a/src/client/components/Library/Library.tsx b/src/client/components/Library/Library.tsx
index 3d4bde2..299316e 100644
--- a/src/client/components/Library/Library.tsx
+++ b/src/client/components/Library/Library.tsx
@@ -152,10 +152,10 @@ export const Library = (): ReactElement => {
accessorKey: "_source.createdAt",
cell: (info) => {
return !isNil(info.getValue()) ? (
-
-
{format(parseISO(info.getValue()), "dd MMMM, yyyy")}
- {format(parseISO(info.getValue()), "h aaaa")}
-
+
+
+ {format(parseISO(info.getValue()), "dd MMM yyyy, h:mm a")}
+
) : null;
},
},
@@ -164,23 +164,25 @@ export const Library = (): ReactElement => {
accessorKey: "_source.acquisition",
cell: (info) => (
-
-
-
+ {/* DC++ Downloads */}
+ {info.getValue().directconnect?.downloads?.length > 0 ? (
+
+
+
+ DC++: {info.getValue().directconnect.downloads.length}
+
-
- DC++: {info.getValue().directconnect.downloads.length}
-
-
+ ) : null}
-
-
-
+ {/* Torrent Downloads */}
+ {info.getValue().torrent.length > 0 ? (
+
+
+
+ Torrent: {info.getValue().torrent.length}
+
-
- Torrent: {info.getValue().torrent.length}
-
-
+ ) : null}
),
},
diff --git a/src/client/components/Search/Search.tsx b/src/client/components/Search/Search.tsx
index 29d75e7..765f62c 100644
--- a/src/client/components/Search/Search.tsx
+++ b/src/client/components/Search/Search.tsx
@@ -271,23 +271,22 @@ export const Search = ({}: ISearchProps): ReactElement => {
return result.resource_type === "issue" ? (
{/* IMAGE */}
-
+
+
+
{/* RIGHT-SIDE CONTENT */}
{/* TITLE */}
-
+
{result.volume?.name || No Name}
@@ -335,9 +334,10 @@ export const Search = ({}: ISearchProps): ReactElement => {
)}
)}
+
{/* CTA BUTTON */}
- {result.volume.name ? (
-
+ {result.volume.name && (
+
@@ -350,14 +350,14 @@ export const Search = ({}: ISearchProps): ReactElement => {
}
/>
- ) : null}
+ )}
) : (
result.resource_type === "volume" && (
{/* LEFT COLUMN: COVER */}
{
{inferredMetadata.issue.number && (
-
-
+
+
{inferredMetadata.issue.number}
)}
-
-
+
+
{rawFileDetails.mimeType}
-
-
+
+
{prettyBytes(rawFileDetails.fileSize)}
@@ -98,43 +98,48 @@ export const MetadataPanel = (props: MetadataPanelProps): ReactElement => {
{
name: "comicvine",
content: () => {
- console.log("comicvine:", comicvine);
- console.log("volumeInformation:", comicvine?.volumeInformation);
return (
!isUndefined(comicvine?.volumeInformation) && (
-
- -
-
- {ellipsize(issueName, 18)}
-
+
+ {/* Title */}
+ -
+ {ellipsize(issueName, 28)}
+
+ {/* Volume Name */}
-
-
- Is a part of{" "}
-
+
+ Part of{" "}
+
{comicvine.volumeInformation.name}
- -
-
- {ellipsize(
- convert(comicvine.description || "", {
- baseElements: { selectors: ["p"] },
- }),
- 120,
- )}
-
+
+ {/* Description */}
+
-
+ {ellipsize(
+ convert(comicvine.description || "", {
+ baseElements: { selectors: ["p"] },
+ }),
+ 160,
+ )}
- -
-
+
+ {/* Misc Info */}
+
-
+
+
{comicvine.volumeInformation.start_year}
- {comicvine.volumeInformation.count_of_issues}
- ComicVine ID: {comicvine.id}
+
+
+ {comicvine.volumeInformation.count_of_issues} issues
+
+
+
+ ID: {comicvine.id}
+
)
@@ -187,6 +192,7 @@ export const MetadataPanel = (props: MetadataPanelProps): ReactElement => {
orientation="cover-only"
hasDetails={false}
imageStyle={props.imageStyle}
+ cardContainerStyle={{ width: "190px", maxWidth: "230px" }}
/>
{metadataPanel?.content()}