Skip to content

Commit 59e1678

Browse files
author
juice
committed
add: report 뷰에 chart 추가
1 parent 4a13f03 commit 59e1678

File tree

25 files changed

+393
-215
lines changed

25 files changed

+393
-215
lines changed

src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ function App() {
3030
<AnimatePresence mode="wait">
3131
<Routes location={location} key={location.pathname}>
3232
<Route element={<Layout bottomNavigation={!isKeyboardVisible} />}>
33+
<Route path="/" element={<Navigate to="/home" replace />} />
3334
<Route path="home">
3435
<Route index path="*" element={<HomePage />} />
3536
<Route path="test">

src/api/report/chats.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export interface SummaryResponse {
1414
begin_message_id: string;
1515
end_message_id: string;
1616
};
17+
topic_messages: History[];
1718
}
1819

1920
export interface ChatResponse {
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading

src/commons/feedback/BottomSheet/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ export default function BottomSheet({
2626
initial={{ opacity: 0 }}
2727
animate={{ opacity: 1 }}
2828
exit={{ opacity: 0 }}
29-
transition={{ duration: 0.2 }}
29+
transition={{ duration: 0.3 }}
3030
className={`fixed inset-0 z-50 flex items-end justify-center ${backdrop ? "bg-black bg-opacity-40" : ""}`}
3131
onClick={onClose}
3232
>
3333
<motion.div
3434
initial={{ y: "100%" }}
3535
animate={{ y: 0 }}
3636
exit={{ y: "100%" }}
37-
transition={{ type: "spring", damping: 25, stiffness: 300 }}
37+
transition={{ type: "spring", damping: 30, stiffness: 300 }}
3838
className="bg-white w-full max-w-md rounded-t-2xl p-6 shadow-lg"
3939
onClick={(e) => e.stopPropagation()}
4040
>

src/commons/inputs/ToggleButton/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function Toggle({ selected, onClick, children, className }: ToggleButtonProps) {
99
return (
1010
<button
1111
onClick={onClick}
12-
className={`px-4 py-2 rounded-full text-sm transition-all
12+
className={`px-4 py-3 rounded-2xl text-sm transition-all flex justify-center items-center
1313
${selected ? "bg-second text-white" : "bg-gray-1 text-font-color"}
1414
${className}`}
1515
>

0 commit comments

Comments
 (0)