Project

General

Profile

Actions

feature request #5616

closed

Add the"Open in..." menu to taxon search

Added by Andreas Müller about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
New
Assignee:
Patrick Plitzner
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal

Description

Taxon search lists taxa and names (if name is not attached to a taxon).

So we need an open in

  • "Name Editor" if object is a taxon/synonym and if the (accepted) taxon belongs to a taxon node

  • "Taxon Bulk Editor" if object is a taxon/synonym

  • "Name Bulk Editor" if object is a name

So for ordinary taxa within a classification we offer 2 possibilities. The default for double click is to open the name editor. Only if this is not possible we should open the bulk editor (the later might be a separate ticket)

see also #4731


Related issues

Copied to EDIT - bug #6220: Improve definition of orphaned taxon and synonymClosedKatja Luther

Actions
Actions #1

Updated by Patrick Plitzner about 8 years ago

  • Status changed from New to In Progress
  • Target version changed from Unassigned CDM tickets to Release 4.0
Actions #2

Updated by Andreas Müller almost 8 years ago

  • Target version changed from Release 4.0 to Release 4.1
Actions #3

Updated by Andreas Müller almost 8 years ago

  • Target version changed from Release 4.1 to Release 4.2
Actions #4

Updated by Andreas Müller almost 8 years ago

  • Target version changed from Release 4.2 to Release 4.3
Actions #5

Updated by Patrick Plitzner over 7 years ago

  • Description updated (diff)
  • Status changed from In Progress to Feedback
  • Assignee changed from Patrick Plitzner to Andreas Müller
Actions #6

Updated by Andreas Müller over 7 years ago

  • Status changed from Feedback to Resolved
Actions #8

Updated by Andreas Müller over 7 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Patrick Plitzner
  • Priority changed from New to Highest
  • % Done changed from 0 to 70

Works fine for pure names and taxon nodes.

For orphaned taxa it should not show allow the option "open in name editor" but only "open in bulk editor"

Actions #9

Updated by Patrick Plitzner over 7 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 70 to 50

Applied in changeset taxeditor:commit:taxeditor|30afcea01068a7e0dcd2bde6b9a5f28e4bbcdd6f.

Actions #10

Updated by Patrick Plitzner over 7 years ago

  • Assignee changed from Patrick Plitzner to Andreas Müller
  • % Done changed from 50 to 70
Actions #11

Updated by Andreas Müller over 7 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Patrick Plitzner

Now it does not offer bulkeditor at all anymore, not for pure names, not for orphaned taxa and not for ordinary taxa/synonyms, but it should for all 3 of them.

Actions #12

Updated by Patrick Plitzner over 7 years ago

  • Assignee changed from Patrick Plitzner to Andreas Müller

Fixed in taxeditor:commit:taxeditor|92634d22a080f6de8af639dae12fe771cda64ceb

Actions #13

Updated by Andreas Müller over 7 years ago

  • Assignee changed from Andreas Müller to Patrick Plitzner

Better now but still some issues:

  • For pure names (not related to taxa) the right click menu does not show up at all anymore. Only double-click works. But even if there is only one alternative we should show a right click menu for consistency.
  • as mentioned above, orphaned taxa should not allow opening in name editor as the name editor can not handle them. Especially double click should not go to name editor but to bulk editor
  • maybe related to the later: orphaned taxa again are not shown with a special icon (brown) but with the icon for accepted taxa (black), this is misleading and should be changed back. We had the same issue a couple of month ago already so there might be a closed ticket about the issue.
Actions #14

Updated by Patrick Plitzner over 7 years ago

  • Assignee changed from Patrick Plitzner to Andreas Müller

Andreas Müller wrote:

Better now but still some issues:

  • For pure names (not related to taxa) the right click menu does not show up at all anymore. Only double-click works. But even if there is only one alternative we should show a right click menu for consistency.
  • as mentioned above, orphaned taxa should not allow opening in name editor as the name editor can not handle them. Especially double click should not go to name editor but to bulk editor
  • maybe related to the later: orphaned taxa again are not shown with a special icon (brown) but with the icon for accepted taxa (black), this is misleading and should be changed back. We had the same issue a couple of month ago already so there might be a closed ticket about the issue.

Fixed the last issue with the last commit but I cannot reproduce the other two issues

Actions #15

Updated by Andreas Müller over 7 years ago

The first issue seems to be fixed.

Handling of orphaned taxa still does not work (neither the icon nor the right click menu which should not show the name editor, but does).

Please check with taxon "Orphaned taxon" in rem_conf_am on edit-test. It shows a black icon and allows opening in name editor. Maybe this is because it has taxon relationships. But only misapplied name relationships should be handled special and should handle taxa as not orphaned.

Actions #16

Updated by Andreas Müller over 7 years ago

  • Assignee changed from Andreas Müller to Patrick Plitzner
Actions #17

Updated by Patrick Plitzner over 7 years ago

Andreas Müller wrote:

The first issue seems to be fixed.

Handling of orphaned taxa still does not work (neither the icon nor the right click menu which should not show the name editor, but does).

Please check with taxon "Orphaned taxon" in rem_conf_am on edit-test. It shows a black icon and allows opening in name editor. Maybe this is because it has taxon relationships. But only misapplied name relationships should be handled special and should handle taxa as not orphaned.

"Orphaned taxon" is returned as UuidAndTitleCache with the isOrphaned flag set to false. This is a service call to ITaxonService.findTaxaAndNamesForEditor().
@Andreas: Didn't you work on this a few days ago?

Actions #18

Updated by Patrick Plitzner over 7 years ago

  • Assignee changed from Patrick Plitzner to Andreas Müller
Actions #19

Updated by Katja Luther over 7 years ago

The problem seems to be in the calculation of the orphan value. A taxon is only orphaned when it is not used in a classification or in a taxon relationship. synonyms never are orphaned.

We have to have a look at this query.

Actions #20

Updated by Andreas Müller over 7 years ago

Katja Luther wrote:

The problem seems to be in the calculation of the orphan value. A taxon is only orphaned when it is not used in a classification or in a taxon relationship. synonyms never are orphaned.

We have to have a look at this query.

An update will come with the model change merge (probably today). Let's check again afterwards.

Actions #21

Updated by Andreas Müller over 7 years ago

Katja Luther wrote:

The problem seems to be in the calculation of the orphan value. A taxon is only orphaned when it is not used in a classification or in a taxon relationship. synonyms never are orphaned.

We have to have a look at this query.

OK, this seems to be the reason. I can see in Taxon.class that isOrphaned is implemented such. New ticket #6220 to handle this more correctly.

Actions #22

Updated by Andreas Müller over 7 years ago

  • Assignee changed from Andreas Müller to Katja Luther

4b80789a fixed the "Open in ..." issue. However there are open questions related to orphaned taxa. See #6220.

Actions #23

Updated by Patrick Plitzner about 6 years ago

  • Target version changed from Release 4.3 to Release 5.0

moving to current milestone to discuss

Actions #24

Updated by Andreas Müller almost 6 years ago

Can we move the open questions to a new ticket and close this ticket and move it back to the original milestone?

Actions #25

Updated by Andreas Müller almost 6 years ago

  • Private changed from Yes to No
Actions #26

Updated by Katja Luther almost 6 years ago

  • Target version changed from Release 5.0 to Release 4.6

I think the open questions are already in ticket #6220, so we can close this ticket.

Actions #27

Updated by Andreas Müller almost 6 years ago

  • Target version changed from Release 4.6 to Release 4.3
Actions #28

Updated by Andreas Müller almost 6 years ago

  • Assignee changed from Katja Luther to Patrick Plitzner
Actions #29

Updated by Patrick Plitzner almost 6 years ago

  • Copied to bug #6220: Improve definition of orphaned taxon and synonym added
Actions #30

Updated by Patrick Plitzner almost 6 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF