Versions Compared

Key

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

A new Dashboard concept was introduced in Portrait 6.x. capabilities Capabilities were extended. Inside the application.yml file, you can find the config section dashboard under application.

 

Property

Default

Show Latest / Activity-Feed

The Activity feed is automatically generated through Reindexing.
You can decide if it is shown on the dashboard.

showLatest boolean

true

Show Favorites

Users can flag entries as favorites. Like this, the user sees the favorites on his dashboard. The newest favorites will be shown on top.

showFavorites boolean

true

Show Search

The search module is a way to promote the global search, which is anyhow always available on the top menu. However, the search module also remembers the last searches.

showSearch boolean

true

Show Hero

The Hero shows an image (see heroLogo in Theming) and an intro text to describe the app.

The text supports markdown.

showHero boolean

true

Caption

What should be the name of the Dashboard in the sidebar.

caption string

Dashboard

Quick Actions

This defines actions to show up on the dashboard and in the top menu as “Quick Actions”.

A quick action needs the following properties:

  • type
    An action can be either of type scan (meant for opening entries with a corresponding barcode) or form (see Forms).

  • key
    ID of the form to open.

  • label
    Action description.

  • subtitle
    Extended Description of the action (shown on the dashboard).

  • icon
    Icon for the action. Use the name for the icon found in the https://feathericons.com/ library.

See the below examples.

Note that when changing quick actions, a full browser restart is required to make the new actions show up in the context menu of the PWA.

actions object

null

...