-
Notifications
You must be signed in to change notification settings - Fork 8
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
Y24-486: Add relatives tab #2114
base: y24-088-tuberacks-epic
Are you sure you want to change the base?
Conversation
It will be populated with whatever is assigned to parents and children
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## y24-088-tuberacks-epic #2114 +/- ##
==========================================================
- Coverage 80.78% 80.67% -0.11%
==========================================================
Files 482 482
Lines 18295 18296 +1
Branches 269 268 -1
==========================================================
- Hits 14780 14761 -19
- Misses 3513 3533 +20
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
<li class="nav-item"> | ||
<% data_attributes = { | ||
sequencescape_api: Limber::Application.config.api.v2.connection_options.js_url, | ||
sequencescape_api_key: Limber::Application.config.api.v2.connection_options.authorisation, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not specific to this PR but we are including the key in page sources. Maybe we can discuss if there is any alternative to this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think check if a SS change to relationships in the resource is needed, it only seems to have parents.
@@ -35,6 +35,7 @@ def model_name | |||
has_many :tubes, through: :racked_tubes, class_name: 'Sequencescape::Api::V2::Tube' | |||
|
|||
has_many :parents, class_name: 'Sequencescape::Api::V2::Asset' | |||
has_many :children, class_name: 'Sequencescape::Api::V2::Asset' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check the SS side, in case I removed the relationship there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah it's not there, just parents
same with descendants
Closes #2097
Changes proposed in this pull request
data_attributes
to within the list-item it relates toScreenshot
Instructions for Reviewers
[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to
main
]- Check story numbers included
- Check for debug code
- Check version