Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

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.ts
similarity index 100%
rename from web/apps/albums/src/public-album/access/hooks/useJoinAlbum.ts
rename to web/apps/albums/src/public-album/access/hooks/use-join-album.ts
diff --git a/web/apps/albums/src/public-album/components/TripLayout/TripMap.tsx b/web/apps/albums/src/public-album/components/TripLayout/TripMap.tsx
index 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.ts
similarity index 99%
rename from web/apps/albums/src/public-album/components/TripLayout/hooks/useDataProcessing.ts
rename to web/apps/albums/src/public-album/components/TripLayout/hooks/use-data-processing.ts
index 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.ts
similarity index 100%
rename from web/apps/albums/src/public-album/components/TripLayout/hooks/useFileViewer.ts
rename to web/apps/albums/src/public-album/components/TripLayout/hooks/use-file-viewer.ts
diff --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.ts
similarity index 97%
rename from web/apps/albums/src/public-album/components/TripLayout/hooks/useLocationFetching.ts
rename to web/apps/albums/src/public-album/components/TripLayout/hooks/use-location-fetching.ts
index 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.ts
similarity index 99%
rename from web/apps/albums/src/public-album/components/TripLayout/hooks/useScrollHandling.ts
rename to web/apps/albums/src/public-album/components/TripLayout/hooks/use-scroll-handling.ts
index 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.ts
similarity index 97%
rename from web/apps/albums/src/public-album/components/TripLayout/hooks/useThumbnailGeneration.ts
rename to web/apps/albums/src/public-album/components/TripLayout/hooks/use-thumbnail-generation.ts
index 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.tsx
index 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.ts
similarity index 100%
rename from web/apps/albums/src/public-album/components/TripLayout/mapHelpers.ts
rename to web/apps/albums/src/public-album/components/TripLayout/map-helpers.ts
diff --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.ts
similarity index 100%
rename from web/apps/albums/src/public-album/components/TripLayout/utils/dataProcessing.ts
rename to web/apps/albums/src/public-album/components/TripLayout/utils/data-processing.ts
diff --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.ts
similarity index 99%
rename from web/apps/albums/src/public-album/components/TripLayout/utils/scrollUtils.ts
rename to web/apps/albums/src/public-album/components/TripLayout/utils/scroll-utils.ts
index 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.tsx
index 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.tsx
index 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.tsx
index 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.ts
similarity index 100%
rename from web/apps/albums/src/shared/hooks/useBrowserBackClose.ts
rename to web/apps/albums/src/shared/hooks/use-browser-back-close.ts
diff --git a/web/apps/auth/src/featureFlags.ts b/web/apps/auth/src/feature-flags.ts
similarity index 100%
rename from web/apps/auth/src/featureFlags.ts
rename to web/apps/auth/src/feature-flags.ts
diff --git a/web/apps/auth/src/pages/change-password.tsx b/web/apps/auth/src/pages/change-password.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.ts
similarity index 100%
rename from web/apps/ensu/src/services/chat/chatKey.ts
rename to web/apps/ensu/src/services/chat/chat-key.ts
diff --git a/web/apps/locker/src/components/CreateItemDialog.tsx b/web/apps/locker/src/components/CreateItemDialog.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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/CollectionChipR
import {
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.ts
similarity index 100%
rename from web/apps/locker/src/components/createItemDialog/fileUploadHelpers.ts
rename to web/apps/locker/src/components/createItemDialog/file-upload-helpers.ts
diff --git a/web/apps/locker/src/components/createItemDialog/itemFormFieldsUtils.ts b/web/apps/locker/src/components/createItemDialog/item-form-fields-utils.ts
similarity index 100%
rename from web/apps/locker/src/components/createItemDialog/itemFormFieldsUtils.ts
rename to web/apps/locker/src/components/createItemDialog/item-form-fields-utils.ts
diff --git a/web/apps/locker/src/components/createItemDialog/useCreateItemDialogState.ts b/web/apps/locker/src/components/createItemDialog/use-create-item-dialog-state.ts
similarity index 99%
rename from web/apps/locker/src/components/createItemDialog/useCreateItemDialogState.ts
rename to web/apps/locker/src/components/createItemDialog/use-create-item-dialog-state.ts
index 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.tsx
index 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.ts
similarity index 100%
rename from web/apps/locker/src/components/lockerDialogStyles.ts
rename to web/apps/locker/src/components/locker-dialog-styles.ts
diff --git a/web/apps/locker/src/components/lockerItemIcons.tsx b/web/apps/locker/src/components/locker-item-icons.tsx
similarity index 100%
rename from web/apps/locker/src/components/lockerItemIcons.tsx
rename to web/apps/locker/src/components/locker-item-icons.tsx
diff --git a/web/apps/locker/src/components/lockerPage/DeleteCollectionDialog.tsx b/web/apps/locker/src/components/lockerPage/DeleteCollectionDialog.tsx
index 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.tsx
similarity index 99%
rename from web/apps/locker/src/components/lockerPage/useLockerActions.tsx
rename to web/apps/locker/src/components/lockerPage/use-locker-actions.tsx
index 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.ts
similarity index 100%
rename from web/apps/locker/src/components/lockerPage/useLockerData.ts
rename to web/apps/locker/src/components/lockerPage/use-locker-data.ts
diff --git a/web/apps/locker/src/components/lockerPage/useLockerNavigation.ts b/web/apps/locker/src/components/lockerPage/use-locker-navigation.ts
similarity index 100%
rename from web/apps/locker/src/components/lockerPage/useLockerNavigation.ts
rename to web/apps/locker/src/components/lockerPage/use-locker-navigation.ts
diff --git a/web/apps/locker/src/featureFlags.ts b/web/apps/locker/src/feature-flags.ts
similarity index 100%
rename from web/apps/locker/src/featureFlags.ts
rename to web/apps/locker/src/feature-flags.ts
diff --git a/web/apps/locker/src/pages/change-password.tsx b/web/apps/locker/src/pages/change-password.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.ts
similarity index 100%
rename from web/apps/memories/src/hooks/usePublicMemoryPage.ts
rename to web/apps/memories/src/hooks/use-public-memory-page.ts
diff --git a/web/apps/memories/src/pages/index.tsx b/web/apps/memories/src/pages/index.tsx
index 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.tsx
index 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/Passwor
import 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.tsx
index 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.tsx
index 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.ts
similarity index 100%
rename from web/apps/paste/src/components/qrCode.ts
rename to web/apps/paste/src/components/qr-code.ts
diff --git a/web/apps/paste/src/components/textFieldSx.ts b/web/apps/paste/src/components/text-field-sx.ts
similarity index 100%
rename from web/apps/paste/src/components/textFieldSx.ts
rename to web/apps/paste/src/components/text-field-sx.ts
diff --git a/web/apps/paste/src/pages/index.tsx b/web/apps/paste/src/pages/index.tsx
index 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.ts
similarity index 100%
rename from web/apps/paste/src/usePaste.ts
rename to web/apps/paste/src/use-paste.ts
diff --git a/web/apps/photos/src/featureFlags.ts b/web/apps/photos/src/feature-flags.ts
similarity index 100%
rename from web/apps/photos/src/featureFlags.ts
rename to web/apps/photos/src/feature-flags.ts
diff --git a/web/apps/photos/src/pages/change-password.tsx b/web/apps/photos/src/pages/change-password.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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/PasskeyVerificationFo
import { 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.tsx
index 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.tsx
index 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.ts
similarity index 100%
rename from web/apps/share/src/hooks/useCollectionShare.ts
rename to web/apps/share/src/hooks/use-collection-share.ts
diff --git a/web/apps/share/src/hooks/useFileShare.ts b/web/apps/share/src/hooks/use-file-share.ts
similarity index 100%
rename from web/apps/share/src/hooks/useFileShare.ts
rename to web/apps/share/src/hooks/use-file-share.ts
diff --git a/web/apps/twoof3/src/features/twoof3/utils/export.ts b/web/apps/twoof3/src/features/twoof3/utils/export.ts
index 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.ts
similarity index 100%
rename from web/apps/twoof3/src/features/twoof3/utils/offlineQrSource.ts
rename to web/apps/twoof3/src/features/twoof3/utils/offline-qr-source.ts
diff --git a/web/apps/twoof3/src/features/twoof3/utils/qrCode.ts b/web/apps/twoof3/src/features/twoof3/utils/qr-code.ts
similarity index 100%
rename from web/apps/twoof3/src/features/twoof3/utils/qrCode.ts
rename to web/apps/twoof3/src/features/twoof3/utils/qr-code.ts
diff --git a/web/apps/twoof3/src/pages/index.tsx b/web/apps/twoof3/src/pages/index.tsx
index 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.tsx
index 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.ts
similarity index 100%
rename from web/packages/gallery/components/uploadProgressStats.ts
rename to web/packages/gallery/components/upload-progress-stats.ts
diff --git a/web/packages/gallery/components/upload-progress/MinimizedUploadProgress.tsx b/web/packages/gallery/components/upload-progress/MinimizedUploadProgress.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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.ts
index 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.ts
index 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.ts
similarity index 100%
rename from web/packages/gallery/components/upload-progress/useMinimizedUploadDrag.ts
rename to web/packages/gallery/components/upload-progress/use-minimized-upload-drag.ts