Skip to content

Commit c483c12

Browse files
[dev] [Marfuen] mariano/more (#1580)
* chore: standardize size of panels * chore: make sure latest processing message is auto expanded not only the first one * chore: make view mode switch smaller * chore: use gpt-5-mini and improve test ui * chore: add confetti animation to TestDialog on success * chore(automation): enhance layout and improve chat message styling * chore(layout): add padding to layout components for improved spacing --------- Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
1 parent f2966f0 commit c483c12

File tree

27 files changed

+405
-122
lines changed

27 files changed

+405
-122
lines changed

apps/app/src/app/(app)/[orgId]/components/DynamicMinHeight.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function DynamicMinHeight({ children, className }: DynamicMinHeightProps)
4242
const style = useMemo(() => ({ minHeight: `calc(100vh - ${offsetPx}px)` }), [offsetPx]);
4343

4444
return (
45-
<div ref={containerRef} className={cn('mx-auto px-4 py-4', className)} style={style}>
45+
<div ref={containerRef} className={cn(className)} style={style}>
4646
{children}
4747
</div>
4848
);

apps/app/src/app/(app)/[orgId]/controls/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default async function Layout({ children }: { children: React.ReactNode }) {
22
return (
3-
<div className="mx-auto max-w-[1200px]">
3+
<div className="mx-auto max-w-[1200px] py-8">
44
<div>{children}</div>
55
</div>
66
);

apps/app/src/app/(app)/[orgId]/frameworks/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default async function Layout({ children }: { children: React.ReactNode }) {
22
return (
3-
<div className="mx-auto max-w-[1200px]">
3+
<div className="mx-auto max-w-[1200px] py-8">
44
<div>{children}</div>
55
</div>
66
);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default async function Layout({ children }: { children: React.ReactNode }) {
2-
return <div className="m-auto max-w-[1200px]">{children}</div>;
2+
return <div className="m-auto max-w-[1200px] py-8">{children}</div>;
33
}

apps/app/src/app/(app)/[orgId]/people/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default async function Layout({ children }: { children: React.ReactNode }
2727
});
2828

2929
return (
30-
<div className="m-auto max-w-[1200px]">
30+
<div className="m-auto max-w-[1200px] py-8">
3131
<SecondaryMenu
3232
items={[
3333
{
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
import Loader from '@/components/ui/loader';
22

3-
export default Loader;
3+
export default function Loading() {
4+
return (
5+
<div className="m-auto w-full max-w-[1200px] py-8">
6+
<Loader />
7+
</div>
8+
);
9+
}

apps/app/src/app/(app)/[orgId]/policies/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default async function Layout({ children, params }: LayoutProps) {
99
const { orgId } = await params;
1010

1111
return (
12-
<div className="m-auto flex max-w-[1200px] flex-col">
12+
<div className="m-auto flex max-w-[1200px] flex-col py-8">
1313
<SecondaryMenu
1414
items={[
1515
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default async function Layout({ children }: { children: React.ReactNode }) {
2-
return <div className="m-auto max-w-[1200px]">{children}</div>;
2+
return <div className="m-auto max-w-[1200px] py-8">{children}</div>;
33
}

apps/app/src/app/(app)/[orgId]/settings/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default async function Layout({ children }: { children: React.ReactNode }
1616
}
1717

1818
return (
19-
<div className="m-auto max-w-[1200px]">
19+
<div className="m-auto max-w-[1200px] py-8">
2020
<Suspense fallback={<div>Loading...</div>}>
2121
<SecondaryMenu
2222
items={[

apps/app/src/app/(app)/[orgId]/tasks/[taskId]/automation/components/chat/message-part/text.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { MarkdownRenderer } from '../../markdown-renderer/markdown-renderer';
33

44
export function Text({ part }: { part: TextUIPart }) {
55
return (
6-
<div className="text-sm px-3.5 py-3 border bg-secondary/90 text-secondary-foreground border-gray-300 rounded-md font-mono">
6+
<div className="text-sm leading-relaxed text-foreground">
77
<MarkdownRenderer content={part.text} />
88
</div>
99
);

0 commit comments

Comments
 (0)