You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
target_type: '/api/v1/otus',# some concept of pointing to the
)
elsifl.link_out_text
d.merge!(
target_label: l.link_out_text,
target_type: :link_out,
target_link: l.link_out
)
else
d.merge!(
target_label: metadata.dig(l.id,:couplet_number),
target_type: :internal,
)
end
Expected result: all three of those things could be present on an internal lead and displayed somehow.
The use case I have in mind would be something like a key to the species of a family where when you get to a point in the key where a genus is determined you would set the genus otu and/or a link to some external resource for that genus on the lead that determines that genus.
The text was updated successfully, but these errors were encountered:
Thanks @kleintom. The use of labels a waypoint/signpost indicators rather than leaf/terminal labels is certainly concievable, however I do think the three options are logically distinct enough that it's OK to treat them this way. Link-wise when I get to the end I want to got to where I am directed, not decide what to do next, so providing an OTU and link-out conflicts a little with this, it sacrifices certainty for "what next". Let's see what happens when the keys may it into the wild?
Let's see what happens when the keys may it into the wild?
Sounds good.
I think there's an issue then if somebody does add an otu or link to a non-root lead (there's currently nothing in the editor to prevent this, maybe there should be?): when the key prints it will print the otu/link at that lead instead of the couplet number to go to next. Example here: https://sandbox.taxonworks.org/tasks/leads/print?lead_id=9
I'm not sure if this is a feature request or intended behavior:
Actual result: the printed key prints the otu else link else the next couplet number:
taxonworks/app/helpers/leads_helper.rb
Lines 161 to 178 in 8a33c47
Expected result: all three of those things could be present on an internal lead and displayed somehow.
The use case I have in mind would be something like a key to the species of a family where when you get to a point in the key where a genus is determined you would set the genus otu and/or a link to some external resource for that genus on the lead that determines that genus.
The text was updated successfully, but these errors were encountered: