Add computeProjectsView, as an overview of projects and their relationships#2520
Add computeProjectsView, as an overview of projects and their relationships#2520
computeProjectsView, as an overview of projects and their relationships#2520Conversation
… relationships - Added ProjectsViewPrinter class to generate DOT representation of project views. - Introduced tests for ProjectsViewPrinter to validate output with and without relationships. - Updated buildCompounds function to accept ReadonlyArray for actors and nodes. - Modified dotCodegenAction to await computedModel for accurate model retrieval. - Created snapshot files for various project view scenarios including no relationships, tile layout, and two-directional relationships.
- Refactor DotPrinter to use generic types for nodes and edges, improving type safety. - Update GraphvizParser to accept ComputedView directly, simplifying the parsing logic. - Modify ProjectsViewPrinter to accommodate new project-specific attributes and improve layout logic. - Adjust snapshots for ProjectsViewPrinter to reflect changes in node and edge attributes. - Introduce new types for project edges and nodes in the graphviz module. - Add tests for layout functionality in the GraphvizWasmAdapter, ensuring correct project view rendering.
- Added types for projects overview in _types.ts. - Created actor logic for managing projects overview state in actor.ts. - Introduced context for accessing the projects overview actor in context.ts. - Developed custom edge and node types for the diagram in edgeTypes.tsx and nodeTypes.tsx. - Implemented styles for empty nodes in styles.css.ts. - Created hooks for accessing projects overview state and XYFlow instance in hooks.ts. - Added main entry point for projects overview in index.ts. - Implemented layout conversion from layouted projects view to XYFlow in layouted-to-xyflow.ts. - Added persistence for viewport state in persistence.ts. - Updated LikeC4ProjectsContext to use new projects overview functionality. - Refactored routes to integrate projects overview page. - Added virtual module for projects overview in vite-plugin. - Updated package dependencies and workspace configuration.
…ent `LogoButton`
Co-authored-by: davydkov <[email protected]>
🦋 Changeset detectedLatest commit: a63a42c The changes in this PR will be included in the next version bump. This PR includes changesets to release 12 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThe PR introduces multi-project support with a new Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (24)
📒 Files selected for processing (118)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
--pretty(indented output) and--skip-layout(computed models only) optionsBug Fixes
✏️ Tip: You can customize this high-level summary in your review settings.