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

Willy/ui2 #1615

Merged
merged 59 commits into from
Jan 6, 2025
Merged
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift click to select a range
33bab32
chore: clean auth hooks
willydouhard Dec 18, 2024
925d419
wip
willydouhard Dec 18, 2024
7cf94da
wip header sidebar
willydouhard Dec 21, 2024
22a454e
wip sidebar
willydouhard Dec 22, 2024
a6562d2
wip login
willydouhard Dec 22, 2024
7c184d9
wip composer
willydouhard Dec 23, 2024
d3ced1c
wip chat settings
willydouhard Dec 23, 2024
bbf1c00
wip tasklist
willydouhard Dec 23, 2024
b17d40f
wip readme starters
willydouhard Dec 23, 2024
dbee012
wip copy button
willydouhard Dec 23, 2024
b4da382
wip footer
willydouhard Dec 24, 2024
18e8865
wip: messages
willydouhard Dec 26, 2024
ac4bf2d
wip sideview
willydouhard Dec 26, 2024
5f5dfe3
wip actions
willydouhard Dec 27, 2024
7f3f00a
wip thread resume
willydouhard Dec 27, 2024
3a02fdb
wip env
willydouhard Dec 28, 2024
27b47e8
wip element view
willydouhard Dec 28, 2024
29a5c94
chore: delete old mui files
willydouhard Dec 28, 2024
8697b2b
wip copilot
willydouhard Dec 29, 2024
53f767f
fix scroll
willydouhard Dec 29, 2024
7f2eb57
fix: enforce cookie auth
willydouhard Dec 29, 2024
1cad031
fix: copilot css
willydouhard Dec 29, 2024
3ed8b45
replace formik/yup with hookform/zod
willydouhard Dec 29, 2024
3fb3f6b
improve copilot scroll
willydouhard Dec 29, 2024
d2086b3
fix: lint
willydouhard Dec 29, 2024
20774a5
Merge branch 'main' of github.com:Chainlit/chainlit into willy/ui2
willydouhard Dec 29, 2024
c3c76af
fix: tests
willydouhard Dec 30, 2024
70816eb
fix: format/lint
willydouhard Dec 30, 2024
ff0251f
fix: import
willydouhard Dec 30, 2024
c60a26d
fix: ruff
willydouhard Dec 30, 2024
63bfcaa
fix: ruff
willydouhard Dec 30, 2024
d15df93
fix: ruff
willydouhard Dec 30, 2024
d3a11c4
fix: mypy
willydouhard Dec 30, 2024
9552dd1
fix: mypy
willydouhard Dec 30, 2024
0a8f383
feat: custom theme/font
willydouhard Dec 31, 2024
0b872a4
fix: ruff
willydouhard Dec 31, 2024
fdff686
fix: ruff
willydouhard Dec 31, 2024
346ff3b
fix: mypy
willydouhard Dec 31, 2024
db7b9d8
feat: copilot shadow root
willydouhard Dec 31, 2024
d3b3caa
feat: custom element
willydouhard Jan 1, 2025
6073a0c
fix: ruff
willydouhard Jan 1, 2025
56139d3
fix: mypy
willydouhard Jan 1, 2025
8d11d26
chore: bump python multipart
willydouhard Jan 1, 2025
14ce78c
chore: regenerate poetry.lock
willydouhard Jan 1, 2025
3925195
feat: expose shadcn components to CustomElement
willydouhard Jan 2, 2025
08df9d4
feat: fix chat if not thread resumable
willydouhard Jan 2, 2025
32849d2
fix: add error boundary to dynamic icon
willydouhard Jan 2, 2025
4bd978d
fix: enhance thread page
willydouhard Jan 2, 2025
318f157
fix: prevent enter when composing message
willydouhard Jan 2, 2025
0d1070d
feat: replace jsx parser with react runner
willydouhard Jan 3, 2025
dfb92ef
fix: icon component
willydouhard Jan 3, 2025
a1ac429
fix: thread page
willydouhard Jan 3, 2025
79d3a31
Update README.md
willydouhard Jan 3, 2025
f20f531
chore: update changelog
willydouhard Jan 3, 2025
739127f
fix: step content check
willydouhard Jan 3, 2025
3d85634
fix: check ROOT_PATH everytime html template is rendered
willydouhard Jan 3, 2025
e62092f
feat: add autofocus on login input
willydouhard Jan 3, 2025
f6a66b9
Hugues/data layer (#1621)
desaxce Jan 4, 2025
a9e9e88
fix: comment in feedback
desaxce Jan 6, 2025
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
Prev Previous commit
Next Next commit
fix: step content check
  • Loading branch information
willydouhard committed Jan 3, 2025
commit 739127fd8913764b975831d1b2f8a862b9e6155d
6 changes: 3 additions & 3 deletions frontend/src/components/chat/Messages/Message/Step.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 21,7 @@ export default function Step({
return isRunning && step.start && !step.end && !step.isError;
}, [step, isRunning]);

const hasOutput = step.output || step.steps?.length;
const hasContent = step.input || step.output || step.steps?.length;
const isError = step.isError;

const stepName = step.name;
Expand All @@ -32,7 32,7 @@ export default function Step({
className={cn(
'flex items-center gap-1 group/step',
isError && 'text-red-500',
hasOutput && 'cursor-pointer',
hasContent && 'cursor-pointer',
!isRunning && 'text-muted-foreground hover:text-foreground',
isRunning && 'loading-shimmer'
)}
Expand All @@ -50,7 50,7 @@ export default function Step({
{stepName}
</>
)}
{hasOutput ? (
{hasContent ? (
open ? (
<ChevronUp className="invisible group-hover/step:visible !size-4" />
) : (
Expand Down
Loading