Skip to content

Conversation

@younocode
Copy link
Contributor

@younocode younocode commented Dec 9, 2025

No description provided.

@coveralls
Copy link
Collaborator

coveralls commented Dec 9, 2025

Pull Request Test Coverage Report for Build 20135492339

Details

  • 54 of 92 (58.7%) changed or added relevant lines in 5 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 71.773%

Changes Missing Coverage Covered Lines Changed/Added Lines %
apps/nestjs-backend/src/features/collaborator/collaborator.service.ts 0 14 0.0%
apps/nestjs-backend/src/features/user/last-visit/last-visit.service.ts 4 28 14.29%
Files with Coverage Reduction New Missed Lines %
apps/nestjs-backend/src/features/base-node/base-node.listener.ts 3 85.46%
Totals Coverage Status
Change from base Build 20134908204: -0.02%
Covered Lines: 58134
Relevant Lines: 80997

💛 - Coveralls

@younocode younocode force-pushed the feat/space-layout branch 3 times, most recently from bc4359b to 36ec2c7 Compare December 9, 2025 14:38
@younocode younocode added the preview This issue is already ready for preview label Dec 9, 2025
@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Deployment Status: ❌ Failed

@github-actions
Copy link

Deployment Status: ✅ Success
🔗 Preview URL: https://pr-2236.sealoshzh.site

2 similar comments
@github-actions
Copy link

Deployment Status: ✅ Success
🔗 Preview URL: https://pr-2236.sealoshzh.site

@github-actions
Copy link

Deployment Status: ✅ Success
🔗 Preview URL: https://pr-2236.sealoshzh.site

@github-actions
Copy link

Deployment Status: ❌ Failed

@github-actions
Copy link

Deployment Status: ✅ Success
🔗 Preview URL: https://pr-2236.sealoshzh.site

@github-actions
Copy link

Deployment Status: ✅ Success
🔗 Preview URL: https://pr-2236.sealoshzh.site

4 similar comments
@github-actions
Copy link

Deployment Status: ✅ Success
🔗 Preview URL: https://pr-2236.sealoshzh.site

@github-actions
Copy link

Deployment Status: ✅ Success
🔗 Preview URL: https://pr-2236.sealoshzh.site

@github-actions
Copy link

Deployment Status: ✅ Success
🔗 Preview URL: https://pr-2236.sealoshzh.site

@github-actions
Copy link

Deployment Status: ✅ Success
🔗 Preview URL: https://pr-2236.sealoshzh.site

@github-actions
Copy link

Deployment Status: ✅ Success
🔗 Preview URL: https://pr-2236.sealoshzh.site

1 similar comment
@github-actions
Copy link

Deployment Status: ✅ Success
🔗 Preview URL: https://pr-2236.sealoshzh.site

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements a comprehensive space layout redesign, introducing a new hierarchical navigation structure with dedicated layouts for spaces, shared bases, and trash management. The changes include significant UI refactoring, new data model fields for tracking base creators, and enhanced navigation between spaces and bases.

Key Changes:

  • Introduces dedicated layout components (SpaceInnerLayout, SpaceTrashLayout, SharedBaseLayout) for different space-related views
  • Adds creator information tracking (createdBy, createdUser, createdTime, lastModifiedTime) to base entities
  • Refactors base and space list rendering from grid cards to a table-like list view with expandable/collapsible sections
  • Updates trash management to support space-specific filtering
  • Enhances last visit tracking to support space-level navigation

Reviewed changes

Copilot reviewed 69 out of 69 changed files in this pull request and generated 18 comments.

Show a summary per file
File Description
packages/ui-lib/src/shadcn/ui/tree.tsx Removed z-index and background classes from tree components for new isolation context
packages/ui-lib/src/shadcn/ui/accordion.tsx Added innerClassName prop for more granular styling control
packages/sdk/src/model/base.ts Added createdBy field to Base model
packages/sdk/src/config/react-query-keys.ts Extended getSpaceTrash to support optional spaceId filtering
packages/openapi/src/user/last-visit/get.ts Added Space to LastVisitResourceType enum
packages/openapi/src/trash/get.ts Added optional spaceId parameter to trash schema
packages/openapi/src/base/get.ts Extended base schema with creator and timestamp fields
packages/common-i18n/src/locales/*/space.json Added translations for new base list UI and trash descriptions
packages/common-i18n/src/locales/*/common.json Added "select" and "spaceTrash" translations
apps/nextjs-app/src/pages/space/trash.tsx Updated to use SpaceTrashLayout
apps/nextjs-app/src/pages/space/shared-base.tsx Updated to use SharedBaseLayout
apps/nextjs-app/src/pages/space/index.tsx Added auto-redirect logic to last visited space
apps/nextjs-app/src/pages/space/[spaceId]/trash.tsx New page for space-specific trash view
apps/nextjs-app/src/pages/space/[spaceId].tsx Updated to use SpaceInnerLayout
apps/nextjs-app/src/features/app/layouts/SpaceTrashLayout.tsx New layout for global space trash view
apps/nextjs-app/src/features/app/layouts/SpaceInnerLayout.tsx New layout for individual space pages with sidebar
apps/nextjs-app/src/features/app/layouts/SharedBaseLayout.tsx New layout for shared bases page
apps/nextjs-app/src/features/app/components/user/UserNav.tsx Added truncation with title tooltips for long names/emails
apps/nextjs-app/src/features/app/components/space/SpaceRenaming.tsx Added className prop for flexible styling
apps/nextjs-app/src/features/app/components/space/SpaceAvatar.tsx New component for space avatars with color generation
apps/nextjs-app/src/features/app/components/space/SpaceActionBar.tsx Adjusted button sizing and icon styling
apps/nextjs-app/src/features/app/components/sidebar/SidebarHeader.tsx Updated padding and spacing
apps/nextjs-app/src/features/app/components/sidebar/Sidebar.tsx Added responsive sidebar visibility based on screen size
apps/nextjs-app/src/features/app/components/collaborator-manage/space-inner/Collaborators.tsx Added title tooltip for truncated collaborator names
apps/nextjs-app/src/features/app/components/SideBarFooter.tsx Added truncation with tooltip for user name
apps/nextjs-app/src/features/app/blocks/trash/SpaceTrashPage.tsx Refactored to show only space trash with simplified UI
apps/nextjs-app/src/features/app/blocks/trash/SpaceInnerTrashPage.tsx New component for space-specific base trash
apps/nextjs-app/src/features/app/blocks/space/space-side-bar/StarButton.tsx Increased icon size and adjusted styling
apps/nextjs-app/src/features/app/blocks/space/space-side-bar/SpaceSwitcher.tsx New comprehensive space switcher with search and management
apps/nextjs-app/src/features/app/blocks/space/space-side-bar/SpaceSideBar.tsx Updated layout with flexible pin list sizing
apps/nextjs-app/src/features/app/blocks/space/space-side-bar/SpaceList.tsx Updated layout and improved select placeholder text
apps/nextjs-app/src/features/app/blocks/space/space-side-bar/SpaceInnerSideBar.tsx New sidebar for space-specific navigation
apps/nextjs-app/src/features/app/blocks/space/space-side-bar/PinList.tsx Enhanced with scrollable container and flexible sizing
apps/nextjs-app/src/features/app/blocks/space/hooks/useSpaceList.ts New hook for space list data fetching
apps/nextjs-app/src/features/app/blocks/space/SpaceInnerPage.tsx Refactored with new table-based base list layout
apps/nextjs-app/src/features/app/blocks/space/SpaceCard.tsx Updated to use new BaseList component
apps/nextjs-app/src/features/app/blocks/space/SharedBasePage.tsx Simplified to use BaseList component
apps/nextjs-app/src/features/app/blocks/space/RecentlyBase.tsx Updated to use BaseList component
apps/nextjs-app/src/features/app/blocks/space/BaseList.tsx New table-style base list with sorting and expand/collapse
apps/nextjs-app/src/features/app/blocks/space/BaseItem.tsx New component for base row with inline editing and actions
apps/nextjs-app/src/features/app/blocks/base/hooks/useLastVisitBase.ts New hook for last visit base data
apps/nextjs-app/src/features/app/blocks/base/base-side-bar/BaseNodeTree.tsx Enhanced with empty state and skeleton support
apps/nextjs-app/src/features/app/blocks/base/base-side-bar/BaseNodeMore.tsx Added open/setOpen props for dropdown control
apps/nestjs-backend/src/types/i18n.generated.ts Updated with new translation types
apps/nestjs-backend/src/features/user/last-visit/last-visit.service.ts Added space visit tracking and updated base list with createdBy
apps/nestjs-backend/src/features/trash/trash.service.ts Enhanced to support space-specific trash filtering
apps/nestjs-backend/src/features/space/space.service.ts Added creator user information fetching for bases
apps/nestjs-backend/src/features/collaborator/collaborator.service.ts Added creator fields to shared base response
apps/nestjs-backend/src/features/base/base.service.ts Added creator user information to base list

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 70 out of 70 changed files in this pull request and generated 12 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

Deployment Status: ✅ Success
🔗 Preview URL: https://pr-2236.sealoshzh.site

@younocode younocode removed the preview This issue is already ready for preview label Dec 11, 2025
@younocode younocode merged commit e9079b5 into develop Dec 11, 2025
9 of 11 checks passed
@younocode younocode deleted the feat/space-layout branch December 11, 2025 14:45
@github-actions
Copy link

🧹 Preview Environment Cleanup

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.

5 participants