Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GEN-1710]: add scroll to overview sources #1978

Merged
merged 9 commits into from
Dec 12, 2024

Conversation

BenElferink
Copy link
Contributor

This pull request introduces several updates to the frontend web application, primarily focused on refactoring components and adding new functionalities to the overview data flow. The key changes include converting components to named exports, building nodes for various entity types, and constructing edges for data flow visualization.

Component Refactoring:

Node Building for Overview Data Flow:

Edge Building for Data Flow:

Utility Functions:

Copy link

@@ -86,7 +84,7 @@ const HeaderNode: React.FC<Props> = ({ nodeWidth, data }) => {
};

return (
<Container $nodeWidth={nodeWidth + extraWidth}>
<Container $nodeWidth={nodeWidth} className='nowheel nodrag'>
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is the use of this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This are classes provided by React-Flow, which prevent their internal drag/scroll behavior, applying them allows us to control scroll etc.

@BenElferink BenElferink merged commit ced6950 into odigos-io:main Dec 12, 2024
31 checks passed
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.

2 participants