Skip to content

armgit / ente

Public Imported from GitHub
0

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

ui(DefaultOptions):minor-text-corrections

Aswin Asok7c285a979759
diff --git a/web/apps/photos/src/components/DefaultOptionsV2.tsx b/web/apps/photos/src/components/DefaultOptionsV2.tsx
index 9382eb7363..5ca7a0bb51 100644
--- a/web/apps/photos/src/components/DefaultOptionsV2.tsx
+++ b/web/apps/photos/src/components/DefaultOptionsV2.tsx
@@ -78,7 +78,11 @@ export function DefaultOptionsV2({
return (
<Stack
data-default-options-v2
- sx={{ gap: intent == "upload" ? "20px" : "36px", p: "20px" }}
+ sx={{
+ gap: intent == "upload" ? "20px" : "36px",
+ p: "20px",
+ pb: intent == "upload" ? "28px" : "20px",
+ }}
>
<SpacedRow>
<Typography
@@ -233,7 +237,6 @@ function UploadOptions({
onClick={onSelectGooglePhotos}
/>
</ImportSection>
- {importHelp}
</Stack>
);
}
diff --git a/web/apps/photos/src/components/UploadConfirmationDialog.tsx b/web/apps/photos/src/components/UploadConfirmationDialog.tsx
index 04efa8f533..3702d8aa50 100644
--- a/web/apps/photos/src/components/UploadConfirmationDialog.tsx
+++ b/web/apps/photos/src/components/UploadConfirmationDialog.tsx
@@ -55,27 +55,27 @@ export function UploadConfirmationDialog({
>
<Stack sx={contentSx}>
<Stack direction="row" sx={headerSx}>
- <Stack direction="row" sx={headerTitleSx}>
+ <Typography sx={displayTitleSx}>
+ {isTakeout
+ ? "Import from Google Photos"
+ : "Upload to Ente"}
+ </Typography>
+ <Stack direction="row" sx={headerActionsSx}>
<IconButton
aria-label="Back"
onClick={onCancel}
- sx={backButtonSx}
+ sx={headerButtonSx}
>
<HugeiconsIcon icon={ArrowLeft02Icon} size={24} />
</IconButton>
- <Typography sx={displayTitleSx}>
- {isTakeout
- ? "Import from Google Photos"
- : "Upload to Ente"}
- </Typography>
+ <IconButton
+ aria-label="Close"
+ onClick={onCancel}
+ sx={headerButtonSx}
+ >
+ <HugeiconsIcon icon={Cancel01Icon} size={18} />
+ </IconButton>
</Stack>
- <IconButton
- aria-label="Close"
- onClick={onCancel}
- sx={closeButtonSx}
- >
- <HugeiconsIcon icon={Cancel01Icon} size={18} />
- </IconButton>
</Stack>
<Stack sx={mainSx}>
@@ -191,17 +191,9 @@ const headerSx = {
minWidth: 0,
};
-const headerTitleSx = { alignItems: "center", gap: 1, minWidth: 0 };
-
-const backButtonSx = {
- width: 38,
- height: 38,
- flexShrink: 0,
- p: 0,
- color: "text.base",
-};
+const headerActionsSx = { alignItems: "center", gap: 1, flexShrink: 0 };
-const closeButtonSx = (theme: Theme) => ({
+const headerButtonSx = (theme: Theme) => ({
width: 38,
height: 38,
flexShrink: 0,
diff --git a/web/package-lock.json b/web/package-lock.json
index cbecb77672..28bdbe1001 100644
--- a/web/package-lock.json
+++ b/web/package-lock.json
@@ -394,7 +394,6 @@
"integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"@babel/code-frame": "^7.29.7",
"@babel/generator": "^7.29.7",
@@ -685,17 +684,6 @@
"url": "https://github.com/sponsors/Borewit"
}
},
- "node_modules/@emnapi/wasi-threads": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.2.tgz",
- "integrity": "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
"node_modules/@emotion/babel-plugin": {
"version": "11.13.5",
"resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz",
@@ -1121,15 +1109,6 @@
"url": "https://github.com/sponsors/ayuhito"
}
},
- "node_modules/@fontsource/outfit": {
- "version": "5.2.8",
- "resolved": "https://registry.npmjs.org/@fontsource/outfit/-/outfit-5.2.8.tgz",
- "integrity": "sha512-rXC6g0MqD7cOBjht0bMqc43qM6lRqDLML9KXsmg9uykz0wLQhy8Z/ajrMG6iyoT3NJR+MYgU+OEHp7uHoTb+Yw==",
- "license": "OFL-1.1",
- "funding": {
- "url": "https://github.com/sponsors/ayuhito"
- }
- },
"node_modules/@fontsource/space-grotesk": {
"version": "5.2.10",
"resolved": "https://registry.npmjs.org/@fontsource/space-grotesk/-/space-grotesk-5.2.10.tgz",
@@ -1795,7 +1774,6 @@
"resolved": "https://registry.npmjs.org/@mui/material/-/material-9.2.0.tgz",
"integrity": "sha512-+YTRSgGKGrrRo2XJZXs7JRA6qHoHWvNtxyqxnrRJTBmIuLOUpxxh7m4G9lF4tWberxGFY+EqkkRPgJCl+fSMJg==",
"license": "MIT",
- "peer": true,
"dependencies": {
"@babel/runtime": "^7.29.2",
"@mui/core-downloads-tracker": "^9.2.0",
@@ -1906,7 +1884,6 @@
"resolved": "https://registry.npmjs.org/@mui/system/-/system-9.2.0.tgz",
"integrity": "sha512-YvUJwKoGVtbnOm2PyPi5TvX2d1rOA6sqSpEWVs4WmXNIaFTuYmNUaVdU2o1NKUEe31URnD3E8ZVUMcsLQXwcYg==",
"license": "MIT",
- "peer": true,
"dependencies": {
"@babel/runtime": "^7.29.2",
"@mui/private-theming": "^9.2.0",
@@ -3123,7 +3100,6 @@
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.17.tgz",
"integrity": "sha512-MXfmqaVPEVgkBT/aY0aGCkRWWtByiYQXo3xdQ8r5RzuFrPiRn8Gar2tQdXSUQ2GKV3bkXckek89V8wQBY2Q/Aw==",
"license": "MIT",
- "peer": true,
"dependencies": {
"csstype": "^3.2.2"
}
@@ -3215,7 +3191,6 @@
"integrity": "sha512-5B7PfA2e1NQGCnDHd/0lW7W3gvp3d59Ryw54FYO8Uswxo9f6ikw3AZV+Xj/TvpImmpsiYyUqAfhC6kJID1jF6w==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"@typescript-eslint/scope-manager": "8.61.0",
"@typescript-eslint/types": "8.61.0",
@@ -3629,7 +3604,6 @@
"integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
"dev": true,
"license": "MIT",
- "peer": true,
"bin": {
"acorn": "bin/acorn"
},
@@ -3971,7 +3945,6 @@
}
],
"license": "MIT",
- "peer": true,
"dependencies": {
"baseline-browser-mapping": "^2.10.12",
"caniuse-lite": "^1.0.30001782",
@@ -4882,7 +4855,6 @@
"integrity": "sha512-AyIKhnOBuOAdueD7RB3xB+YeAWScb9jHsJBgH2Hcde8InP5JYhqrRR6iTMHyTEwgENK54Cp44e4v8BwNhsuHuw==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.8.0",
"@eslint-community/regexpp": "^4.12.2",
@@ -5961,7 +5933,6 @@
}
],
"license": "MIT",
- "peer": true,
"peerDependencies": {
"typescript": "^5 || ^6"
},
@@ -6683,8 +6654,7 @@
"version": "1.9.4",
"resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.9.4.tgz",
"integrity": "sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==",
- "license": "BSD-2-Clause",
- "peer": true
+ "license": "BSD-2-Clause"
},
"node_modules/leaflet-defaulticon-compatibility": {
"version": "0.1.2",
@@ -8112,7 +8082,6 @@
"resolved": "https://registry.npmjs.org/ml-matrix/-/ml-matrix-6.12.2.tgz",
"integrity": "sha512-GC+BnW+pBh8Auap8goAxY0senAmF0IEoc3HNVSfnfbvGw0buuDIYb9kAKMS1l+GiwJ1rfK2bzJ8IHhwjzATSFA==",
"license": "MIT",
- "peer": true,
"dependencies": {
"is-any-array": "^3.0.0",
"ml-array-rescale": "^2.0.0"
@@ -8707,7 +8676,6 @@
"integrity": "sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==",
"dev": true,
"license": "MIT",
- "peer": true,
"bin": {
"prettier": "bin/prettier.cjs"
},
@@ -8837,7 +8805,6 @@
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.7.tgz",
"integrity": "sha512-t0BRVXvbiE/o20Hfw669rLbMCDWtYZLvmJigy2f0MxsXF+71pxhR3xOkspmsO8h3ZlNzyibAmtCa3l4lYKk6gQ==",
"license": "MIT",
- "peer": true,
"dependencies": {
"scheduler": "^0.27.0"
},
@@ -10258,7 +10225,6 @@
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
"devOptional": true,
"license": "Apache-2.0",
- "peer": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@@ -10581,7 +10547,6 @@
"integrity": "sha512-BuJcQK/56NQTWDGn4ABea3q4SSBdNPWwNZKTkkUpcMPnLoquSYH8llRtSUIgoL1KSCpHt5eghLShn50mH36y7Q==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"lightningcss": "^1.32.0",
"picomatch": "^4.0.4",
@@ -11058,7 +11023,6 @@
"resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
"integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
"license": "MIT",
- "peer": true,
"funding": {
"url": "https://github.com/sponsors/colinhacks"
}