Skip to content

Follow changes made elsewhere

While you have a model open, other people may commit to it, and you may change it yourself from another browser tab or through the API. ModelDesk applies those changes to your open page as they land, marks what changed, and keeps your own work where it is. For how drafts and commits fit together, see Drafts & branches.

  • The Updated chip. Once a change lands while you have the model open, a chip in the bar at the top reads Updated just now, and later, for example, Updated 2 min ago. Its dot pulses each time a change lands. Select the chip to list the Changes made elsewhere, newest first: who made each one, when, and its commit message or what it did. A change in your own draft from another tab reads Your draft, from another session, one made through the API Your draft, by API, and any other change to your draft Your draft, changed elsewhere. Select a row to select the element it changed in the editor. If more changes land while the list is open, it says how many are newer; select Refresh to show them.
  • Highlights. Elements that were added, changed, or moved light up for two seconds in the model tree, on the diagram, and in the open form: green for added, amber for changed, and blue for moved. A change that touches more than 50 elements highlights nothing.
  • The element itself. Under the name of the element you have open, a line says when it was last changed elsewhere, such as “changed elsewhere 40 s ago”. Just after someone renamed it, the line shows its old name: “renamed from” followed by that name.

On a diagram the view stays where you put it, and while you drag, the change waits until you let go.

Commits on your branch are not mixed into your draft while it holds pending changes: your draft stays based on the branch as it was. Instead, the draft chip adds, for example, main was updated, and your draft shows the same notice with Update my draft.

  1. Select the count on the draft chip to open your draft.
  2. In the notice main was updated, select Update my draft.

ModelDesk applies the changes in your draft again to the branch as it is now. The page then shows the new commits together with your own changes, and the notice goes. You do not have to do this yourself: when you commit, ModelDesk brings your draft up to date first.

Sometimes a change in your draft cannot be applied again to the branch as it is now, for example because someone else deleted the element you edited. A change is also refused when it writes a property, an attribute or one target of a relation, that someone else changed on the branch since your draft started, or when it deletes an element someone changed there, so that nobody’s edit is written over unseen. Two edits to different properties of one element pass each other. ModelDesk then opens Changes that no longer apply. It lists each such change with what it did, what it touched, and why it no longer applies, naming the property where one is at issue, so that you can make the edit again by hand, and it can say what else changed on the branch since your draft started, such as its dependencies or its metamodel.

  1. Read each change. All of them start ticked.
  2. Untick a change you want ModelDesk to try again. It is applied once more, and comes back here if it still does not apply.
  3. Select Remove selected and update. The ticked changes leave your draft, and the rest of it is applied again to the branch.
  4. Make the removed edits again by hand where they still make sense.

Cancel keeps your draft as it was, on the older state of the branch. The next commit brings you back to this dialog.

Changes to dependencies can stop applying too. If the branch added a dependency you also added in your draft, the change reads, for example, “v3 already depends on “Imbor”, at 2.1.”; removing it keeps the branch’s version, which you can change afterwards on the Model settings page. If the branch removed a dependency that your edit refers to, it reads ““Gebouw” refers to “Imbor”, which v3 no longer depends on.”; removing it leaves that reference out, so add the dependency again after the update if you still need it.

A change made elsewhere never overwrites what you are typing.

  • A field you have not touched takes the new value, and lights up briefly.
  • A field you have edited keeps your text. A line under it reads Changed elsewhere: with the other value, and offers Use theirs, which puts that value in the field, and Keep mine, which keeps yours: saving then writes your value over theirs.
  • The field you are typing in counts as edited, so its value never changes under your cursor. If you typed nothing, the line appears when you leave the field.

If someone removes the element you have selected, it stays on screen so you keep your place:

  • in the model tree it stays where it was, with its name struck through and the tooltip Removed elsewhere.;
  • on most diagrams it stays drawn, marked as removed;
  • the form becomes read-only, with a bar saying who removed it and when, for example “Removed by Anna de Vries 12 s ago”.

The bar offers two ways out:

  • If you had no unsaved edits, select Restore to bring the element back, or Dismiss to let it go.
  • If you had unsaved edits, select Restore with my edits to bring it back with them, or Discard my edits to let it go.

Restoring brings back the element itself, not the elements it contained. If the element it belonged to was removed as well, it cannot be restored and the bar says so. Once you let it go, the element that held it is selected.

If someone removes a diagram while you have unsaved layout edits on it, the diagram stays open as Removed elsewhere · read-only, with the notice “This diagram was removed elsewhere. Your unsaved layout edits are kept here, read-only.” Select Restore to bring the diagram back with your edits, or Discard my edits.

If a change made elsewhere changes the model’s metamodel or its dependencies, a notice in the editor says so, for example “The metamodel of this branch changed. Elements may be affected.” or “Dependencies changed on this branch.” Select Dismiss once you have read it.

  • There is no Updated chip. It appears only after a change made elsewhere lands while you have the model open.
  • A message says the drag was cancelled because the element was removed elsewhere. Someone removed the element you were dragging. Nothing was moved. A drop onto a row that was removed elsewhere is refused the same way, and a line you draw from or to an element removed elsewhere is called off.
  • A tab in the right-hand panel gives way to Properties, with a message that names the tab and ends in is no longer available: the metamodel changed on this branch. A change made elsewhere took away what that tab showed. Properties opens in its place.
  • A message says The changes in your draft were committed or discarded in another session. You committed or discarded this draft in another tab. The page now shows the branch.
  • A message says Your draft could not be brought up to date with main. The update was refused, and the message says why. Your draft is unchanged; the next commit tries again.
  • A message says Bringing your draft up to date with main got no answer, so it was reloaded. The connection dropped, for example, while your draft was being brought up to date. The page shows your draft as it is now; check it. The next commit tries again.