🔧 Socket.io-zation of the dashboard
This commit is contained in:
@@ -55,6 +55,7 @@ export const ArchiveOperations = (props): ReactElement => {
|
|||||||
|
|
||||||
// sliding panel handlers
|
// sliding panel handlers
|
||||||
const openImageAnalysisPanel = useCallback((imageFilePath) => {
|
const openImageAnalysisPanel = useCallback((imageFilePath) => {
|
||||||
|
console.log(imageFilePath);
|
||||||
setSlidingPanelContentId("imageAnalysis");
|
setSlidingPanelContentId("imageAnalysis");
|
||||||
dispatch(analyzeImage(imageFilePath));
|
dispatch(analyzeImage(imageFilePath));
|
||||||
setCurrentImage(imageFilePath);
|
setCurrentImage(imageFilePath);
|
||||||
@@ -90,7 +91,9 @@ export const ArchiveOperations = (props): ReactElement => {
|
|||||||
<Sticky enabled={true} top={70} bottomBoundary={3000}>
|
<Sticky enabled={true} top={70} bottomBoundary={3000}>
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<div className="card-content">
|
<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">
|
<button className="button is-small is-light is-primary is-outlined">
|
||||||
<span className="icon is-small">
|
<span className="icon is-small">
|
||||||
<i className="fa-solid fa-compress"></i>
|
<i className="fa-solid fa-compress"></i>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export const PullList = ({ issues }: PullListProps): ReactElement => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
dispatch(
|
dispatch(
|
||||||
getWeeklyPullList({
|
getWeeklyPullList({
|
||||||
startDate: "2022-4-13",
|
startDate: "2022-5-1",
|
||||||
pageSize: "15",
|
pageSize: "15",
|
||||||
currentPage: "1",
|
currentPage: "1",
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user