Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

feat: Replace AppShell custom components with UI-Kit components (#55)#58

Merged
christoph2806 merged 7 commits intodevelopfrom
feature/issue-55-appshell-ui-kit-refactor
Jun 10, 2025
Merged

feat: Replace AppShell custom components with UI-Kit components (#55)#58
christoph2806 merged 7 commits intodevelopfrom
feature/issue-55-appshell-ui-kit-refactor

Conversation

@christoph2806
Copy link
Copy Markdown
Member

feat: Replace AppShell custom components with UI-Kit components (#55)

🎯 Overview

This PR addresses Issue #55 by replacing custom implementations in the AppShell component with proper UI-Kit components. This major refactoring eliminates inconsistent styling, fixes separator rendering issues, and provides enhanced functionality while maintaining backward compatibility.

🔧 Changes Made

New Wrapper Components Created

  1. AppShellBreadcrumbs - Wraps ui-kit Breadcrumb components

    • Fixes separator rendering issues (no more ">/" problems)
    • Maintains backward compatibility with existing BreadcrumbItem[] prop format
    • Uses proper semantic markup for accessibility
  2. AppShellSidebar - Wraps ui-kit Sidebar components

    • Adds proper collapsible functionality with SidebarProvider
    • Supports nested navigation and improved responsive behavior
    • Maintains backward compatibility with existing NavItem[] prop format
  3. AppShellTopBar - Enhanced with NavigationMenu + DropdownMenu components

    • Adds dropdown navigation menu support
    • Improved keyboard navigation and accessibility
    • Maintains all existing TopBar functionality

Core Updates

  • AppShell.tsx: Updated to use new wrapper components instead of custom ones
  • ContentWrapper.tsx: Now uses AppShellBreadcrumbs
  • Exports: Updated index files and removed old custom components
  • Cleanup: Removed legacy SideNav.tsx, TopBar.tsx, and Breadcrumbs.tsx

✅ All 9 Tasks Completed

Task Status Description
1 Create AppShellBreadcrumbs wrapper
2 Create AppShellSidebar wrapper
3 Create AppShellTopBar wrapper
4 Update AppShell component
5 Update ContentWrapper
6 Update exports and cleanup
7 Update tests
8 Update Storybook
9 Manual testing

🧪 Testing

  • Unit Tests: All new wrapper components have comprehensive test coverage
  • Integration Tests: AppShell tests updated and passing
  • Storybook: All stories render correctly with new functionality
  • Manual Testing: Thoroughly tested in showcase application
  • Dogfooding: Enhanced all shell components with proper Typography usage

📈 Benefits

  • Consistency: Uses same ui-kit components throughout the application
  • Enhanced Functionality: Dropdown navigation menus, proper sidebar behavior
  • Better Accessibility: WCAG compliance from ui-kit components
  • Maintainability: Single source of truth for component styling
  • Backward Compatibility: No breaking changes to public API
  • Fixed Issues: Breadcrumb separator rendering now works correctly

🔍 Additional Improvements

During implementation, comprehensive dogfooding was performed across all shell components:

  • AuthShell: Enhanced with Card components and proper semantic structure
  • ErrorShell & MinimalShell: Improved with Card-based layouts
  • Typography Integration: Replaced manual text styling with Typography components
  • Accessibility: Added proper ARIA attributes and semantic HTML

📋 Definition of Done

All DoD criteria have been met:

  • ✅ New wrapper components created and exported
  • ✅ UI-kit components properly integrated
  • ✅ Backward compatibility maintained
  • ✅ All tests passing
  • ✅ Storybook stories updated
  • ✅ Manual testing completed
  • ✅ No breaking changes to public API
  • ✅ TypeScript compilation successful

Fixes #55

Developer added 7 commits June 9, 2025 13:04
…AuthShell - replaced multiple action buttons with single icon for consistency, updated AuthShell to use Card components instead of plain divs
… replace plain HTML with Card components for consistent UI patterns and semantic structure
… replace manual text styling with Typography components, improve semantic HTML structure with proper header and figure elements, enhance accessibility with role and aria attributes
…ing tests, storybook, and manual testing with comprehensive dogfooding improvements
@christoph2806 christoph2806 merged commit f8e286f into develop Jun 10, 2025
7 checks passed
@christoph2806 christoph2806 deleted the feature/issue-55-appshell-ui-kit-refactor branch June 10, 2025 16:48
christoph2806 pushed a commit that referenced this pull request Jun 10, 2025
christoph2806 added a commit that referenced this pull request Jun 11, 2025
…omponent (#59)

* docs: mark issue #55 as complete in project plan - AppShell refactor merged via PR #58

* feat: implement comprehensive pagination architecture for DataTable component

---------

Co-authored-by: Developer <developer@example.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AppShell not using Breadcrumbs component - renders incorrect separators

1 participant