Skip to content

feat: entry node, database node, environment node#38

Merged
aimeritething merged 61 commits into
stagingfrom
A2-entry-node-n
May 15, 2026
Merged

feat: entry node, database node, environment node#38
aimeritething merged 61 commits into
stagingfrom
A2-entry-node-n

Conversation

@aimeritething
Copy link
Copy Markdown

No description provided.

aimeritething and others added 30 commits April 28, 2026 14:17
- Introduced a new Entry Node component with context and types for managing status badges.
- Updated registry configurations to include the Entry Node, enhancing UI capabilities.
- Integrated Entry Node into the Canvas component, allowing for dynamic status representation.
- Added necessary files and dependencies for the Entry Node functionality in the UI package.
- Updated the Entry Node component description to remove the expand affordance reference.
- Added a new CSS file for Entry Node styling to improve visual presentation.
- Removed the expand button functionality from the Entry Node context and related components.
- Introduced a new Entry Node Canvas component for better integration within the canvas environment.
- Cleaned up unused imports and streamlined the Entry Node context and types for clarity.
- Introduced drag angle handling for EntryNode components, allowing for dynamic visual feedback during drag operations.
- Updated CSS to support drag gradient effects, improving the visual representation of drag states.
- Added new components and utility functions to manage drag angles and their corresponding styles.
- Enhanced EntryNodePreview to demonstrate drag direction with visual samples.
- Refactored related components to accommodate the new drag functionality, ensuring a cohesive user experience.
- Introduced an expand button for EntryNode components, allowing users to toggle between expanded and collapsed states.
- Enhanced EntryNode interaction state to include a 'selected' property for better visual feedback.
- Updated EntryNodeBounds and related components to manage selection and prevent event propagation outside the card.
- Improved CSS styles to support new expand button functionality and selection states, enhancing user experience.
…n display

- Removed the Brain icon from the EntryNodeHeader component, simplifying the icon logic to only use the Router icon.
- Updated the display logic for access domain values, ensuring consistent styling and removing unnecessary conditional rendering for expanded states.
- Updated the EntryNodeConnectionButton and EntryNodeExpandButton components to include additional CSS classes for improved styling and interaction.
- Adjusted the positioning of the connection buttons in the CSS to ensure consistent alignment and spacing.
- Simplified width and height calculations in the CSS for entry node bounds, enhancing layout stability.
…yles

- Added hover intent handling to EntryNodeBounds, allowing for improved user interaction feedback.
- Introduced state management for hover intent using React hooks, enhancing the component's responsiveness.
- Updated CSS to reflect hover intent states, improving visual cues for user interactions.
- Enhanced background styles for entry nodes to provide a more dynamic visual experience.
- Removed redundant hover surface class from EntryNodeCard for cleaner styling.
- Renamed CSS variables for hover base to surface base for consistency.
- Updated background gradients in CSS to utilize new surface base variable, enhancing visual coherence across entry nodes.
…handling

- Increased hover expand dwell time to enhance user experience.
- Added handling for dragging state to prevent hover intent activation during drag operations.
- Refactored hover intent logic to improve responsiveness and clarity in user interactions.
…tyling

- Changed transition timing functions for background and box-shadow to ease-out for smoother animations.
- Updated the drag frame component to use a rounded-xl style for improved visual consistency.
- Introduced a new `showCopiedFeedback` function to handle the display of copied feedback for targets.
- Updated the `copyTarget` function to utilize the new feedback mechanism.
- Enhanced CSS for entry node target rows to improve hover and focus-visible states.
- Adjusted the structure of `EntryNodeTargetRow` for better accessibility and interaction handling.
- Updated `CanvasNodeDragFrame` to conditionally apply styles based on the dragging state.
- Refactored CSS to enhance the visual feedback for active and dragging states.
- Introduced new CSS variables for better control over background and border colors.
- Simplified the structure of the canvas node components for clarity and maintainability.
- Added new linear gradients to the canvas node CSS for improved visual effects during drag operations.
- Enhanced the overall aesthetic of the canvas node component by diversifying the gradient directions.
- Introduced hover effects for connection buttons to improve user interaction feedback.
- Added a Plus icon to the connection button for better visual indication of connection actions.
- Updated CSS to adjust connection button sizes and added new styles for hover states.
- Refactored connection button behavior to include hover side highlighting for enhanced usability.
- Introduced hover intent management for improved user feedback during interactions.
- Refactored hover handling logic to include hover zones for better control over visual states.
- Updated CSS to refine cursor styles and enhance hover effects for canvas node components.
- Added new preview states in EntryNodePreview for expanded selected scenarios.
9 multicolor database logo icons (PostgreSQL, MySQL, MongoDB, Redis,
ClickHouse, DuckDB, Elasticsearch, SQLite, Memcached) as React
components with shared DbIconProps interface (size + className + SVG
pass-through). Exported via barrel from @workspace/ui/assets/db-icons.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Introduced a constant for lifecycle actions (delete, restart, start, stop) to enhance the functionality of the PreviewCanvasDatabaseNode component.
- Updated the component to utilize the new lifecycle actions, improving user interaction capabilities.
aimeritething and others added 25 commits May 13, 2026 15:46
- Introduced a new Canvas Alter component, providing a minimal React Flow workspace surface with Jotai provider integration.
- Added necessary files including types, context, hooks, provider, error fallback, and styles for the Canvas Alter component.
- Updated registry.json and created a new canvas-alter.json file for the component's configuration.
- Added comprehensive lifecycle phase handling for databases, including states like Creating, Running, Updating, Restarting, Stopping, Paused, Starting, Failed, Deleting, and Unknown.
- Updated database status schema to include product-facing lifecycle phase and reason for the current state.
- Enhanced UI hooks to manage workload reconciliation based on transient phases.
- Refactored database templates to utilize new lifecycle properties and ensure accurate status reporting.
- Improved API documentation for database retrieval to reflect new lifecycle features.
- Changed success messages for starting and stopping database workloads to clarify that actions have been requested rather than completed.
Upstream data refreshes now merge by node ID — existing nodes keep
their dragged position while new nodes slot into the fallback grid.
Grid spacing widened (340×280) for breathing room.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented May 15, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

1 similar comment
@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented May 15, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@aimeritething aimeritething merged commit bef3ff9 into staging May 15, 2026
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant