Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page consists of all that needs to be done to migrate from MVC to the Material Theme


Table of Contents

Presentation styles

TODO removed presentation styles 
Below you see a list of all the legacy presentation styles and their new counterparts. The old legacy presentation styles will become deprecated in Blueriq 12.0


Legacy Presentation StyleNew Presentation StyleDescriptionSection

Button
?FlatButtonIntroductionDatepickerMaterial
Is used whenever something is displayed as a link and it must be disaplyed as button instead. (for instance: Document link)Styles

FlatButtonIs used to display buttons without having a border and a transparent backgroundStyles

IntroductionDisplays containers as transparent with a small image in the top left cornerStyles

Transparent

Displays containers as transparent.
Can be used versatile.

Styles

AccentDisplays buttons with a secondary chosen color.
Can be used versatile.
Styles

TertiaryDisplays buttons with a tertiary chosen color.
Can be used versatile.
Styles

WarningIs used to change the background color and color of a text item.Styles

Autocomplete
Styles
memoLargeTextDisplays a input field as text-areaStyles
AccentTertiaryTransparentWarning?LargeTextAutocomplete
align_rightAlignRight
Styles
options_horizontalHorizontal
Styles
options_verticalRadio
Styles
animateAnimation
Styles
pieStatisticPie
DashboardStyles
barStatisticBar
DashboardStyles
doughnutStatisticDoughnut
DashboardStyles
radarStatisticRadar
DashboardStyles
lineStatisticLine
DashboardStyles
polarStatisticPolar
DashboardStyles
toggleToggle
Styles
icon_exclamation_signicon_exclamation_circle *1
Styles
icon_info_signicon_info_circle *1
Styles
icon_removeicon_times *1
Styles
icon_remove_circleicon_times_circle *1
Styles
icon_timeicon_clock_o*1
Styles
icon_warning_signicon_exclamation_triangle*1
Styles
icon_signouticon_sign_out*1
Styles
icon_fileicon_file_o*1
Styles
icon_file_pdficon_file_pdf_o*1
Styles
icon_file_imageicon_file_image_o*1
Styles





*1 : These icons represent font-awesome icons. This is without the prefix icon_ x and the lower-dash are upper-dash. Example:

  • Fontawesome icon: exclamation-sign in studio becomes: icon_exclamation_sign


Content Styles

TODO - changed/added/removed  content styles + counterparts old/new (if any)


Modeling best practices

In this paragraph we describe some situations that have to be modeled differently.


Roles and widgets

Setting: a dashboard body with a dashboard row container having two containers for different roles. Each container holding one or more widgets. Each widget has a different role.

Previously: When logging in into the runtime with a specific role, the role triggers the right widget and filters out the other containers.

New: The new Blueriq Theme is acting closer to the model. So it tries to show the containers between the row and the widget, which is correct behavior. This behavior results in some space on the runtime. To change this behavior you should model it with setting the role to the main container (in this case DashboardBehandelaar and DashboardAanvrager) instead of on the widget. This gives you the right appearance.



Behavior

Here is a sum up of some important behavior in the Material theme. Some of these might not differ from the MVC but are important to know

  • Empty container component will show no HTML and takes care of all containers that have the following condition
    • No children
    • No Icon
    • No display name
  • TODO
  • TODO
  • The Material Theme provides different URLs to start flows and shortcuts. They are described in the ApiDocs.