refactor: improve board manage page (#323)

* refactor: improve board manage page

* chore: address pull request feedback
This commit is contained in:
Meier Lukas
2024-04-13 12:42:03 +02:00
committed by GitHub
parent 6b1879cbb1
commit 9ed298d641
10 changed files with 200 additions and 60 deletions

View File

@@ -52,6 +52,7 @@ export const boardRouter = createTRPCRouter({
columns: {
id: true,
name: true,
isPublic: true,
},
with: {
sections: {

View File

@@ -1 +1 @@
export { signIn, signOut } from "next-auth/react";
export { signIn, signOut, useSession, SessionProvider } from "next-auth/react";

View File

@@ -234,6 +234,13 @@ export default {
navigateDefaultBoard: "Navigate to default board",
},
},
menu: {
section: {
dangerZone: {
title: "Danger Zone",
},
},
},
noResults: "No results found",
preview: {
show: "Show preview",
@@ -816,10 +823,28 @@ export default {
},
page: {
board: {
title: "Manage boards",
button: {
create: "Create board",
delete: "Delete board",
title: "Your boards",
action: {
new: {
label: "New board",
},
open: {
label: "Open board",
},
settings: {
label: "Settings",
},
delete: {
label: "Delete permanently",
confirm: {
title: "Delete board",
description: "Are you sure you want to delete the {name} board?",
},
},
},
visibility: {
public: "This board is public",
private: "This board is private",
},
modal: {
createBoard: {