archimatetool / archi-modelrepository-plugin

coArchi - a plug-in to share and collaborate on Archi models.
153 stars 53 forks source link

Add main menu actions for repository and model #20

Closed Phillipus closed 7 years ago

Phillipus commented 7 years ago

The menu actions on the plugin view relate to the selected repository. However, some actions are more suited to the model itself when it has the focus.

Phillipus commented 7 years ago

I've added the menu items to the top level "Repository" menu and also to a "Repository" context menu when right click on the models tre. These relate to the selected model in the models tree.

The actions in the plugin view relate to the selected repository in the view. We need to decide which is best, and if these are needed.

Phillipus commented 7 years ago

The top level menu items are bound to the selected model, not what is selected in the repo view.

Phillipus commented 7 years ago

Added more menu items. Now we need to decide what we should keep, move, or remove.

jbsarrodie commented 7 years ago

Added more menu items. Now we need to decide what we should keep, move, or remove.

Ok, I would suggest the following (to be discussed)...

First we have several actions categories depending on context:

And here is how I would mix al this:

Top Level menu:

Context menu on model:

"Model Repository" view toolbar:

"Model Repository" view context menu on entry (ie. git repository):

In addition, I wonder if we should not move the history from the dedicated "Repository History" view to the "Properties" view (in a new "history" tab). Would this be possible easily? if yes I'll add an issue for that.

Phillipus commented 7 years ago

In addition, I wonder if we should not move the history from the dedicated "Repository History" view to the "Properties" view (in a new "history" tab). Would this be possible easily? if yes I'll add an issue for that.

I would prefer not to do this as History is its own thing. Also, there is an issue of adding History toolbar buttons to the Properties View which is a bad idea. I really prefer a dedicated History View.

Phillipus commented 7 years ago

Latest commit re-arranges some menu items.

Phillipus commented 7 years ago

We can review and change the order and/or appearance as we move along.