README
Taskbar Plugin
Adds internationalization through (react-intl-redux)[https://github.com/ratson/react-intl-redux].
Usage
Run the following command in the plugin directoy:
Installation
npm i --save @blueeast/bluerain-plugin-taskbarThen in your boot function, pass the plugin like this:
import BR from '@blueeast/bluerain-os';
import TaskbarPlugin from '@blueeast/bluerain-plugin-taskbar';
BR.boot({
plugins: [TaskbarPlugin]
})Initializing Plugin
Boot you function like this:
BR.boot({
plugins: [IntlPlugin]
})Add Task bar Fillter
Adding Translations
Initial State
Events
Make sure you have access to the BlueRain context. Then do this:
Components
This plugin registers following components in the Component registry, so they can be reused later by other apps and plugins:
NavAppItem
NavDividerItem
NavSpacerItem
Filters
bluerain.intl.messages
This hook gives the ability to add custom intl messages.
Parameters:
Name
Type
Description
messages
Object
The messages db
Returns:
Name
Type
Description
messages
Object
The messages db
Example:
This example registers custom english and urdu messages to the system.
Bluerain Plugin Task Bar
A plugin for Task Bar that shows Platform Logo and Navigation items. Platform Logo and Navigation items are passed through Bluerain-os configurations. Extends Plugin
Adds Task Bar to BlueRain Apps.
Usage
Then in your boot function, pass the plugin like this:
API
configuration
Logos
NavItems
Components
This plugin registers following components in component registry.
NavAppItem
NavDividerItem
NavSpacerItem
Filters
It adds task bar by adding a function in 'bluerain.system.app.layout' filter.
It adds systemNav reducers in 'bluerain.redux.reducers.bluerain' filter.
SystemNav
Actions Following Actions can be dispatched
enable,
disable,
open,
close,
toggle,
dock,
undock,
hideLabels,
showLabels
Initial State
Responsiveness
This Plugin is responsive on desktop and mobile. It shows only icons on Desktop and icon with Labels on mobile screen.
bluerain-plugin-taskbar
Last updated