🎛 Metadata panel WIP

This commit is contained in:
2022-05-23 23:01:20 -07:00
parent d80c672cd1
commit 33976f0f63
2 changed files with 19 additions and 5 deletions

View File

@@ -49,15 +49,12 @@ export const RecentlyImported = ({
source: { name }, source: { name },
}, },
}) => { }) => {
const consolidatedComicMetadata = { const { issueName, url } = determineCoverFile({
rawFileDetails, rawFileDetails,
comicvine, comicvine,
comicInfo, comicInfo,
locg, locg,
}; });
const { issueName, url } = determineCoverFile(
consolidatedComicMetadata,
);
const { issue, coverURL, icon } = determineExternalMetadata(name, { const { issue, coverURL, icon } = determineExternalMetadata(name, {
comicvine, comicvine,
comicInfo, comicInfo,

View File

@@ -0,0 +1,17 @@
import PropTypes from "prop-types";
import ellipsize from "ellipsize";
import convert from "html-to-text";
import { escapePoundSymbol } from "../../shared/utils/formatting.utils";
import prettyBytes from "pretty-bytes";
import { LIBRARY_SERVICE_HOST } from "../../constants/endpoints";
import { Card } from "../Carda";
interface IMetadatPanelProps {
}
export const MetadataPanel = (props: IMetadatPanelProps): ReactElement => {
};
export default MetadataPanel;