Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/lashwi/TaskWeaver into tool…
Browse files Browse the repository at this point in the history
…tips
  • Loading branch information
HumorousBrine committed Dec 1, 2023
2 parents f8cc940 + bc0d676 commit 2a44702
Show file tree
Hide file tree
Showing 13 changed files with 756 additions and 781 deletions.
525 changes: 0 additions & 525 deletions client/package-lock.json

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@fluentui/react-icons": "^2.0.222",
"@mui/icons-material": "^5.14.16",
"@mui/joy": "^5.0.0-beta.14",
"@rsuite/icons": "^1.0.3",
"next": "14.0.0",
"react": "^18",
"react-dom": "^18",
Expand Down
15 changes: 10 additions & 5 deletions client/src/@types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
interface Board {
id: number;
owner: User;
title: string;
owner?: User;
arrows: Arrow[];
tasks: Task[];
users: User[];
}
interface Task {
id: number;
Expand All @@ -14,11 +17,12 @@ interface Task {
color: string;
description?: string;
status?: string;
priority?: number;
deadline?: Date;
priority?: string;
deadline?: string;
assignees?: User[];
arrowsOut?: Arrow[];
arrowsIn?: Arrow[];
timeNeeded?: string;
}
interface Arrow {
id: number;
Expand All @@ -27,7 +31,8 @@ interface Arrow {
color: string;
}
interface User {
id: number;
name: string;
email: string;
profilePicUrl: string;
email?: string;
profilePicUrl?: string;
}
4 changes: 4 additions & 0 deletions client/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

}

.panel-surface-050 {
@apply bg-surface-050/50 border-2 border-surface-100 rounded-xl backdrop-blur-xl shadow-md;
}

.task-bubble {
background-color: #86FAB9;
padding: 10px;
Expand Down
3 changes: 0 additions & 3 deletions client/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use client";
import { useState } from 'react';
import Board from '@/components/Board';
import Navbar from '@/components/Navbar';

export default function Home() {
// State to control whether the popup is visible
Expand All @@ -15,8 +14,6 @@ export default function Home() {
return (
<div className="absolute top-0 left-0 z-10 h-screen w-screen overflow-hidden bg-white">
<Board />
<Navbar />

</div>
);
}
Loading

0 comments on commit 2a44702

Please sign in to comment.