🔧 Socket.io-zation of the dashboard

This commit is contained in:
2022-05-01 16:45:58 -07:00
parent 1fab50a92a
commit bb54f3e107
2 changed files with 5 additions and 2 deletions

View File

@@ -55,6 +55,7 @@ export const ArchiveOperations = (props): ReactElement => {
// sliding panel handlers
const openImageAnalysisPanel = useCallback((imageFilePath) => {
console.log(imageFilePath);
setSlidingPanelContentId("imageAnalysis");
dispatch(analyzeImage(imageFilePath));
setCurrentImage(imageFilePath);
@@ -90,7 +91,9 @@ export const ArchiveOperations = (props): ReactElement => {
<Sticky enabled={true} top={70} bottomBoundary={3000}>
<div className="card">
<div className="card-content">
{extractedComicBookArchive.length} pages
<span className="has-text-size-4">
{extractedComicBookArchive.length} pages
</span>
<button className="button is-small is-light is-primary is-outlined">
<span className="icon is-small">
<i className="fa-solid fa-compress"></i>

View File

@@ -19,7 +19,7 @@ export const PullList = ({ issues }: PullListProps): ReactElement => {
useEffect(() => {
dispatch(
getWeeklyPullList({
startDate: "2022-4-13",
startDate: "2022-5-1",
pageSize: "15",
currentPage: "1",
}),