diff options
| author | bobzel <zzzman@gmail.com> | 2023-08-09 15:21:20 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-08-09 15:21:20 -0400 |
| commit | 4c8eee9811abd072d2a6adfe24eaf04f980ccf21 (patch) | |
| tree | 2b790696445a05bdcaf71f6b5c3ef98a2f9c6962 /src/client/views/newlightbox/ExploreView/ExploreView.tsx | |
| parent | 0df2ecc260194b4fcdc37762d945d43bc821b4b0 (diff) | |
updated file system to include recentlyClosed, Shared, and Dashboards and fixed drag drop to make sense for the filesystem. Fixed loading documents to happen in one batch by fixing UPDATE_CACHED_DOCS to save only documents accessible from current dashboard.
Diffstat (limited to 'src/client/views/newlightbox/ExploreView/ExploreView.tsx')
| -rw-r--r-- | src/client/views/newlightbox/ExploreView/ExploreView.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/newlightbox/ExploreView/ExploreView.tsx b/src/client/views/newlightbox/ExploreView/ExploreView.tsx index 44a0bcd5f..a1d6375c4 100644 --- a/src/client/views/newlightbox/ExploreView/ExploreView.tsx +++ b/src/client/views/newlightbox/ExploreView/ExploreView.tsx @@ -12,14 +12,11 @@ export const ExploreView = (props: IExploreView) => { <div className={`exploreView-container`}> {recs && recs.map(rec => { - console.log(rec.embedding, bounds); const x_bound: number = Math.max(Math.abs(bounds.max_x), Math.abs(bounds.min_x)); const y_bound: number = Math.max(Math.abs(bounds.max_y), Math.abs(bounds.min_y)); - console.log(x_bound, y_bound); if (rec.embedding) { const x = (rec.embedding.x / x_bound) * 50; const y = (rec.embedding.y / y_bound) * 50; - console.log(x, y); return ( <div className={`exploreView-doc`} onClick={() => {}} style={{ top: `calc(50% + ${y}%)`, left: `calc(50% + ${x}%)` }}> {rec.title} |
