Book a Demo

Author Topic: Link to Element Feature dialog content: what a mess  (Read 4478 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Link to Element Feature dialog content: what a mess
« on: May 27, 2020, 12:38:39 am »
Hi all,


Just had a quick look through what the Link to Element Feature dialog actually displays. It doesn't make a lot of sense.

There's a dropdown labelled "Feature Type" which allows you to select one of Attribute, Operation, Change, Defect, Issue, Task or Test (also None).
Then there's a table labelled "Feature" with two columns headed Feature and Description. This table is auto-populated with the available features of the selected type, so you can select one of them for the connector to be linked to (after you OK out of the dialog).

The Feature column of the Feature table shows the names of the respective features, but the Description doesn't show their descriptions. Instead, here's what is shown for each feature category.
Attribute    Attribute type
Operation    Operation return type
Change       "Change"
Defect       "Defect"
Issue        "Issue"
Task         "Task"
Test         Test class (eg "Unit"), except for Inspection tests where the name of the test is shown in both columns.

Change, Defect, Issue and Task are all types of maintenance item. No explanation why the other two, Feature (yes, again) and Document, didn't make the cut but that aside, the column obviously shows this property.

So clearly the Description column actually contains a type. Either it should be labelled as such, or (more helpful) it should show the corresponding attribute/operation/test/maintenance item description. They all have them. Furthermore, in the case of the maintenance items what's shown is completely redundant since the type of maintenance item is shown in the Feature Type dropdown just above.

But wait! There's more!

If you compare what's shown in the feature selection dialog with how the corresponding data is presented in a diagram, it makes more sense. Or even less.

Attributes and operations are shown with their types (by default). Maintenance items and tests, however, are shown with their status (default New and Not Run, respectively). If the logic is to show in the selection dialog what you can see in the diagram, then it should be type for attributes and operations, and status for maintenance items and tests. In this case, the column header should then be updated when the Feature Type selection is changed (which updates the table content).

So. Either the Description column should show descriptions, or the column should be changed to show the type or status, as appropriate, and the header should update to reflect this.

Yes?

Also, if you link a connector to a test or maintenance item A you can't then change the link to point to another test or maintenance item B, without first deleting A from the element. So in addition to not working very well, it's broken too.


/Uffe
My theories are always correct, just apply them to the right reality.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Link to Element Feature dialog content: what a mess
« Reply #1 on: May 27, 2020, 08:09:38 am »
Normally, "channelling" requires that the "channelled" person is dead.  I just checked and I'm still alive (I think).   :-X

First, he steals my quote: Concistency, konsistency, consistensy! TMUffe - after Paolo

Now he steals my style!  8)

It was like reading one of my own critiques.

(actually, well done Uffe!)   :)

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Link to Element Feature dialog content: what a mess
« Reply #2 on: May 27, 2020, 05:35:48 pm »
Taking bets to when this is going to be fixed.

q.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Link to Element Feature dialog content: what a mess
« Reply #3 on: May 27, 2020, 05:50:23 pm »
Well, I haven't sent a bug report or anything. But since the dialog is a bit all over the place I guess the question is: how should it work?

Is it better to show something like what's in the diagram (type/status)?
Is it better to show the description (aka Note field)? Which is often empty?
If the dialog does get an overhaul, should it perhaps work in a different way?
Maybe a tree view or tree view table with the element at its root and then nodes for Attributes, Operations, Tests, etc?

/U
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Link to Element Feature dialog content: what a mess
« Reply #4 on: May 27, 2020, 05:53:39 pm »
Honestly I rarely use that feature since it's an EA feature and not an official UML feature. I rather use the element notes if at all. This is probably a feature creep ulcer.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Link to Element Feature dialog content: what a mess
« Reply #5 on: May 27, 2020, 09:06:26 pm »
Well, I haven't sent a bug report or anything. But since the dialog is a bit all over the place I guess the question is: how should it work?

Is it better to show something like what's in the diagram (type/status)?
Is it better to show the description (aka Note field)? Which is often empty?
If the dialog does get an overhaul, should it perhaps work in a different way?
Maybe a tree view or tree view table with the element at its root and then nodes for Attributes, Operations, Tests, etc?

/U
If the dialog is to get an overhaul, perhaps asking us users what we would find useful might be an idea.

Just saying...

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Link to Element Feature dialog content: what a mess
« Reply #6 on: May 28, 2020, 12:43:21 am »
asking us users what we would find useful might be an idea.
Wouldn't that make the hell freeze over? If not it would be the first time they'd show such behavior.

q.