feat(frontend): ✨ add customizable project item wrapper with individu… - #222
Merged
Conversation
…al display options per item
|
View your CI Pipeline Execution ↗ for commit cd2bf1f
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a new wrapper component around the existing ProjectItemComponent to allow per-item display customization (top-project vs normal, compact vs full) while updating the project list to render via the new wrapper.
Changes:
- Replaced direct usage of
lib-project-itemin the project list withlib-customizable-project-item. - Added
CustomizableProjectItemComponentwith a hover-triggered customization panel and “effective” computed inputs. - Added Storybook story and unit tests for the new wrapper component.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| libs/feature/project-list/src/lib/project-list.component.ts | Swaps the imported/declared item component to the new customizable wrapper. |
| libs/feature/project-list/src/lib/project-list.component.html | Updates template tags to render lib-customizable-project-item for each project. |
| libs/feature/project-list/src/lib/project-list.component.scss | Updates component selectors to style the new wrapper tag. |
| libs/feature/project-list/src/lib/customizable-project-item.component.ts | New wrapper component that computes “effective” inputs and forwards them to ProjectItemComponent. |
| libs/feature/project-list/src/lib/customizable-project-item.component.html | New template that conditionally renders a customization toolbar and wraps lib-project-item. |
| libs/feature/project-list/src/lib/customizable-project-item.component.scss | Styles the customization toolbar overlay behavior. |
| libs/feature/project-list/src/lib/customizable-project-item.component.stories.ts | Adds Storybook coverage for the wrapper component. |
| libs/feature/project-list/src/lib/customizable-project-item.component.spec.ts | Adds unit tests verifying input passthrough and panel-driven overrides. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…al display options per item