Skip to content

Conversation

@ulivz
Copy link
Member

@ulivz ulivz commented Sep 25, 2025

Summary

Added welcomeCards feature to support configurable cards on the homepage below welcomePrompts. Cards support title, prompt, avatar, category, and agentOptions fields with categorized display and tab navigation when multiple categories exist.

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 25, 2025

Deploy Preview for agent-tars-docs ready!

Name Link
🔨 Latest commit 1a526d2
🔍 Latest deploy log https://app.netlify.com/projects/agent-tars-docs/deploys/68d533c0378af800089a7fa8
😎 Deploy Preview https://deploy-preview-1643--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.

@netlify
Copy link

netlify bot commented Sep 25, 2025

Deploy Preview for tarko ready!

Name Link
🔨 Latest commit 1a526d2
🔍 Latest deploy log https://app.netlify.com/projects/tarko/deploys/68d533c086727c0009103b4f
😎 Deploy Preview https://deploy-preview-1643--tarko.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 welcomeCards support with categorized card display feat(tarko-agent-ui): welcome cards Sep 25, 2025
…le layout

- Add beautiful background images with proper scaling and gradients
- Implement glassmorphism design with backdrop blur effects
- Add hover animations with lift effect and arrow indicators
- Include category badges with counts in pill-style tabs
- Support fallback gradients for cards without images
- Add loading states with spinner overlay
- Improve responsive grid layout (up to 4 columns)
- Enhance typography and spacing for better readability
…t input stability

- Remove fixed h-screen constraint that prevented scrolling
- Replace fixed height sections with flexible min-height approach
- Use min-h-[60vh] for chat input area to maintain visual balance
- Enable natural page scroll for welcome cards section
- Preserve chat input position stability during tab switches
…nable scrolling

- Remove overflow-hidden constraint from homepage route container
- Keep overflow-hidden only for session pages where it's needed
- Enable natural page scrolling for homepage content
- Maintain proper layout structure without scroll restrictions
…-screen for scrollability

- Replace h-screen with min-h-screen in homepage route container
- Allow content to expand beyond viewport height and enable scrolling
- Maintain minimum viewport height while permitting overflow
- Fix the root cause of scrolling prevention in homepage layout
…ut for homepage

- Restore h-screen container to keep sidebar fixed in position
- Add overflow-hidden to main container and overflow-y-auto to content area
- Create proper scroll boundary: sidebar fixed, right content scrollable
- Remove min-h-screen from WelcomePage to work within scroll container
- Achieve desktop app behavior: fixed sidebar + scrollable main content
…aesthetics

🎨 Premium Design Features:
- Glassmorphism effects with backdrop blur and translucent borders
- Sophisticated gradient backgrounds with 8 premium color schemes
- Dynamic geometric decorations and animated light effects
- Luxury tab design with glowing backgrounds and smooth transitions

✨ Advanced Interactions:
- Elegant hover animations with scale, lift, and rotation effects
- Smooth category switching with spring-based transitions
- Loading states with spinning indicators and opacity changes
- Ripple effects on card interactions

🌙 Perfect Dark Mode Support:
- Carefully crafted opacity levels for light/dark themes
- Consistent color schemes across all UI states
- Enhanced contrast and readability in both modes

🎭 Micro-animations:
- Staggered card entrance animations with custom easing
- Floating geometric shapes with hover transformations
- Dynamic light sweeps across gradient backgrounds
- Smooth layout transitions between categories

📐 Typography & Spacing:
- Increased card height (384px) for premium feel
- Generous padding and refined text hierarchy
- Elegant empty states with sophisticated placeholders
- Optimized responsive grid with larger gaps
@codecov
Copy link

codecov bot commented Sep 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 14.26%. Comparing base (70571c2) to head (1a526d2).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1643   +/-   ##
=======================================
  Coverage   14.26%   14.26%           
=======================================
  Files         250      250           
  Lines        8562     8562           
  Branches     1672     1672           
=======================================
  Hits         1221     1221           
  Misses       7166     7166           
  Partials      175      175           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…elcome cards

🌅 Light Mode Transformation:
- Replace harsh white backgrounds with elegant gray-100/80 tones
- Add proper shadows and borders for depth and definition
- Enhance card gradients with darker 700-900 ranges for better contrast
- Implement sophisticated shadow system (shadow-lg/shadow-xl)

🎨 Visual Hierarchy Improvements:
- Tab container: gray-100/80 background with subtle borders
- Active tabs: pure white with soft shadows
- Cards: white backgrounds with gray-200/40 borders
- Better text contrast with gray-900/gray-500 color scheme

✨ Enhanced Contrast & Readability:
- Darker gradient backgrounds (700-900) for better text visibility
- Black/20 overlays on card elements instead of white/20
- Improved category badge contrast with black backgrounds
- Consistent shadow elevation system

🎯 Refined Details:
- Empty state with proper gray backgrounds and borders
- Hover effects with shadow-xl for premium feel
- Maintained dark mode perfection while fixing light mode
- Smooth transitions between light/dark themes

Result: Light mode now matches the elegance of dark mode!
🎨 Theme Toggle Component:
- Create standalone ThemeToggle component for code reusability
- Support multiple variants: navbar, floating, button
- Configurable sizes: small, medium, large
- Consistent styling across different contexts

🏠 Homepage Theme Toggle:
- Add floating theme toggle in top-right corner
- Beautiful entrance animation with scale and opacity effects
- Fixed positioning with proper z-index layering
- Elegant floating style with shadow and backdrop

🔄 Code Reusability:
- Refactor Navbar to use new ThemeToggle component
- Maintain exact same functionality and appearance
- Centralized theme toggle logic in shared component
- Clean separation of concerns

✨ Enhanced UX:
- Users can now toggle theme directly from homepage
- Smooth animations and hover effects
- Consistent theme switching behavior across app
- Professional floating button design

🎯 Technical Benefits:
- DRY principle - no code duplication
- Easy to maintain and update theme logic
- Flexible component API for future use cases
- Type-safe props with TypeScript interfaces
@ZhaoHeh ZhaoHeh merged commit 37babcc into main Sep 25, 2025
10 checks passed
@ZhaoHeh ZhaoHeh deleted the feat/welcome-cards branch September 25, 2025 12:27
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.

3 participants