feat: add optional references field to ElementAttributes - #1246
Merged
flomillot merged 5 commits intoAug 4, 2026
Conversation
Shared elements carry the list of their uses as references. Expose them on ElementAttributes so applications can tell whether an element is shared and list the elements using it. Signed-off-by: Florent MILLOT <florent.millot_externe@rte-france.com>
flomillot
requested review from
TheMaskedTurtle,
antoinebhs,
ayolab and
klesaulnier
as code owners
July 17, 2026 08:19
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughChangesDirectory reference modeling
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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 |
Meklo
approved these changes
Jul 27, 2026
…to-element-attributes' into florent/GRD-4774-add-references-to-element-attributes
ghazwarhili
reviewed
Aug 3, 2026
ghazwarhili
approved these changes
Aug 4, 2026
klesaulnier
approved these changes
Aug 4, 2026
…references-to-element-attributes # Conflicts: # src/utils/types/types.ts
|
flomillot
deleted the
florent/GRD-4774-add-references-to-element-attributes
branch
August 4, 2026 15:13
FranckLecuyer
pushed a commit
that referenced
this pull request
Aug 5, 2026
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.



Expose the
referencesof an element onElementAttributes, along with theReferenceAttributestype and theReferenceTypeenum.A shared element carries the list of its uses as references. Applications need them to tell whether an element is shared, and to list the elements using it.
Required by gridsuite/gridexplore-app#895.