Skip to content

feat(tarko-agent-ui): new layout design#1553

Merged
ulivz merged 29 commits intomainfrom
feat/add-sidebar-to-home
Sep 17, 2025
Merged

feat(tarko-agent-ui): new layout design#1553
ulivz merged 29 commits intomainfrom
feat/add-sidebar-to-home

Conversation

@ulivz
Copy link
Member

@ulivz ulivz commented Sep 17, 2025

Summary

Redesigned Home Layout, introduced Chat Session in Home, redesigned Sidebar, and fixed some significant experience issues

new-home-layout.mp4

Checklist

  • Added or updated necessary tests (Optional).
  • Updated documentation to align with changes (Optional).
  • Verified no breaking changes, or prepared solutions for any occurring breaking changes (Optional).
  • My change does not involve the above items.

@netlify
Copy link

netlify bot commented Sep 17, 2025

Deploy Preview for agent-tars-docs ready!

Name Link
🔨 Latest commit ffffea2
🔍 Latest deploy log https://app.netlify.com/projects/agent-tars-docs/deploys/68cad41da908300008b15b55
😎 Deploy Preview https://deploy-preview-1553--agent-tars-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ulivz ulivz changed the title feat(tarko-agent-ui): add sidebar to home page feat(tarko-agent-ui): new layout Sep 17, 2025
@ulivz ulivz force-pushed the feat/add-sidebar-to-home branch from 560fde8 to 625af78 Compare September 17, 2025 13:44
- Make sidebar 100% height with horizontal layout
- Move navbar inside main content area
- Relocate sidebar toggle from navbar to toolbar
Remove unnecessary wrapper div that prevented Layout component
from properly using flex-1 space
- Change ChatSession from embedded to left-sliding modal
- Add black semi-transparent backdrop overlay
- Implement smooth slide animation with framer-motion
- Support backdrop click to close modal
- Prevent main content area compression
Remove left padding and margin that caused weird spacing
in the slide-in modal layout
Remove pl-3 to make modal flush with left edge
Change p-3 to px-3 pb-3 to eliminate unwanted top padding
Use left-12 positioning instead of spacer div for cleaner layout
Let ChatSession start from left edge, ToolBar will naturally overlay
Reorganize toolbar layout: logo, sidebar toggle, new task at top
Settings and layout switch remain at bottom
Show collapse icon when collapsed, expand icon when expanded
Only show layout switch button in session pages where it's functional
Increase backdrop blur from sm to lg and reduce opacity for better visual effect
- Add backdrop-filter blur to backdrop and dialog panel
- Use semi-transparent backgrounds for glass effect
- Enhanced shadows with subtle borders
- Cross-browser compatibility with webkit prefix
Replace dynamic Tailwind class generation with static class maps
to ensure proper CSS compilation and border rendering
- Increase max width constraints with responsive breakpoints
- Add horizontal padding to container to prevent edge overflow
- Use explicit pixel values for better control
- Replace whiteSpace nowrap with normal to allow text wrapping
- Add maxWidth constraint (300px) and wordWrap break-word
- Implement viewport boundary detection and adjustment
- Ensure tooltips stay within screen bounds with 10px margin
@ulivz ulivz changed the title feat(tarko-agent-ui): new layout feat(tarko-agent-ui): new layout design Sep 17, 2025
Remove complex boundary detection, just add maxWidth prop with 300px default
Change dark mode background from gray-800/95 to gray-900/95 for better contrast
@ulivz ulivz requested review from cjraft and helio9cn September 17, 2025 15:46
@ulivz ulivz merged commit 21d59fb into main Sep 17, 2025
10 checks passed
@ulivz ulivz deleted the feat/add-sidebar-to-home branch September 17, 2025 15:47
ulivz added a commit that referenced this pull request Sep 22, 2025
Replay mode was missing the outer container with proper height
control and background styling, and the Navbar component.
This caused layout issues where the UI didn't fill the screen
properly in replay mode.

Fixes the height control issue introduced in PR #1553.
ulivz added a commit that referenced this pull request Sep 23, 2025
Replay mode was missing the outer container with proper height
control and background styling, and the Navbar component.
This caused layout issues where the UI didn't fill the screen
properly in replay mode.

Fixes the height control issue introduced in PR #1553.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments