GDB-13506 Visual graph config should have the repositoryId as a context#2662
Open
svilenvelikov wants to merge 1 commit intomasterfrom
Open
GDB-13506 Visual graph config should have the repositoryId as a context#2662svilenvelikov wants to merge 1 commit intomasterfrom
svilenvelikov wants to merge 1 commit intomasterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds repositoryId property to saved visual graph configurations to allow users to open graphs in the repository where they were created.
Changes:
- Modified
toSavePayload()method to accept and includerepositoryIdparameter in the save payload - Updated graph save operations to pass repository ID when creating/updating graph configurations
- Enhanced clipboard URL generation to include repository ID parameter using modern URL API
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| packages/legacy-workbench/src/js/angular/models/graphs/graphs-config.js | Added repositoryId parameter to toSavePayload() method and included it in the returned payload object |
| packages/legacy-workbench/src/js/angular/graphexplore/controllers/graphs-config.controller.js | Updated calls to toSavePayload() to pass the active repository ID for both create and update operations |
| packages/legacy-workbench/src/js/angular/graphexplore/controllers/graphs-visualizations.controller.js | Added repositoryId to graph save payload and improved clipboard URL construction to include repository parameter |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
4f0e49b to
9c7fb99
Compare
28c462c to
5fe9a35
Compare
boyan-tonchev
approved these changes
Feb 6, 2026
resolve repo id for graph config Temp commit containing some logging needed to debug an issue related with visgraph not rendered if the current repo is different than the one in the link add logging for debugging purposes Add repositoryId handling to graph state restoration remove logging
5fe9a35 to
3d27f77
Compare
|
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.




What
Saved visual graph configs should have repositoryId property.
Why
This is needed in order to allow a user to open them in the repository in which they were created.
How
Add repositoryId to graph configuration save payload and clipboard URL
Testing
Screenshots
Checklist