Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(): removes any selected task list ids that no longer exist #1144

Merged
merged 5 commits into from
Sep 19, 2024
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
31 changes: 21 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"class-variance-authority": "0.7.0",
"clsx": "2.1.1",
"cmdk": "1.0.0",
"date-fns": "3.6.0",
"date-fns": "4.1.0",
"file-saver": "2.0.5",
"html-react-parser": "^5.1.12",
"i18next": "23.15.1",
Expand All @@ -82,7 +82,7 @@
"lucide-react": "0.441.0",
"marked": "14.1.2",
"react": "18.3.1",
"react-day-picker": "8.10.1",
"react-day-picker": "9.1.1",
"react-dom": "18.3.1",
"react-i18next": "15.0.2",
"react-transition-group": "4.4.5",
Expand Down
1 change: 1 addition & 0 deletions public/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"Language": "Sprache",
"Light": "Hell",
"List": "Liste",
"Lists": "Listen",
"M": "Menü öffnen (Filter | Einstellungen)",
"Months": "Monate",
"N": "Neue Aufgabe erstellen",
Expand Down
1 change: 1 addition & 0 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"Language": "Language",
"Light": "Light",
"List": "List",
"Lists": "Lists",
"M": "Open menu (Filter | Settings)",
"Months": "Months",
"N": "Create new task",
Expand Down
6 changes: 3 additions & 3 deletions src/components/TodoFileList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,15 @@ export const TodoFileList = memo(() => {
return (
<div className="group space-y-2">
<div className="relative">
<Label>Lists</Label>
<Label>{t("Lists")}</Label>
<Tooltip>
<TooltipTrigger asChild>
<Button
tabIndex={-1}
variant="ghost"
size="icon"
onClick={handleOpenFile}
className="absolute bottom-0 right-8 top-0 m-auto h-7 w-7 opacity-0 transition-opacity duration-300 ease-in-out group-hover:opacity-100"
className="absolute bottom-0 right-8 top-0 m-auto h-7 w-7 opacity-0 transition-opacity duration-300 ease-in-out group-hover:opacity-100 touch:hidden"
>
<FolderOpenIcon className="h-4 w-4" />
</Button>
Expand All @@ -164,7 +164,7 @@ export const TodoFileList = memo(() => {
variant="ghost"
size="icon"
onClick={handleCreateFile}
className="absolute bottom-0 right-0 top-0 m-auto h-7 w-7 opacity-0 transition-opacity duration-300 ease-in-out group-hover:opacity-100"
className="absolute bottom-0 right-0 top-0 m-auto h-7 w-7 opacity-0 transition-opacity duration-300 ease-in-out group-hover:opacity-100 touch:hidden"
>
<PlusIcon className="h-4 w-4" />
</Button>
Expand Down
Loading