🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
Toolbarmode


If a TaggedValue of Toolbar=true is set on a ViewModel, toolbar mode is turned on for that ViewModel.

If you set SysMDrivenMiscSettingsSingleton.GlobalToolbarMode=true, all views that do not have the TaggedValue of Toolbar=false will have toolbar mode enabled.

Main design ideas

ActionRenderPosition LeftSide, ContextMenu, ToolBarLeft, ToolBarRight

Two distinct types of actions:

#1 Those that DONTCHANGESTUFF+Navigates-> stay on leftside,

#2 Others (data changers, even navigating) + save, cancel, Edit(ReadOnlySwitch) go into a new horizontal toolbar below mainmenu

  • End in mind: reduce the left menu. It will only hold safe, ViewModel-top-level navigations without side effects—as such, it will not blink or act dynamically
  • Nesting level actions are only available via context-menu in the grid (context menu content will probably also be divided into the 2 types of actions)
  • This new style is optional (since adoption is not the same for all projects)
  • The ability to find the #1 type of actions relies on the new ReadOnly-functionality (that can deduce if an action changes data or not)