Add API to get details of ancestors of a node#607
Draft
hyanwong wants to merge 1 commit intoOneZoom:mainfrom
Draft
Add API to get details of ancestors of a node#607hyanwong wants to merge 1 commit intoOneZoom:mainfrom
hyanwong wants to merge 1 commit intoOneZoom:mainfrom
Conversation
802e375 to
e266ca5
Compare
Something like this probably exists already in order to populate the "where am I" popup bar, but I have reimplemented something for Chris Haughton and Tiziana
e266ca5 to
fbd727a
Compare
Collaborator
This happens entirely in the client, as it already has the details to hand: https://github.com/OneZoom/OZtree/blob/bfcc84f67a3ea3ba7864d345486483606468e798/OZprivate/rawJS/OZTreeModule/src/controller/controller_loc.js We also have the highly-related https://github.com/OneZoom/OZtree/blob/main/modules/pinpoint.py#L6-L41 Remove the filters at the end of the query and it'll return the full path to the root. |
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.
Something like this probably exists already in order to populate the "where am I" popup bar, but I have reimplemented something for Chris Haughton and Tiziana