π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Normalize web source file names
Manav Rathicba57164693f
diff --git a/web/apps/albums/src/public-album/access/hooks/useJoinAlbum.ts b/web/apps/albums/src/public-album/access/hooks/use-join-album.tssimilarity index 100%rename from web/apps/albums/src/public-album/access/hooks/useJoinAlbum.tsrename to web/apps/albums/src/public-album/access/hooks/use-join-album.tsdiff --git a/web/apps/albums/src/public-album/components/TripLayout/TripMap.tsx b/web/apps/albums/src/public-album/components/TripLayout/TripMap.tsxindex b78c561f9d..414993bb65 100644--- a/web/apps/albums/src/public-album/components/TripLayout/TripMap.tsx+++ b/web/apps/albums/src/public-album/components/TripLayout/TripMap.tsx@@ -3,7 +3,7 @@ import "leaflet/dist/leaflet.css";import { useEffect, useState } from "react";import { MapEvents } from "./MapEvents";-import { createIcon, getMapCenter } from "./mapHelpers";+import { createIcon, getMapCenter } from "./map-helpers";import type { JourneyPoint } from "./types";interface MapComponentsType {diff --git a/web/apps/albums/src/public-album/components/TripLayout/hooks/useDataProcessing.ts b/web/apps/albums/src/public-album/components/TripLayout/hooks/use-data-processing.tssimilarity index 99%rename from web/apps/albums/src/public-album/components/TripLayout/hooks/useDataProcessing.tsrename to web/apps/albums/src/public-album/components/TripLayout/hooks/use-data-processing.tsindex 170a30ca47..e5a1cf134d 100644--- a/web/apps/albums/src/public-album/components/TripLayout/hooks/useDataProcessing.ts+++ b/web/apps/albums/src/public-album/components/TripLayout/hooks/use-data-processing.ts@@ -4,7 +4,7 @@ import type { EnteFile } from "ente-media/file";import { useEffect, useRef } from "react";import type { JourneyPoint } from "../types";-import { loadCoverImage, processPhotosData } from "../utils/dataProcessing";+import { loadCoverImage, processPhotosData } from "../utils/data-processing";export interface UseDataProcessingParams {files: EnteFile[];diff --git a/web/apps/albums/src/public-album/components/TripLayout/hooks/useFileViewer.ts b/web/apps/albums/src/public-album/components/TripLayout/hooks/use-file-viewer.tssimilarity index 100%rename from web/apps/albums/src/public-album/components/TripLayout/hooks/useFileViewer.tsrename to web/apps/albums/src/public-album/components/TripLayout/hooks/use-file-viewer.tsdiff --git a/web/apps/albums/src/public-album/components/TripLayout/hooks/useLocationFetching.ts b/web/apps/albums/src/public-album/components/TripLayout/hooks/use-location-fetching.tssimilarity index 97%rename from web/apps/albums/src/public-album/components/TripLayout/hooks/useLocationFetching.tsrename to web/apps/albums/src/public-album/components/TripLayout/hooks/use-location-fetching.tsindex a2c17da45c..b8d3816712 100644--- a/web/apps/albums/src/public-album/components/TripLayout/hooks/useLocationFetching.ts+++ b/web/apps/albums/src/public-album/components/TripLayout/hooks/use-location-fetching.ts@@ -1,7 +1,7 @@import { useEffect, useRef } from "react";import type { JourneyPoint } from "../types";-import { fetchLocationNames } from "../utils/dataProcessing";+import { fetchLocationNames } from "../utils/data-processing";export interface UseLocationFetchingParams {photoClusters: JourneyPoint[][];diff --git a/web/apps/albums/src/public-album/components/TripLayout/hooks/useScrollHandling.ts b/web/apps/albums/src/public-album/components/TripLayout/hooks/use-scroll-handling.tssimilarity index 99%rename from web/apps/albums/src/public-album/components/TripLayout/hooks/useScrollHandling.tsrename to web/apps/albums/src/public-album/components/TripLayout/hooks/use-scroll-handling.tsindex 865eb375b1..ac35723d82 100644--- a/web/apps/albums/src/public-album/components/TripLayout/hooks/useScrollHandling.ts+++ b/web/apps/albums/src/public-album/components/TripLayout/hooks/use-scroll-handling.ts@@ -8,7 +8,7 @@ import {scrollTimelineToLocation,updateLocationPositions,type PositionInfo,-} from "../utils/scrollUtils";+} from "../utils/scroll-utils";export interface UseScrollHandlingParams {timelineRef: React.RefObject<HTMLDivElement | null>;diff --git a/web/apps/albums/src/public-album/components/TripLayout/hooks/useThumbnailGeneration.ts b/web/apps/albums/src/public-album/components/TripLayout/hooks/use-thumbnail-generation.tssimilarity index 97%rename from web/apps/albums/src/public-album/components/TripLayout/hooks/useThumbnailGeneration.tsrename to web/apps/albums/src/public-album/components/TripLayout/hooks/use-thumbnail-generation.tsindex 292450f197..375506f4a4 100644--- a/web/apps/albums/src/public-album/components/TripLayout/hooks/useThumbnailGeneration.ts+++ b/web/apps/albums/src/public-album/components/TripLayout/hooks/use-thumbnail-generation.ts@@ -3,7 +3,7 @@ import type { EnteFile } from "ente-media/file";import { useEffect, useRef } from "react";import type { JourneyPoint } from "../types";-import { generateNeededThumbnails } from "../utils/dataProcessing";+import { generateNeededThumbnails } from "../utils/data-processing";export interface UseThumbnailGenerationParams {photoClusters: JourneyPoint[][];diff --git a/web/apps/albums/src/public-album/components/TripLayout/index.tsx b/web/apps/albums/src/public-album/components/TripLayout/index.tsxindex f5e4fbc483..0634915738 100644--- a/web/apps/albums/src/public-album/components/TripLayout/index.tsx+++ b/web/apps/albums/src/public-album/components/TripLayout/index.tsx@@ -1,4 +1,4 @@-import { useJoinAlbum } from "@/public-album/access/hooks/useJoinAlbum";+import { useJoinAlbum } from "@/public-album/access/hooks/use-join-album";import { ActiveDownloadStatusNotifications } from "@/public-album/download/components/ActiveDownloadStatusNotifications";import type { FileViewerInitialSidebar } from "@/public-album/viewer/components/FileViewer";import type { PublicFeedItemClickInfo } from "@/public-album/viewer/components/PublicFeedSidebar";@@ -25,14 +25,14 @@ import { TimelineProgressLine } from "./TimelineProgressLine";import { TopNavButtons } from "./TopNavButtons";import { TripCover } from "./TripCover";-import { useDataProcessing } from "./hooks/useDataProcessing";-import { useFileViewer } from "./hooks/useFileViewer";-import { useLocationFetching } from "./hooks/useLocationFetching";-import { useScrollHandling } from "./hooks/useScrollHandling";-import { useThumbnailGeneration } from "./hooks/useThumbnailGeneration";+import { useDataProcessing } from "./hooks/use-data-processing";+import { useFileViewer } from "./hooks/use-file-viewer";+import { useLocationFetching } from "./hooks/use-location-fetching";+import { useScrollHandling } from "./hooks/use-scroll-handling";+import { useThumbnailGeneration } from "./hooks/use-thumbnail-generation";import type { JourneyPoint } from "./types";-import type { PositionInfo } from "./utils/scrollUtils";+import type { PositionInfo } from "./utils/scroll-utils";export interface TripLayoutProps {files: EnteFile[];@@ -212,7 +212,7 @@ export const TripLayout: React.FC<TripLayoutProps> = ({});if (journeyData.length > 0) {- void import("./mapHelpers").then(+ void import("./map-helpers").then(({ clusterPhotosByProximity, calculateOptimalZoom }) => {const clusters = clusterPhotosByProximity(journeyData);diff --git a/web/apps/albums/src/public-album/components/TripLayout/mapHelpers.ts b/web/apps/albums/src/public-album/components/TripLayout/map-helpers.tssimilarity index 100%rename from web/apps/albums/src/public-album/components/TripLayout/mapHelpers.tsrename to web/apps/albums/src/public-album/components/TripLayout/map-helpers.tsdiff --git a/web/apps/albums/src/public-album/components/TripLayout/utils/dataProcessing.ts b/web/apps/albums/src/public-album/components/TripLayout/utils/data-processing.tssimilarity index 100%rename from web/apps/albums/src/public-album/components/TripLayout/utils/dataProcessing.tsrename to web/apps/albums/src/public-album/components/TripLayout/utils/data-processing.tsdiff --git a/web/apps/albums/src/public-album/components/TripLayout/utils/scrollUtils.ts b/web/apps/albums/src/public-album/components/TripLayout/utils/scroll-utils.tssimilarity index 99%rename from web/apps/albums/src/public-album/components/TripLayout/utils/scrollUtils.tsrename to web/apps/albums/src/public-album/components/TripLayout/utils/scroll-utils.tsindex faf5dec7e9..425777a4bc 100644--- a/web/apps/albums/src/public-album/components/TripLayout/utils/scrollUtils.ts+++ b/web/apps/albums/src/public-album/components/TripLayout/utils/scroll-utils.ts@@ -1,6 +1,6 @@import { startTransition } from "react";-import { calculateDistance, getLocationPosition } from "../mapHelpers";+import { calculateDistance, getLocationPosition } from "../map-helpers";import type { JourneyPoint } from "../types";export interface PositionInfo {diff --git a/web/apps/albums/src/public-album/viewer/components/CommentsSidebar.tsx b/web/apps/albums/src/public-album/viewer/components/CommentsSidebar.tsxindex 49e5bd6f36..2cd1453cf8 100644--- a/web/apps/albums/src/public-album/viewer/components/CommentsSidebar.tsx+++ b/web/apps/albums/src/public-album/viewer/components/CommentsSidebar.tsx@@ -9,7 +9,7 @@ import {deletePublicReaction,getStoredAnonIdentity,} from "@/public-album/social/api/public-reaction";-import { useBrowserBackClose } from "@/shared/hooks/useBrowserBackClose";+import { useBrowserBackClose } from "@/shared/hooks/use-browser-back-close";import CloseIcon from "@mui/icons-material/Close";import {Avatar,diff --git a/web/apps/albums/src/public-album/viewer/components/LikesSidebar.tsx b/web/apps/albums/src/public-album/viewer/components/LikesSidebar.tsxindex 28d55c1800..397fbbe0d1 100644--- a/web/apps/albums/src/public-album/viewer/components/LikesSidebar.tsx+++ b/web/apps/albums/src/public-album/viewer/components/LikesSidebar.tsx@@ -1,6 +1,6 @@import { downloadManager } from "@/public-album/download/services/download-manager";import { getStoredAnonIdentity } from "@/public-album/social/api/public-reaction";-import { useBrowserBackClose } from "@/shared/hooks/useBrowserBackClose";+import { useBrowserBackClose } from "@/shared/hooks/use-browser-back-close";import CloseIcon from "@mui/icons-material/Close";import {Avatar,diff --git a/web/apps/albums/src/public-album/viewer/components/PublicFeedSidebar.tsx b/web/apps/albums/src/public-album/viewer/components/PublicFeedSidebar.tsxindex 1f7ff19151..dede068350 100644--- a/web/apps/albums/src/public-album/viewer/components/PublicFeedSidebar.tsx+++ b/web/apps/albums/src/public-album/viewer/components/PublicFeedSidebar.tsx@@ -6,7 +6,7 @@ import {type PublicFeedComment,type PublicFeedReaction,} from "@/public-album/social/api/public-reaction";-import { useBrowserBackClose } from "@/shared/hooks/useBrowserBackClose";+import { useBrowserBackClose } from "@/shared/hooks/use-browser-back-close";import CloseIcon from "@mui/icons-material/Close";import {Avatar,diff --git a/web/apps/albums/src/shared/hooks/useBrowserBackClose.ts b/web/apps/albums/src/shared/hooks/use-browser-back-close.tssimilarity index 100%rename from web/apps/albums/src/shared/hooks/useBrowserBackClose.tsrename to web/apps/albums/src/shared/hooks/use-browser-back-close.tsdiff --git a/web/apps/auth/src/featureFlags.ts b/web/apps/auth/src/feature-flags.tssimilarity index 100%rename from web/apps/auth/src/featureFlags.tsrename to web/apps/auth/src/feature-flags.tsdiff --git a/web/apps/auth/src/pages/change-password.tsx b/web/apps/auth/src/pages/change-password.tsxindex 09aae08eb9..1b8c9695f5 100644--- a/web/apps/auth/src/pages/change-password.tsx+++ b/web/apps/auth/src/pages/change-password.tsx@@ -1,6 +1,6 @@import { SetPasswordForm } from "@/components/auth/SetPasswordForm";import { AuthShell } from "@/components/AuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import type { NewPasswordPresentationProps } from "ente-accounts/components/NewPasswordForm";import AccountsChangePasswordPage from "ente-accounts/pages/change-password";import type React from "react";diff --git a/web/apps/auth/src/pages/credentials.tsx b/web/apps/auth/src/pages/credentials.tsxindex 76351090b3..12f6d19716 100644--- a/web/apps/auth/src/pages/credentials.tsx+++ b/web/apps/auth/src/pages/credentials.tsx@@ -4,7 +4,7 @@ import {} from "@/components/auth/CredentialsForm";import { SecondFactorChoiceDialog } from "@/components/auth/SecondFactorChoiceDialog";import { AuthShell } from "@/components/AuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsCredentialsPage, {type CredentialsPresentationProps,} from "ente-accounts/pages/credentials";diff --git a/web/apps/auth/src/pages/generate.tsx b/web/apps/auth/src/pages/generate.tsxindex f364077dcc..404b48940b 100644--- a/web/apps/auth/src/pages/generate.tsx+++ b/web/apps/auth/src/pages/generate.tsx@@ -1,7 +1,7 @@import { RecoveryKeyForm } from "@/components/auth/RecoveryKeyForm";import { SetPasswordForm } from "@/components/auth/SetPasswordForm";import { AuthShell } from "@/components/AuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import type { NewPasswordPresentationProps } from "ente-accounts/components/NewPasswordForm";import type { RecoveryKeyPresentationProps } from "ente-accounts/components/RecoveryKey";import AccountsGeneratePage from "ente-accounts/pages/generate";diff --git a/web/apps/auth/src/pages/login.tsx b/web/apps/auth/src/pages/login.tsxindex a88a1f1394..5205de4d9c 100644--- a/web/apps/auth/src/pages/login.tsx+++ b/web/apps/auth/src/pages/login.tsx@@ -1,7 +1,7 @@import { DevSettingsDialog } from "@/components/auth/DevSettingsDialog";import { LoginForm } from "@/components/auth/LoginForm";import { AuthShell } from "@/components/AuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import { Paper, Stack, styled } from "@mui/material";import {LoginContents,diff --git a/web/apps/auth/src/pages/passkeys/recover.tsx b/web/apps/auth/src/pages/passkeys/recover.tsxindex d13153dc6b..f4104331a2 100644--- a/web/apps/auth/src/pages/passkeys/recover.tsx+++ b/web/apps/auth/src/pages/passkeys/recover.tsx@@ -1,6 +1,6 @@import { RecoverTwoFactorForm } from "@/components/auth/RecoveryForm";import { AuthShell } from "@/components/AuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsTwoFactorRecoverPage, {type TwoFactorRecoverPresentationProps,} from "ente-accounts/pages/two-factor/recover";diff --git a/web/apps/auth/src/pages/recover.tsx b/web/apps/auth/src/pages/recover.tsxindex 46b41ac57d..b3335d35bb 100644--- a/web/apps/auth/src/pages/recover.tsx+++ b/web/apps/auth/src/pages/recover.tsx@@ -1,6 +1,6 @@import { RecoverAccountForm } from "@/components/auth/RecoveryForm";import { AuthShell } from "@/components/AuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsRecoverPage, {type RecoverAccountPresentationProps,} from "ente-accounts/pages/recover";diff --git a/web/apps/auth/src/pages/signup.tsx b/web/apps/auth/src/pages/signup.tsxindex 6f26a73082..4e02bc952c 100644--- a/web/apps/auth/src/pages/signup.tsx+++ b/web/apps/auth/src/pages/signup.tsx@@ -1,6 +1,6 @@import { SignUpForm } from "@/components/auth/SignUpForm";import { AuthShell } from "@/components/AuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import type { SignUpPresentationProps } from "ente-accounts/components/SignUpContents";import AccountsSignUpPage from "ente-accounts/pages/signup";import type React from "react";diff --git a/web/apps/auth/src/pages/two-factor/recover.tsx b/web/apps/auth/src/pages/two-factor/recover.tsxindex ea0b41e151..b8984592a5 100644--- a/web/apps/auth/src/pages/two-factor/recover.tsx+++ b/web/apps/auth/src/pages/two-factor/recover.tsx@@ -1,6 +1,6 @@import { RecoverTwoFactorForm } from "@/components/auth/RecoveryForm";import { AuthShell } from "@/components/AuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsTwoFactorRecoverPage, {type TwoFactorRecoverPresentationProps,} from "ente-accounts/pages/two-factor/recover";diff --git a/web/apps/auth/src/pages/two-factor/verify.tsx b/web/apps/auth/src/pages/two-factor/verify.tsxindex 79d31b434b..c3ef1bbaaf 100644--- a/web/apps/auth/src/pages/two-factor/verify.tsx+++ b/web/apps/auth/src/pages/two-factor/verify.tsx@@ -1,6 +1,6 @@import { TwoFactorForm } from "@/components/auth/TwoFactorForm";import { AuthShell } from "@/components/AuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsTwoFactorVerifyPage, {type TwoFactorVerifyPresentationProps,} from "ente-accounts/pages/two-factor/verify";diff --git a/web/apps/auth/src/pages/verify.tsx b/web/apps/auth/src/pages/verify.tsxindex 6be3bcb2a3..f11c0bdc94 100644--- a/web/apps/auth/src/pages/verify.tsx+++ b/web/apps/auth/src/pages/verify.tsx@@ -1,7 +1,7 @@import { SecondFactorChoiceDialog } from "@/components/auth/SecondFactorChoiceDialog";import { VerifyEmailForm } from "@/components/auth/VerifyEmailForm";import { AuthShell } from "@/components/AuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsVerifyPage, {type VerifyEmailPresentationProps,} from "ente-accounts/pages/verify";diff --git a/web/apps/ensu/src/pages/chat.tsx b/web/apps/ensu/src/pages/chat.tsxindex 1d0fad0aab..ea455f04ff 100644--- a/web/apps/ensu/src/pages/chat.tsx+++ b/web/apps/ensu/src/pages/chat.tsx@@ -14,7 +14,7 @@ import {cachedLocalChatKey,getOrCreateLocalChatKey,initChatKeyStore,-} from "@/services/chat/chatKey";+} from "@/services/chat/chat-key";import { initializeChatStorePersistence } from "@/services/chat/persistence";import {addMessage,diff --git a/web/apps/ensu/src/services/chat/chatKey.ts b/web/apps/ensu/src/services/chat/chat-key.tssimilarity index 100%rename from web/apps/ensu/src/services/chat/chatKey.tsrename to web/apps/ensu/src/services/chat/chat-key.tsdiff --git a/web/apps/locker/src/components/CreateItemDialog.tsx b/web/apps/locker/src/components/CreateItemDialog.tsxindex 8a5ceedb1d..63524c7bde 100644--- a/web/apps/locker/src/components/CreateItemDialog.tsx+++ b/web/apps/locker/src/components/CreateItemDialog.tsx@@ -2,20 +2,20 @@ import {addCollectionName,toggleCollectionName,uploadQueueItemKey,-} from "@/components/createItemDialog/fileUploadHelpers";+} from "@/components/createItemDialog/file-upload-helpers";import { FileUploadSection } from "@/components/createItemDialog/FileUploadSection";+import { typeDisplayName } from "@/components/createItemDialog/item-form-fields-utils";import {CollectionSelector,ItemFormFields,} from "@/components/createItemDialog/ItemFormFields";-import { typeDisplayName } from "@/components/createItemDialog/itemFormFieldsUtils";-import { lockerDialogPaperSx } from "@/components/lockerDialogStyles";+import { lockerDialogPaperSx } from "@/components/locker-dialog-styles";import {createDocumentIcon,createDocumentIconConfig,lockerItemIcon,lockerItemIconConfig,-} from "@/components/lockerItemIcons";+} from "@/components/locker-item-icons";import type { LockerUploadLimitState } from "@/services/locker-limits";import type { LockerUploadProgress } from "@/services/remote";import type {@@ -43,7 +43,7 @@ import {type CreateItemDialogEditItem,type CreateOption,useCreateItemDialogState,-} from "./createItemDialog/useCreateItemDialogState";+} from "./createItemDialog/use-create-item-dialog-state";const CREATABLE_TYPES: {type: CreateOption;diff --git a/web/apps/locker/src/components/ItemCard.tsx b/web/apps/locker/src/components/ItemCard.tsxindex b1406873ca..7360acad3f 100644--- a/web/apps/locker/src/components/ItemCard.tsx+++ b/web/apps/locker/src/components/ItemCard.tsx@@ -1,7 +1,7 @@import {lockerItemIcon,lockerItemIconConfig,-} from "@/components/lockerItemIcons";+} from "@/components/locker-item-icons";import { downloadLockerFile } from "@/services/remote";import type { GenericFileData, LockerItem } from "@/types";import { getItemTitle, hasDownloadableObject } from "@/types";diff --git a/web/apps/locker/src/components/LockerFileLinkDialog.tsx b/web/apps/locker/src/components/LockerFileLinkDialog.tsxindex 5de18c2ef9..1bdd5f0cb3 100644--- a/web/apps/locker/src/components/LockerFileLinkDialog.tsx+++ b/web/apps/locker/src/components/LockerFileLinkDialog.tsx@@ -1,4 +1,4 @@-import { lockerDialogPaperSx } from "@/components/lockerDialogStyles";+import { lockerDialogPaperSx } from "@/components/locker-dialog-styles";import CloseIcon from "@mui/icons-material/Close";import ContentCopyIcon from "@mui/icons-material/ContentCopy";import {diff --git a/web/apps/locker/src/components/createItemDialog/FileUploadSection.tsx b/web/apps/locker/src/components/createItemDialog/FileUploadSection.tsxindex 4d8b114bb8..cfbfb6ad31 100644--- a/web/apps/locker/src/components/createItemDialog/FileUploadSection.tsx+++ b/web/apps/locker/src/components/createItemDialog/FileUploadSection.tsx@@ -2,7 +2,7 @@ import { CollectionChipRow } from "@/components/createItemDialog/CollectionChipRimport {lockerItemIcon,lockerItemIconConfig,-} from "@/components/lockerItemIcons";+} from "@/components/locker-item-icons";import type { LockerUploadProgress } from "@/services/remote";import type { LockerCollection, LockerUploadCandidate } from "@/types";import CheckRoundedIcon from "@mui/icons-material/CheckRounded";@@ -40,7 +40,7 @@ import {uploadItemParentPath,uploadProgressValue,uploadQueueItemKey,-} from "./fileUploadHelpers";+} from "./file-upload-helpers";interface FileUploadSectionProps {fileInputRef: React.RefObject<HTMLInputElement | null>;diff --git a/web/apps/locker/src/components/createItemDialog/fileUploadHelpers.ts b/web/apps/locker/src/components/createItemDialog/file-upload-helpers.tssimilarity index 100%rename from web/apps/locker/src/components/createItemDialog/fileUploadHelpers.tsrename to web/apps/locker/src/components/createItemDialog/file-upload-helpers.tsdiff --git a/web/apps/locker/src/components/createItemDialog/itemFormFieldsUtils.ts b/web/apps/locker/src/components/createItemDialog/item-form-fields-utils.tssimilarity index 100%rename from web/apps/locker/src/components/createItemDialog/itemFormFieldsUtils.tsrename to web/apps/locker/src/components/createItemDialog/item-form-fields-utils.tsdiff --git a/web/apps/locker/src/components/createItemDialog/useCreateItemDialogState.ts b/web/apps/locker/src/components/createItemDialog/use-create-item-dialog-state.tssimilarity index 99%rename from web/apps/locker/src/components/createItemDialog/useCreateItemDialogState.tsrename to web/apps/locker/src/components/createItemDialog/use-create-item-dialog-state.tsindex 5d83149c44..613a6dbe3e 100644--- a/web/apps/locker/src/components/createItemDialog/useCreateItemDialogState.ts+++ b/web/apps/locker/src/components/createItemDialog/use-create-item-dialog-state.ts@@ -31,8 +31,8 @@ import {filterNonEmptyUploadItems,normalizeCollectionName,uploadQueueItemKey,-} from "./fileUploadHelpers";-import { getRequiredFields } from "./itemFormFieldsUtils";+} from "./file-upload-helpers";+import { getRequiredFields } from "./item-form-fields-utils";export type CreateOption = LockerItemType;const MAX_PARALLEL_UPLOADS = 4;diff --git a/web/apps/locker/src/components/itemList/ItemListDialogs.tsx b/web/apps/locker/src/components/itemList/ItemListDialogs.tsxindex d1ce4272fb..be64efe9f9 100644--- a/web/apps/locker/src/components/itemList/ItemListDialogs.tsx+++ b/web/apps/locker/src/components/itemList/ItemListDialogs.tsx@@ -18,7 +18,7 @@ import { LoadingButton } from "ente-base/components/mui/LoadingButton";import { t } from "i18next";import React from "react";import { LockerFileLinkDialog } from "../LockerFileLinkDialog";-import { lockerDialogPaperSx } from "../lockerDialogStyles";+import { lockerDialogPaperSx } from "../locker-dialog-styles";interface ItemListDialogsProps {activeFileLinkItemTitle: string;diff --git a/web/apps/locker/src/components/lockerDialogStyles.ts b/web/apps/locker/src/components/locker-dialog-styles.tssimilarity index 100%rename from web/apps/locker/src/components/lockerDialogStyles.tsrename to web/apps/locker/src/components/locker-dialog-styles.tsdiff --git a/web/apps/locker/src/components/lockerItemIcons.tsx b/web/apps/locker/src/components/locker-item-icons.tsxsimilarity index 100%rename from web/apps/locker/src/components/lockerItemIcons.tsxrename to web/apps/locker/src/components/locker-item-icons.tsxdiff --git a/web/apps/locker/src/components/lockerPage/DeleteCollectionDialog.tsx b/web/apps/locker/src/components/lockerPage/DeleteCollectionDialog.tsxindex b5b591acfa..21838bb17c 100644--- a/web/apps/locker/src/components/lockerPage/DeleteCollectionDialog.tsx+++ b/web/apps/locker/src/components/lockerPage/DeleteCollectionDialog.tsx@@ -1,4 +1,4 @@-import { lockerDialogPaperSx } from "@/components/lockerDialogStyles";+import { lockerDialogPaperSx } from "@/components/locker-dialog-styles";import {Checkbox,Dialog,@@ -12,7 +12,7 @@ import { FocusVisibleButton } from "ente-base/components/mui/FocusVisibleButton"import { LoadingButton } from "ente-base/components/mui/LoadingButton";import { t } from "i18next";import React from "react";-import type { DeleteCollectionDialogState } from "./useLockerActions";+import type { DeleteCollectionDialogState } from "./use-locker-actions";interface DeleteCollectionDialogProps {dialogState: DeleteCollectionDialogState | null;diff --git a/web/apps/locker/src/components/lockerPage/useLockerActions.tsx b/web/apps/locker/src/components/lockerPage/use-locker-actions.tsxsimilarity index 99%rename from web/apps/locker/src/components/lockerPage/useLockerActions.tsxrename to web/apps/locker/src/components/lockerPage/use-locker-actions.tsxindex 26e7bdf064..54b4bff934 100644--- a/web/apps/locker/src/components/lockerPage/useLockerActions.tsx+++ b/web/apps/locker/src/components/lockerPage/use-locker-actions.tsx@@ -41,8 +41,8 @@ import { t } from "i18next";import type { DragEvent } from "react";import { useCallback, useEffect, useRef, useState } from "react";import { Trans } from "react-i18next";-import { filterNonEmptyUploadItems } from "../createItemDialog/fileUploadHelpers";-import type { CreateItemDialogEditItem } from "../createItemDialog/useCreateItemDialogState";+import { filterNonEmptyUploadItems } from "../createItemDialog/file-upload-helpers";+import type { CreateItemDialogEditItem } from "../createItemDialog/use-create-item-dialog-state";type DragDataTransferItem = DataTransferItem & {webkitGetAsEntry?: () => FileSystemEntry | null;diff --git a/web/apps/locker/src/components/lockerPage/useLockerData.ts b/web/apps/locker/src/components/lockerPage/use-locker-data.tssimilarity index 100%rename from web/apps/locker/src/components/lockerPage/useLockerData.tsrename to web/apps/locker/src/components/lockerPage/use-locker-data.tsdiff --git a/web/apps/locker/src/components/lockerPage/useLockerNavigation.ts b/web/apps/locker/src/components/lockerPage/use-locker-navigation.tssimilarity index 100%rename from web/apps/locker/src/components/lockerPage/useLockerNavigation.tsrename to web/apps/locker/src/components/lockerPage/use-locker-navigation.tsdiff --git a/web/apps/locker/src/featureFlags.ts b/web/apps/locker/src/feature-flags.tssimilarity index 100%rename from web/apps/locker/src/featureFlags.tsrename to web/apps/locker/src/feature-flags.tsdiff --git a/web/apps/locker/src/pages/change-password.tsx b/web/apps/locker/src/pages/change-password.tsxindex 7bbb2ba9dd..6ed4c7ac69 100644--- a/web/apps/locker/src/pages/change-password.tsx+++ b/web/apps/locker/src/pages/change-password.tsx@@ -1,6 +1,6 @@import { SetPasswordForm } from "@/components/auth/SetPasswordForm";import { LockerAuthShell } from "@/components/LockerAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import type { NewPasswordPresentationProps } from "ente-accounts/components/NewPasswordForm";import AccountsChangePasswordPage from "ente-accounts/pages/change-password";import type React from "react";diff --git a/web/apps/locker/src/pages/credentials.tsx b/web/apps/locker/src/pages/credentials.tsxindex acbc9f264a..aa2f8a5a54 100644--- a/web/apps/locker/src/pages/credentials.tsx+++ b/web/apps/locker/src/pages/credentials.tsx@@ -4,7 +4,7 @@ import {} from "@/components/auth/CredentialsForm";import { SecondFactorChoiceDialog } from "@/components/auth/SecondFactorChoiceDialog";import { LockerAuthShell } from "@/components/LockerAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsCredentialsPage, {type CredentialsPresentationProps,} from "ente-accounts/pages/credentials";diff --git a/web/apps/locker/src/pages/generate.tsx b/web/apps/locker/src/pages/generate.tsxindex ac73092a5e..e1394f0d00 100644--- a/web/apps/locker/src/pages/generate.tsx+++ b/web/apps/locker/src/pages/generate.tsx@@ -1,7 +1,7 @@import { RecoveryKeyForm } from "@/components/auth/RecoveryKeyForm";import { SetPasswordForm } from "@/components/auth/SetPasswordForm";import { LockerAuthShell } from "@/components/LockerAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import type { NewPasswordPresentationProps } from "ente-accounts/components/NewPasswordForm";import type { RecoveryKeyPresentationProps } from "ente-accounts/components/RecoveryKey";import AccountsGeneratePage from "ente-accounts/pages/generate";diff --git a/web/apps/locker/src/pages/locker.tsx b/web/apps/locker/src/pages/locker.tsxindex 7a2d49c161..56e8482725 100644--- a/web/apps/locker/src/pages/locker.tsx+++ b/web/apps/locker/src/pages/locker.tsx@@ -5,9 +5,9 @@ import { LockerNavbar } from "@/components/LockerNavbar";import { LockerSidebar } from "@/components/LockerSidebar";import { DeleteCollectionDialog } from "@/components/lockerPage/DeleteCollectionDialog";import { LockerDragOverlay } from "@/components/lockerPage/LockerDragOverlay";-import { useLockerActions } from "@/components/lockerPage/useLockerActions";-import { useLockerData } from "@/components/lockerPage/useLockerData";-import { useLockerNavigation } from "@/components/lockerPage/useLockerNavigation";+import { useLockerActions } from "@/components/lockerPage/use-locker-actions";+import { useLockerData } from "@/components/lockerPage/use-locker-data";+import { useLockerNavigation } from "@/components/lockerPage/use-locker-navigation";import { useSetupLockerI18n } from "@/i18n/locker";import { fetchCollectionSharees } from "@/services/remote";import AddIcon from "@mui/icons-material/Add";diff --git a/web/apps/locker/src/pages/login.tsx b/web/apps/locker/src/pages/login.tsxindex 9173ce1615..0691b4acfa 100644--- a/web/apps/locker/src/pages/login.tsx+++ b/web/apps/locker/src/pages/login.tsx@@ -1,6 +1,6 @@import { LoginForm } from "@/components/auth/LoginForm";import { LockerAuthShell } from "@/components/LockerAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import {LoginContents,type LoginPresentationProps,diff --git a/web/apps/locker/src/pages/passkeys/recover.tsx b/web/apps/locker/src/pages/passkeys/recover.tsxindex c9166b93c3..4eee2c3b0d 100644--- a/web/apps/locker/src/pages/passkeys/recover.tsx+++ b/web/apps/locker/src/pages/passkeys/recover.tsx@@ -1,6 +1,6 @@import { RecoverTwoFactorForm } from "@/components/auth/RecoveryForm";import { LockerAuthShell } from "@/components/LockerAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsTwoFactorRecoverPage, {type TwoFactorRecoverPresentationProps,} from "ente-accounts/pages/two-factor/recover";diff --git a/web/apps/locker/src/pages/recover.tsx b/web/apps/locker/src/pages/recover.tsxindex d2756d6ed3..831f873d3d 100644--- a/web/apps/locker/src/pages/recover.tsx+++ b/web/apps/locker/src/pages/recover.tsx@@ -1,6 +1,6 @@import { RecoverAccountForm } from "@/components/auth/RecoveryForm";import { LockerAuthShell } from "@/components/LockerAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsRecoverPage, {type RecoverAccountPresentationProps,} from "ente-accounts/pages/recover";diff --git a/web/apps/locker/src/pages/signup.tsx b/web/apps/locker/src/pages/signup.tsxindex 8de19d0a0f..b02ea68b6b 100644--- a/web/apps/locker/src/pages/signup.tsx+++ b/web/apps/locker/src/pages/signup.tsx@@ -1,6 +1,6 @@import { SignUpForm } from "@/components/auth/SignUpForm";import { LockerAuthShell } from "@/components/LockerAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import type { SignUpPresentationProps } from "ente-accounts/components/SignUpContents";import AccountsSignUpPage from "ente-accounts/pages/signup";import type React from "react";diff --git a/web/apps/locker/src/pages/two-factor/recover.tsx b/web/apps/locker/src/pages/two-factor/recover.tsxindex 34fcce96c7..b5a44cdcf1 100644--- a/web/apps/locker/src/pages/two-factor/recover.tsx+++ b/web/apps/locker/src/pages/two-factor/recover.tsx@@ -1,6 +1,6 @@import { RecoverTwoFactorForm } from "@/components/auth/RecoveryForm";import { LockerAuthShell } from "@/components/LockerAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsTwoFactorRecoverPage, {type TwoFactorRecoverPresentationProps,} from "ente-accounts/pages/two-factor/recover";diff --git a/web/apps/locker/src/pages/two-factor/verify.tsx b/web/apps/locker/src/pages/two-factor/verify.tsxindex 4caee823c5..d18dcfe2c9 100644--- a/web/apps/locker/src/pages/two-factor/verify.tsx+++ b/web/apps/locker/src/pages/two-factor/verify.tsx@@ -1,6 +1,6 @@import { TwoFactorForm } from "@/components/auth/TwoFactorForm";import { LockerAuthShell } from "@/components/LockerAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsTwoFactorVerifyPage, {type TwoFactorVerifyPresentationProps,} from "ente-accounts/pages/two-factor/verify";diff --git a/web/apps/locker/src/pages/verify.tsx b/web/apps/locker/src/pages/verify.tsxindex 2c0da1127b..2a82ffb3c9 100644--- a/web/apps/locker/src/pages/verify.tsx+++ b/web/apps/locker/src/pages/verify.tsx@@ -1,7 +1,7 @@import { SecondFactorChoiceDialog } from "@/components/auth/SecondFactorChoiceDialog";import { VerifyEmailForm } from "@/components/auth/VerifyEmailForm";import { LockerAuthShell } from "@/components/LockerAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsVerifyPage, {type VerifyEmailPresentationProps,} from "ente-accounts/pages/verify";diff --git a/web/apps/memories/src/hooks/usePublicMemoryPage.ts b/web/apps/memories/src/hooks/use-public-memory-page.tssimilarity index 100%rename from web/apps/memories/src/hooks/usePublicMemoryPage.tsrename to web/apps/memories/src/hooks/use-public-memory-page.tsdiff --git a/web/apps/memories/src/pages/index.tsx b/web/apps/memories/src/pages/index.tsxindex 1b6b38dbf2..0a47e35333 100644--- a/web/apps/memories/src/pages/index.tsx+++ b/web/apps/memories/src/pages/index.tsx@@ -10,7 +10,7 @@ import type {LaneMemoryViewerProps,MemoryViewerProps,} from "../components/PublicMemoryViewerShared";-import { usePublicMemoryPage } from "../hooks/usePublicMemoryPage";+import { usePublicMemoryPage } from "../hooks/use-public-memory-page";function ViewerChunkLoadingFallback() {return <PublicMemoryLoadingContent />;diff --git a/web/apps/paste/src/components/PasteCreatePanel.tsx b/web/apps/paste/src/components/PasteCreatePanel.tsxindex dd90a936bc..85b5e47e32 100644--- a/web/apps/paste/src/components/PasteCreatePanel.tsx+++ b/web/apps/paste/src/components/PasteCreatePanel.tsx@@ -1,7 +1,7 @@import { copyTextToClipboard, shareUrlOrCopy } from "@/browser";import { MAX_PASTE_CHARS } from "@/paste";import { getPasteThemeTokens, usePasteColorMode } from "@/theme";-import { useCreatePaste } from "@/usePaste";+import { useCreatePaste } from "@/use-paste";import { Navigation06Icon } from "@hugeicons/core-free-icons";import { HugeiconsIcon } from "@hugeicons/react";import LockOpenRoundedIcon from "@mui/icons-material/LockOpenRounded";@@ -24,8 +24,8 @@ import { ShowHidePasswordInputAdornment } from "ente-base/components/mui/Passworimport type { SubmitEvent } from "react";import { useState } from "react";import { PasteLinkCard } from "./PasteLinkCard";-import { downloadPasteQrCode } from "./qrCode";-import { pasteTextFieldSx } from "./textFieldSx";+import { downloadPasteQrCode } from "./qr-code";+import { pasteTextFieldSx } from "./text-field-sx";export const PasteCreatePanel = () => {const {diff --git a/web/apps/paste/src/components/PasteQrCode.tsx b/web/apps/paste/src/components/PasteQrCode.tsxindex 2a46bb16c0..6552feea8a 100644--- a/web/apps/paste/src/components/PasteQrCode.tsx+++ b/web/apps/paste/src/components/PasteQrCode.tsx@@ -9,7 +9,7 @@ import {getQrRenderMetrics,isQRCodeStylingModule,type QRCodeStylingInstance,-} from "./qrCode";+} from "./qr-code";interface PasteQrCodeProps {value: string;diff --git a/web/apps/paste/src/components/PasteViewPanel.tsx b/web/apps/paste/src/components/PasteViewPanel.tsxindex 4d07ec9eef..1a515519c8 100644--- a/web/apps/paste/src/components/PasteViewPanel.tsx+++ b/web/apps/paste/src/components/PasteViewPanel.tsx@@ -1,6 +1,6 @@import { copyTextToClipboard } from "@/browser";import { getPasteThemeTokens, usePasteColorMode } from "@/theme";-import { useConsumePaste } from "@/usePaste";+import { useConsumePaste } from "@/use-paste";import { Alert02Icon } from "@hugeicons/core-free-icons";import { HugeiconsIcon } from "@hugeicons/react";import ContentCopyRoundedIcon from "@mui/icons-material/ContentCopyRounded";@@ -14,7 +14,7 @@ import {} from "@mui/material";import type { SubmitEvent } from "react";import { useEffect, useRef, useState } from "react";-import { pasteTextFieldSx } from "./textFieldSx";+import { pasteTextFieldSx } from "./text-field-sx";export const PasteViewPanel = () => {const {diff --git a/web/apps/paste/src/components/qrCode.ts b/web/apps/paste/src/components/qr-code.tssimilarity index 100%rename from web/apps/paste/src/components/qrCode.tsrename to web/apps/paste/src/components/qr-code.tsdiff --git a/web/apps/paste/src/components/textFieldSx.ts b/web/apps/paste/src/components/text-field-sx.tssimilarity index 100%rename from web/apps/paste/src/components/textFieldSx.tsrename to web/apps/paste/src/components/text-field-sx.tsdiff --git a/web/apps/paste/src/pages/index.tsx b/web/apps/paste/src/pages/index.tsxindex 36d1a84b9f..d539232a2c 100644--- a/web/apps/paste/src/pages/index.tsx+++ b/web/apps/paste/src/pages/index.tsx@@ -1,7 +1,7 @@import { PasteCreatePanel } from "@/components/PasteCreatePanel";import { PasteFrame } from "@/components/PasteFrame";import { PasteViewPanel } from "@/components/PasteViewPanel";-import { usePasteRoute } from "@/usePaste";+import { usePasteRoute } from "@/use-paste";import { Stack } from "@mui/material";import Head from "next/head";diff --git a/web/apps/paste/src/usePaste.ts b/web/apps/paste/src/use-paste.tssimilarity index 100%rename from web/apps/paste/src/usePaste.tsrename to web/apps/paste/src/use-paste.tsdiff --git a/web/apps/photos/src/featureFlags.ts b/web/apps/photos/src/feature-flags.tssimilarity index 100%rename from web/apps/photos/src/featureFlags.tsrename to web/apps/photos/src/feature-flags.tsdiff --git a/web/apps/photos/src/pages/change-password.tsx b/web/apps/photos/src/pages/change-password.tsxindex 1eefb2f8c8..8e40e54a5a 100644--- a/web/apps/photos/src/pages/change-password.tsx+++ b/web/apps/photos/src/pages/change-password.tsx@@ -1,6 +1,6 @@import { SetPasswordForm } from "@/components/auth/SetPasswordForm";import { PhotosAuthShell } from "@/components/PhotosAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import type { NewPasswordPresentationProps } from "ente-accounts/components/NewPasswordForm";import AccountsChangePasswordPage from "ente-accounts/pages/change-password";import type React from "react";diff --git a/web/apps/photos/src/pages/credentials.tsx b/web/apps/photos/src/pages/credentials.tsxindex fa62f80632..3d3f4cdd16 100644--- a/web/apps/photos/src/pages/credentials.tsx+++ b/web/apps/photos/src/pages/credentials.tsx@@ -5,7 +5,7 @@ import {import { PasskeyVerificationForm } from "@/components/auth/PasskeyVerificationForm";import { SecondFactorChoiceDialog } from "@/components/auth/SecondFactorChoiceDialog";import { PhotosAuthShell } from "@/components/PhotosAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import type { VerifyingPasskeyPresentationProps } from "ente-accounts/components/LoginComponents";import AccountsCredentialsPage, {type CredentialsPresentationProps,diff --git a/web/apps/photos/src/pages/generate.tsx b/web/apps/photos/src/pages/generate.tsxindex fdf9f9b082..7758089a1f 100644--- a/web/apps/photos/src/pages/generate.tsx+++ b/web/apps/photos/src/pages/generate.tsx@@ -1,7 +1,7 @@import { RecoveryKeyForm } from "@/components/auth/RecoveryKeyForm";import { SetPasswordForm } from "@/components/auth/SetPasswordForm";import { PhotosAuthShell } from "@/components/PhotosAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import type { NewPasswordPresentationProps } from "ente-accounts/components/NewPasswordForm";import type { RecoveryKeyPresentationProps } from "ente-accounts/components/RecoveryKey";import AccountsGeneratePage from "ente-accounts/pages/generate";diff --git a/web/apps/photos/src/pages/index.tsx b/web/apps/photos/src/pages/index.tsxindex 7fb6abfa20..d5f9cd7909 100644--- a/web/apps/photos/src/pages/index.tsx+++ b/web/apps/photos/src/pages/index.tsx@@ -2,7 +2,7 @@ import { DevSettingsDialog } from "@/components/auth/DevSettingsDialog";import { LoginForm } from "@/components/auth/LoginForm";import { SignUpForm } from "@/components/auth/SignUpForm";import { PhotosAuthShell } from "@/components/PhotosAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import { Box, Stack, Typography, styled } from "@mui/material";import { LoginContents } from "ente-accounts/components/LoginContents";import { SignUpContents } from "ente-accounts/components/SignUpContents";diff --git a/web/apps/photos/src/pages/login.tsx b/web/apps/photos/src/pages/login.tsxindex 975c71ff6d..0650cd9f6b 100644--- a/web/apps/photos/src/pages/login.tsx+++ b/web/apps/photos/src/pages/login.tsx@@ -1,6 +1,6 @@import { LoginForm } from "@/components/auth/LoginForm";import { PhotosAuthShell } from "@/components/PhotosAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import type { LoginPresentationProps } from "ente-accounts/components/LoginContents";import AccountsLoginPage from "ente-accounts/pages/login";import type React from "react";diff --git a/web/apps/photos/src/pages/passkeys/recover.tsx b/web/apps/photos/src/pages/passkeys/recover.tsxindex 65f5135646..ca343f67c0 100644--- a/web/apps/photos/src/pages/passkeys/recover.tsx+++ b/web/apps/photos/src/pages/passkeys/recover.tsx@@ -1,6 +1,6 @@import { RecoverTwoFactorForm } from "@/components/auth/RecoveryForm";import { PhotosAuthShell } from "@/components/PhotosAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsTwoFactorRecoverPage, {type TwoFactorRecoverPresentationProps,} from "ente-accounts/pages/two-factor/recover";diff --git a/web/apps/photos/src/pages/recover.tsx b/web/apps/photos/src/pages/recover.tsxindex 7ce83f95e2..b42ca177d1 100644--- a/web/apps/photos/src/pages/recover.tsx+++ b/web/apps/photos/src/pages/recover.tsx@@ -1,6 +1,6 @@import { RecoverAccountForm } from "@/components/auth/RecoveryForm";import { PhotosAuthShell } from "@/components/PhotosAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsRecoverPage, {type RecoverAccountPresentationProps,} from "ente-accounts/pages/recover";diff --git a/web/apps/photos/src/pages/signup.tsx b/web/apps/photos/src/pages/signup.tsxindex 20e1dc881a..e5753b1f87 100644--- a/web/apps/photos/src/pages/signup.tsx+++ b/web/apps/photos/src/pages/signup.tsx@@ -1,6 +1,6 @@import { SignUpForm } from "@/components/auth/SignUpForm";import { PhotosAuthShell } from "@/components/PhotosAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import type { SignUpPresentationProps } from "ente-accounts/components/SignUpContents";import AccountsSignUpPage from "ente-accounts/pages/signup";import type React from "react";diff --git a/web/apps/photos/src/pages/two-factor/recover.tsx b/web/apps/photos/src/pages/two-factor/recover.tsxindex 15a3cded54..fa9c9e6e22 100644--- a/web/apps/photos/src/pages/two-factor/recover.tsx+++ b/web/apps/photos/src/pages/two-factor/recover.tsx@@ -1,6 +1,6 @@import { RecoverTwoFactorForm } from "@/components/auth/RecoveryForm";import { PhotosAuthShell } from "@/components/PhotosAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsTwoFactorRecoverPage, {type TwoFactorRecoverPresentationProps,} from "ente-accounts/pages/two-factor/recover";diff --git a/web/apps/photos/src/pages/two-factor/verify.tsx b/web/apps/photos/src/pages/two-factor/verify.tsxindex c3e22ab684..25443673cf 100644--- a/web/apps/photos/src/pages/two-factor/verify.tsx+++ b/web/apps/photos/src/pages/two-factor/verify.tsx@@ -1,6 +1,6 @@import { TwoFactorForm } from "@/components/auth/TwoFactorForm";import { PhotosAuthShell } from "@/components/PhotosAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import AccountsTwoFactorVerifyPage, {type TwoFactorVerifyPresentationProps,} from "ente-accounts/pages/two-factor/verify";diff --git a/web/apps/photos/src/pages/verify.tsx b/web/apps/photos/src/pages/verify.tsxindex 91181e1f9f..78fb233273 100644--- a/web/apps/photos/src/pages/verify.tsx+++ b/web/apps/photos/src/pages/verify.tsx@@ -2,7 +2,7 @@ import { PasskeyVerificationForm } from "@/components/auth/PasskeyVerificationFoimport { SecondFactorChoiceDialog } from "@/components/auth/SecondFactorChoiceDialog";import { VerifyEmailForm } from "@/components/auth/VerifyEmailForm";import { PhotosAuthShell } from "@/components/PhotosAuthShell";-import { featureFlags } from "@/featureFlags";+import { featureFlags } from "@/feature-flags";import type { VerifyingPasskeyPresentationProps } from "ente-accounts/components/LoginComponents";import AccountsVerifyPage, {type VerifyEmailPresentationProps,diff --git a/web/apps/share/src/components/file-share/CollectionShareView.tsx b/web/apps/share/src/components/file-share/CollectionShareView.tsxindex 83e2d53362..4631cce70e 100644--- a/web/apps/share/src/components/file-share/CollectionShareView.tsx+++ b/web/apps/share/src/components/file-share/CollectionShareView.tsx@@ -10,7 +10,7 @@ import { Notification } from "ente-base/components/Notification";import { SingleInputForm } from "ente-base/components/SingleInputForm";import { t } from "i18next";import React from "react";-import { useCollectionShare } from "../../hooks/useCollectionShare";+import { useCollectionShare } from "../../hooks/use-collection-share";import type { SharedCollectionItemInfo } from "../../services/collection-share";import { formatFileSize } from "../../services/file-share";import { getLockerFileIcon } from "../../utils/file-type";diff --git a/web/apps/share/src/components/file-share/FileShareView.tsx b/web/apps/share/src/components/file-share/FileShareView.tsxindex e9bd43b504..4619036330 100644--- a/web/apps/share/src/components/file-share/FileShareView.tsx+++ b/web/apps/share/src/components/file-share/FileShareView.tsx@@ -2,7 +2,7 @@ import { Box, Button, CircularProgress, Typography } from "@mui/material";import { Notification } from "ente-base/components/Notification";import Head from "next/head";import React from "react";-import { useFileShare } from "../../hooks/useFileShare";+import { useFileShare } from "../../hooks/use-file-share";import { formatFileSize } from "../../services/file-share";import { getLockerFileIcon } from "../../utils/file-type";import { LockerTypeDisplay } from "./LockerTypeDisplay";diff --git a/web/apps/share/src/hooks/useCollectionShare.ts b/web/apps/share/src/hooks/use-collection-share.tssimilarity index 100%rename from web/apps/share/src/hooks/useCollectionShare.tsrename to web/apps/share/src/hooks/use-collection-share.tsdiff --git a/web/apps/share/src/hooks/useFileShare.ts b/web/apps/share/src/hooks/use-file-share.tssimilarity index 100%rename from web/apps/share/src/hooks/useFileShare.tsrename to web/apps/share/src/hooks/use-file-share.tsdiff --git a/web/apps/twoof3/src/features/twoof3/utils/export.ts b/web/apps/twoof3/src/features/twoof3/utils/export.tsindex fe557dc522..21ab22e446 100644--- a/web/apps/twoof3/src/features/twoof3/utils/export.ts+++ b/web/apps/twoof3/src/features/twoof3/utils/export.ts@@ -376,7 +376,7 @@ const escapeScriptTagContent = (value: string) =>value.replace(/<\/script/giu, "<\\/script");export const createOfflineRecoveryHtml = async () => {- const { OFFLINE_QR_DECODER_SOURCE } = await import("./offlineQrSource");+ const { OFFLINE_QR_DECODER_SOURCE } = await import("./offline-qr-source");return `<!doctype html><html lang="en">diff --git a/web/apps/twoof3/src/features/twoof3/utils/offlineQrSource.ts b/web/apps/twoof3/src/features/twoof3/utils/offline-qr-source.tssimilarity index 100%rename from web/apps/twoof3/src/features/twoof3/utils/offlineQrSource.tsrename to web/apps/twoof3/src/features/twoof3/utils/offline-qr-source.tsdiff --git a/web/apps/twoof3/src/features/twoof3/utils/qrCode.ts b/web/apps/twoof3/src/features/twoof3/utils/qr-code.tssimilarity index 100%rename from web/apps/twoof3/src/features/twoof3/utils/qrCode.tsrename to web/apps/twoof3/src/features/twoof3/utils/qr-code.tsdiff --git a/web/apps/twoof3/src/pages/index.tsx b/web/apps/twoof3/src/pages/index.tsxindex f8dae6b8f8..8473e12e38 100644--- a/web/apps/twoof3/src/pages/index.tsx+++ b/web/apps/twoof3/src/pages/index.tsx@@ -12,7 +12,7 @@ import {import {createQrSvgData,decodeQrFromFile,-} from "@/features/twoof3/utils/qrCode";+} from "@/features/twoof3/utils/qr-code";import {combineShares,parseShare,diff --git a/web/packages/gallery/components/UploadCompletion.tsx b/web/packages/gallery/components/UploadCompletion.tsxindex 2aaa8f2ee7..70c8c5a6c1 100644--- a/web/packages/gallery/components/UploadCompletion.tsx+++ b/web/packages/gallery/components/UploadCompletion.tsx@@ -12,17 +12,17 @@ import {import type { PreUploadSkippedFile } from "ente-base/types/ipc";import { SlideUpTransition } from "ente-new/photos/components/mui/SlideUpTransition";import { t } from "i18next";-import {- uploadSheetMediaQuery,- uploadSheetPaperSx,- useIsUploadSheet,-} from "./upload-progress/bottom-sheet";import {finishedStatKinds,uploadCompletionCounts,uploadStatColors,type SegregatedFinishedUploads,-} from "./uploadProgressStats";+} from "./upload-progress-stats";+import {+ uploadSheetMediaQuery,+ uploadSheetPaperSx,+ useIsUploadSheet,+} from "./upload-progress/bottom-sheet";export function UploadCompletion({open,diff --git a/web/packages/gallery/components/uploadProgressStats.ts b/web/packages/gallery/components/upload-progress-stats.tssimilarity index 100%rename from web/packages/gallery/components/uploadProgressStats.tsrename to web/packages/gallery/components/upload-progress-stats.tsdiff --git a/web/packages/gallery/components/upload-progress/MinimizedUploadProgress.tsx b/web/packages/gallery/components/upload-progress/MinimizedUploadProgress.tsxindex 8a6d281e6b..b49088f790 100644--- a/web/packages/gallery/components/upload-progress/MinimizedUploadProgress.tsx+++ b/web/packages/gallery/components/upload-progress/MinimizedUploadProgress.tsx@@ -23,7 +23,7 @@ import {uploadCountsText,uploadStatusText,} from "./helpers";-import { useMinimizedUploadDrag } from "./useMinimizedUploadDrag";+import { useMinimizedUploadDrag } from "./use-minimized-upload-drag";export function MinimizedUploadProgress() {const context = useUploadProgressContext();diff --git a/web/packages/gallery/components/upload-progress/StopUploadConfirmationDialog.tsx b/web/packages/gallery/components/upload-progress/StopUploadConfirmationDialog.tsxindex 9e2c157672..ee563dc68f 100644--- a/web/packages/gallery/components/upload-progress/StopUploadConfirmationDialog.tsx+++ b/web/packages/gallery/components/upload-progress/StopUploadConfirmationDialog.tsx@@ -10,7 +10,7 @@ import {} from "@mui/material";import { SlideUpTransition } from "ente-new/photos/components/mui/SlideUpTransition";import { t } from "i18next";-import { uploadCompletionCounts } from "../uploadProgressStats";+import { uploadCompletionCounts } from "../upload-progress-stats";import {uploadSheetMediaQuery,uploadSheetPaperSx,diff --git a/web/packages/gallery/components/upload-progress/UploadFileList.tsx b/web/packages/gallery/components/upload-progress/UploadFileList.tsxindex 8b8d9aa87e..96244c6ee1 100644--- a/web/packages/gallery/components/upload-progress/UploadFileList.tsx+++ b/web/packages/gallery/components/upload-progress/UploadFileList.tsx@@ -14,7 +14,7 @@ import {import { t } from "i18next";import { useEffect, useRef } from "react";import { VariableSizeList } from "react-window";-import { uploadStatColors } from "../uploadProgressStats";+import { uploadStatColors } from "../upload-progress-stats";import { uploadSheetMediaQuery } from "./bottom-sheet";import { useUploadProgressContext } from "./context";import { uploadStatusText } from "./helpers";diff --git a/web/packages/gallery/components/upload-progress/UploadProgress.tsx b/web/packages/gallery/components/upload-progress/UploadProgress.tsxindex a5ffad4007..9fa1bfd20d 100644--- a/web/packages/gallery/components/upload-progress/UploadProgress.tsx+++ b/web/packages/gallery/components/upload-progress/UploadProgress.tsx@@ -1,13 +1,13 @@import type { PreUploadSkippedFile } from "ente-base/types/ipc";import type { UploadPhase } from "ente-gallery/services/upload";import { useEffect, useState } from "react";-import { UploadCompletion } from "../UploadCompletion";import type {InProgressUpload,SegregatedFinishedUploads,UploadCounter,UploadFileNames,-} from "../uploadProgressStats";+} from "../upload-progress-stats";+import { UploadCompletion } from "../UploadCompletion";import { UploadProgressContext, type DragPosition } from "./context";import { MinimizedUploadProgress } from "./MinimizedUploadProgress";import { StopUploadConfirmationDialog } from "./StopUploadConfirmationDialog";diff --git a/web/packages/gallery/components/upload-progress/UploadProgressDetails.tsx b/web/packages/gallery/components/upload-progress/UploadProgressDetails.tsxindex 047ffd3c85..c9693f0497 100644--- a/web/packages/gallery/components/upload-progress/UploadProgressDetails.tsx+++ b/web/packages/gallery/components/upload-progress/UploadProgressDetails.tsx@@ -8,7 +8,7 @@ import {uploadProgressStatCounts,uploadStatColors,type UploadStatKind,-} from "../uploadProgressStats";+} from "../upload-progress-stats";import { uploadSheetMediaQuery } from "./bottom-sheet";import { useUploadProgressContext } from "./context";import {diff --git a/web/packages/gallery/components/upload-progress/UploadProgressDialog.tsx b/web/packages/gallery/components/upload-progress/UploadProgressDialog.tsxindex 0c67e7753a..a83df90c72 100644--- a/web/packages/gallery/components/upload-progress/UploadProgressDialog.tsx+++ b/web/packages/gallery/components/upload-progress/UploadProgressDialog.tsx@@ -13,7 +13,7 @@ import {} from "@mui/material";import { SlideUpTransition } from "ente-new/photos/components/mui/SlideUpTransition";import { t } from "i18next";-import { uploadStatColors } from "../uploadProgressStats";+import { uploadStatColors } from "../upload-progress-stats";import {uploadSheetMediaQuery,uploadSheetPaperSx,diff --git a/web/packages/gallery/components/upload-progress/context.ts b/web/packages/gallery/components/upload-progress/context.tsindex 7bd2b4e2e6..97cfa6e579 100644--- a/web/packages/gallery/components/upload-progress/context.ts+++ b/web/packages/gallery/components/upload-progress/context.ts@@ -6,7 +6,7 @@ import type {SegregatedFinishedUploads,UploadCounter,UploadFileNames,-} from "../uploadProgressStats";+} from "../upload-progress-stats";export interface DragPosition {x: number;diff --git a/web/packages/gallery/components/upload-progress/helpers.ts b/web/packages/gallery/components/upload-progress/helpers.tsindex 3b26b96b15..ff5d729f8c 100644--- a/web/packages/gallery/components/upload-progress/helpers.ts+++ b/web/packages/gallery/components/upload-progress/helpers.ts@@ -9,7 +9,7 @@ import {type FinishedStatKind,type FinishedUploadType,type UploadStatKind,-} from "../uploadProgressStats";+} from "../upload-progress-stats";import type { UploadProgressContextT } from "./context";export const finishedTypeReasonKeys: Partial<diff --git a/web/packages/gallery/components/upload-progress/useMinimizedUploadDrag.ts b/web/packages/gallery/components/upload-progress/use-minimized-upload-drag.tssimilarity index 100%rename from web/packages/gallery/components/upload-progress/useMinimizedUploadDrag.tsrename to web/packages/gallery/components/upload-progress/use-minimized-upload-drag.ts