Ticket #460 (closed Defect: fixed)

Opened 7 years ago

Last modified 5 years ago

dm4-webclient: reveal a specific association between two topics, not all

Reported by: Malte Owned by: jri
Priority: Major Milestone:
Component: DeepaMehta Standard Distribution Version:
Keywords: Cc:
Complexity: 3 Area: GUI / Usability
Module: deepamehta-webclient

Description

this looks like a bug in the webclient.

Observation 1: I need to hide 2 associations before my canvas is clear despite i just revealed one.

Observation 2: 2 associations of different type are revealed (as i can see in the page-panel) but both have the same (and thus one is painted in the wrong) color.

This happens when i click on my "User Account"-Topic associated (via a custom-edge "Creator") to a "Note"-Topic the custom-edge "Contributor" (which is also assigned o the "Note") is revealed.

Change History

comment:1 Changed 7 years ago by jri

Observation 1: I need to hide 2 associations before my canvas is clear despite i just revealed one.

When there are more than one association between 2 topics the webclient always reveals *all* of them. The user can't reveal a specific association.

Observation 2: 2 associations of different type are revealed (as i can see in the page-panel) but both have the same (and thus one is painted in the wrong) color.

The webclient has one usability problem: congruent associations are rendered on the canvas in an arbitrary order. When one association is selected there is no guarantee it is rendered on top. So it *looks* like the selected association is rendered in the wrong color. But actually the selected association is not the one you think is the selected one.

Workaround: when selecting an association from a set of congruent associations, trust the detail panel, not the canvas. The detail panel always tells you what association is actually selected. When that is not the one you want, hide it. Repeat this until you get hold of the association you want.

A solution to this problem would be to render associations that belong to a set of congruent associations as curves. Congruent rendering must be avoided. See #19.

comment:2 Changed 5 years ago by Malte

  • Summary changed from revealing one specific association between 2 topics, does reveal all assocs between these 2 to dm4-webclient: reveal a specific association between two topics, not all

changed title of issue from:

revealing one specific association between 2 topics, does reveal all assocs between these 2

to:

dm4-webclient: reveal a specific association between two topics, not all

comment:3 Changed 5 years ago by Jörg Richter <jri@…>

In 4fdf26dda7f7fbcc8eae7557fc3b73cba8de542a/deepamehta:

Webclient: reveal specific association (#460).

When clicking a topic in the detail panel which has more than one association to the selected topic only one association is revealed (instead of all), nameley the one that corresponds to the clicked list entry. This reduces the chance for selecting the wrong association on the canvas afterwards.

Note: If there are more than one association the related topic is listed in the detail panel several times, along with the names of the respective association types. Thus you can reveal the particular association you want.

Thanks to Malte for reporting!

CHANGES

Webclient API:

1 changed method:

dm4c.do_reveal_related_topic(topic_id, action, assoc_type_uri)

New is the 3rd parameter (optional). If not specified no association type filter is applied.

See #460.

comment:4 Changed 5 years ago by jri

  • Status changed from new to closed
  • Resolution set to fixed

The aspect of revealing a specific association is considered solved.
Thank you, Malte, for inspiring this improvement!

The aspect of congruent associations could be addressed in a separate ticket resp. is partly addressed in #19 already.

Note: See TracTickets for help on using tickets.