From 5c17508a78d52fef355f2a71b12d59b027535a0d Mon Sep 17 00:00:00 2001 From: Monika Date: Wed, 26 Jun 2019 14:54:46 -0400 Subject: need to look at master --- src/client/views/collections/collectionFreeForm/MarqueeView.tsx | 2 +- src/client/views/search/Pager.tsx | 4 ++-- src/client/views/search/SearchBox.scss | 7 ++++--- src/client/views/search/SearchBox.tsx | 4 ++-- src/server/index.ts | 3 +++ 5 files changed, 12 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx index 9bfe9d7e1..2b8abeffa 100644 --- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx +++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx @@ -14,7 +14,7 @@ import { Transform } from "../../../util/Transform"; import { undoBatch } from "../../../util/UndoManager"; import { InkingCanvas } from "../../InkingCanvas"; import { PreviewCursor } from "../../PreviewCursor"; -import { SearchBox } from "../../search/FilterBox"; +import { FilterBox } from "../../search/FilterBox"; import { Templates } from "../../Templates"; import { CollectionViewType } from "../CollectionBaseView"; import { CollectionFreeFormView } from "./CollectionFreeFormView"; diff --git a/src/client/views/search/Pager.tsx b/src/client/views/search/Pager.tsx index 258f112b9..e7d3b810f 100644 --- a/src/client/views/search/Pager.tsx +++ b/src/client/views/search/Pager.tsx @@ -59,7 +59,7 @@ export class Pager extends React.Component {
+ onMouseEnter = {this.mouseInLeft} onMouseLeave = {this.mouseOutLeft}>
@@ -67,7 +67,7 @@ export class Pager extends React.Component {
+ onMouseEnter = {this.mouseInRight} onMouseLeave = {this.mouseOutRight}>
diff --git a/src/client/views/search/SearchBox.scss b/src/client/views/search/SearchBox.scss index 2a27bbe62..7541b328a 100644 --- a/src/client/views/search/SearchBox.scss +++ b/src/client/views/search/SearchBox.scss @@ -46,9 +46,10 @@ display: flex; flex-direction: column; margin-right: 72px; - height: 560px; - overflow: hidden; - overflow-y: auto; + // height: 560px; + height: 100%; + // overflow: hidden; + // overflow-y: auto; .no-result { width: 500px; diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index 154e0b7b6..dbaa6eba2 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -198,9 +198,9 @@ export class SearchBox extends React.Component { ) : this._openNoResults ? (
No Search Results
) : null} - {/*
+
-
*/} +
); } diff --git a/src/server/index.ts b/src/server/index.ts index e645e29b4..9d5bfcc93 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -43,6 +43,7 @@ import { Response } from 'express-serve-static-core'; const MongoStore = require('connect-mongo')(session); const mongoose = require('mongoose'); const probe = require("probe-image-size"); +var shell = require('shelljs'); const download = (url: string, dest: fs.PathLike) => request.get(url).pipe(fs.createWriteStream(dest)); @@ -139,6 +140,8 @@ app.get("/pull", (req, res) => })); // SEARCH +const solrURL = "http://localhost:8983/solr/#/dash"; +shell.echo("sorry this requires git") // GETTERS -- cgit v1.2.3-70-g09d2