🎛 Metadata panel WIP
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
17
src/client/components/shared/MetadataPanel.tsx
Normal file
17
src/client/components/shared/MetadataPanel.tsx
Normal 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;
|
||||||
Reference in New Issue
Block a user