Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ describe("saved list name ownership", () => {
);
});

it("offers only actions that do something in the list header", () => {
renderDetail();
expect(screen.getByRole("button", { name: "Share" })).toBeInTheDocument();
expect(screen.queryByRole("button", { name: "Add place" })).not.toBeInTheDocument();
});

it("shows frozen row credits and reconstructs selected details with exact field snapshots", () => {
const receipt = { sourceId: "original", name: "Original row publisher" };
const geometry = { sourceId: "coordinate", name: "Coordinate publisher" };
Expand Down
17 changes: 0 additions & 17 deletions apps/web/src/components/panels/saved/SavedListDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import data from "@emoji-mart/data";
import Picker from "@emoji-mart/react";
import AddIcon from "@mui/icons-material/Add";
import DeleteIcon from "@mui/icons-material/Delete";
import DownloadIcon from "@mui/icons-material/Download";
import EditNoteOutlinedIcon from "@mui/icons-material/EditNoteOutlined";
Expand Down Expand Up @@ -324,22 +323,6 @@ export function SavedListDetail() {
>
{t("share")}
</Button>
<Button
startIcon={<AddIcon sx={{ fontSize: 18 }} />}
sx={{
borderRadius: 24,
bgcolor: BRAND_LIGHT,
color: BRAND,
textTransform: "none",
fontWeight: 500,
fontSize: 13,
px: 2,
py: 0.75,
"&:hover": { bgcolor: BRAND_LIGHT, filter: "brightness(0.95)" },
}}
>
{t("addPlace")}
</Button>
</Box>
</Box>
<Divider />
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -3251,7 +3251,6 @@
"lists": "Listen",
"labeled": "Mit Label",
"newList": "Neue Liste",
"addPlace": "Ort hinzufügen",
"share": "Teilen",
"private": "Privat",
"shared": "Freigegeben",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3251,7 +3251,6 @@
"lists": "Lists",
"labeled": "Labeled",
"newList": "New List",
"addPlace": "Add place",
"share": "Share",
"private": "Private",
"shared": "Shared",
Expand Down
Loading