💚 End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Revert "Revert "Workbench""
Manav Rathi43c0d8a6ad48
diff --git a/web/apps/photos/src/pages/_app.tsx b/web/apps/photos/src/pages/_app.tsxindex e5b919e622..c514df101f 100644--- a/web/apps/photos/src/pages/_app.tsx+++ b/web/apps/photos/src/pages/_app.tsx@@ -51,9 +51,9 @@ import { useCallback, useEffect, useMemo, useState } from "react";import { resumeExportsIfNeeded } from "services/export";import { photosLogout } from "services/logout";-import "photoswipe/dist/photoswipe.css";+// import "photoswipe/dist/photoswipe.css";// TODO(PS): Note, auto hide only works with the new CSS.-// import "../../../../packages/new/photos/components/ps5/dist/photoswipe.css";+import "../../../../packages/new/photos/components/ps5/dist/photoswipe.css";import "styles/global.css";diff --git a/web/apps/photos/src/styles/global.css b/web/apps/photos/src/styles/global.cssindex 38d9241ba2..e15e672a24 100644--- a/web/apps/photos/src/styles/global.css+++ b/web/apps/photos/src/styles/global.css@@ -12,7 +12,7 @@ body {flex-direction: column;height: 100%;}-+@media DISABLED {.pswp__button--custom {width: 48px;height: 48px;@@ -114,6 +114,7 @@ body {.pswp__caption--empty {display: none;}+}/*Make the controllable video elements we render as custom PhotoSwipe contentdiff --git a/web/packages/new/photos/components/FileViewerPhotoSwipe.tsx b/web/packages/new/photos/components/FileViewerPhotoSwipe.tsxindex db1771f379..22b37ca2fd 100644--- a/web/packages/new/photos/components/FileViewerPhotoSwipe.tsx+++ b/web/packages/new/photos/components/FileViewerPhotoSwipe.tsx@@ -28,7 +28,7 @@ if (process.env.NEXT_PUBLIC_ENTE_WIP_PS5) {let PhotoSwipe;if (process.env.NEXT_PUBLIC_ENTE_WIP_PS5) {// TODO(PS): Comment me before merging into main.- // PhotoSwipe = require("./ps5/dist/photoswipe.esm.js").default;+ PhotoSwipe = require("./ps5/dist/photoswipe.esm.js").default;}// TODO(PS)://import { type SlideData } from "./ps5/dist/types/slide/"