-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
5469 search results sometimes show the wrong contextual path or no path at all master #5567
5469 search results sometimes show the wrong contextual path or no path at all master #5567
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5567 +/- ##
==========================================
- Coverage 53.64% 53.63% -0.01%
==========================================
Files 594 594
Lines 21780 21762 -18
Branches 2049 2047 -2
==========================================
- Hits 11684 11673 -11
+ Misses 9520 9514 -6
+ Partials 576 575 -1
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
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 looks good to me, and seems to work well. There is a small merge conflict caused by the recent e2e refactor, and once that's resolved should be good to go!
Sidenote: This is out-of-scope for this issue, but It would be nice if navigating to one of these objects (either the target object or one of the folders in the object path) would expand the tree path and scroll to the object. Is there an enhancement request open for this already? I took a look and the closest thing I could find was this ancient ticket: #214
Regarding the tree path expansion, there's this ticket: |
Closes #5469 #5535
Describe your changes:
Search results were using ordinal indices instead of domain object identifiers as the Vue key. Because of this, we weren't re-rendering the search results and were re-using old object paths.
I removed a lot of the old "selection" code from the
ObjectPath
as it was unneeded (we're not inside a tree or inspector anymore).I also added an option to

ObjectPath
so we can display the target object in annotation results:All Submissions:
Author Checklist
Reviewer Checklist