Designing and Developing Plugins
In this guide, we will cover:
- How to think about designing plugins
- Typical software patterns for developing plugins
- General tips and tricks for building plugins
Creating a great experience means designing a plugin which provides quick, summary information at a glance while also allowing the user to drill into more details and functionality when necessary.
Designing
Plugins are rendered as UI summary cards on the Dashboard of Banno’s apps.
- An optional primary action button leads users to an expanded view.
These are considerations when designing your plugin.
Card Face
The Card Face is the primary and most common way in which users will interact with your plugin. Those interactions will be measured in seconds.
Your Card Face should be designed to be glanceable, responsive, and make the most of the limited space available.
Glanceable
The Card Face should quickly provide users with the most important and most frequently used information, at a glance.
The information that is considered most important will vary per plugin. Here are some plugin ideas with examples of information that is most likely to be important to the user:
- Investments: the user’s balances for cryptocurrencies, stocks, precious metals
- Credit scoring: the user’s credit score
- Financial literacy: the user’s learning progress
- Wealth management: the user’s total values of assets
- Savings: the user’s savings balance
- Marketing: the most relevant offering for the user
- Small business invoicing: the user’s total of receivable invoices
Responsive
Plugins are available to users on both desktop and mobile applications, without any modification to your plugin. However, you should keep in mind that the experience is slightly different between the two form factors.
Plugins should be designed to be responsive and adapt to a variety of screen sizes to accommodate a great user experience for both Banno Online and Banno Mobile users.
The Banno Mobile apps for the Garden demo institution are available on Google Play and the App Store.
Bear in mind that while you can configure the initial height of the Card Face, you cannot control the width.
Limited Space
The Card Face has limited space to convey important information to the user.
Avoid displaying branding (e.g. company logo) within the Card Face as this is nonfunctional and doesn’t convey information that is specific to the user.
Use a plain background rather than using a textured or otherwise ‘busy’ background. The user should be able to understand the information in the Card Face at a glance.
Expanded View
The Expanded View is the secondary and less common way in which users will interact with your plugin. Those interactions will vary from only a few seconds to several minutes.
Your Expanded View should be designed to provide more detail, more content, or settings which are less commonly used.
Longer Sessions
Unlike the Card Face (which is displayed every time the user logs into Banno), the Expanded View is only seen by the user when they have specifically navigated to the Expanded View.
It is typical for the user to spend more time viewing content in the Expanded View within a single session when compared to the time spent viewing the Card Face within a single session.
This difference in session length means you should think about how users will interact with the Expanded View compared to how users will interact with the Card Face. The interactions are likely to be very different in focus.
Slower Calculations
In an ideal world, users would not have to wait to see relevant information. The Card Face, in particular, is sensitive to having quick retrieval of information for the user.
However, the nature of the Expanded View is that the user has intentionally decided to spend time viewing the content within the Expanded View.
With that in mind, it is recommended to put slower or longer-running calculations in the Expanded View instead of the Card Face.
More Space
The Expanded View has more available space than the Card Face. Keep in mind that the amount of space for the Expanded View is different between Banno Online and Banno Mobile.
The Expanded View is where you can show more detail beyond what would fit on the Card Face. The Expanded View is ideal for showing less important or less frequently used information.
The Expanded View is also an ideal place for user interface options and settings for the Card Face or for your plugin in general.
User Interface
These are additional considerations for designing your plugin’s user interface.
Activating the Expanded View from the Card Face
There are two different ways of activating the Expanded View from the Card Face:
Primary action button
The primary action button is a simple way to activate the Expanded View from a natively-drawn button. When the user taps the primary action button, they are navigated from the Card Face to the Expanded View.
The options to configure a primary action button are limited.
Plugin Bridge
The Plugin Bridge is a JavaScript module that provides an interface between a Plugin and Banno Online and Banno Mobile.
The Plugin Bridge supports Expanded View Links, which are specifically attributed HTML anchor tags that are treated as special links which activate the Expanded View.
Expanded View Links are visually customizable via standard HTML + CSS + JavaScript.
Theming
Plugins should render themselves in a pleasing way that matches the theme configured for your financial institution in Banno.
There are two different ways to retrieve the configured theme for your financial institution: the Institutions API or the Identity Token (when authenticating a user).
If you do not want to use the Banno theme data and instead prefer to render your content using generic light and dark mode support, then you’ll have to take appropriate action on a per-platform basis.
Institutions API
The Institutions API is offered as part of the Consumer API and is the best way to retrieve the theme data for your financial institution.
Part of the Institutions API is the themes endpoint to retrieve the themes configured for an institution. You should use the theme values returned from this API to create styles to match your plugin’s design to the themes configured for your financial institution in Banno.
In practice, financial institutions do not modify their theme on a frequent basis. This means that developers can retrieve the theme info, offline, then make that theme a static part of the configuration of the plugin for that specific institution.
This has the added benefit of being in line with our guidance on caching for performance (where possible).
Light theme vs Dark theme selection
The Banno UI uses the system settings / browser settings to determine whether to show the light theme or the dark theme.
The user cannot directly choose a theme. They can only indirectly change the theme by changing their settings to light mode or dark mode.
Developing
These are considerations when developing your plugin.
Hosting / Deployment
Plugins are hosted in your own public-facing web server and displayed to the user in Banno’s UI when necessary.
‘Public-facing’ means that the web server must be accessible via the internet and cannot require the user to be on a specific network or VPN.
Caching
Plugins appear on the user’s Dashboard in Banno. The Dashboard is the default screen shown to the user when they log into Banno Online and Banno Mobile. As such, it is the most frequently viewed screen across all of Banno.
This means that the Dashboard will drive a high volume of traffic to your plugin via the Card Face. Recall that the Card Face should quickly provide users with the most important and most frequently used information, at a glance.
When possible, it is recommended to pre-calculate and/or cache data for the Card Face to enable a better user experience and handle the volume of traffic that will be sent to your plugin and your web server.
It is recommended to put slower or longer-running calculations in the Expanded View instead of the Card Face.
Authentication
Impact of web browsers
Web browsers have become increasingly restrictive on cross-site cookie tracking and this affects how cookies can be used within a plugin.
Also, keep in mind that browsers will enforce security mechanisms such as the same-origin policy.
Authentication Framework
Plugins built using the Plugin Framework use the Authentication Framework to provide secure authentication.
Tips & Tricks
These are some tips and tricks to consider when designing and developing your plugin.
Tech Stack
Although many of our examples use Node.js, please note that Node.js is not required and other tech stacks are compatible with the Plugin Framework.
If your tech stack can handle serving up HTTPS requests and rendering HTML + CSS + JavaScript, then it probably will work with the Plugin Framework.
Restrictions
The Plugin Framework is specifically designed to protect the security of the user and protect the user experience. While plugins are based on standard HTML, CSS and JavaScript, the full complexity of a modern browser is not supported.
As such, there are some restrictions to keep in mind as you build your plugin.
Consumer API
Plugins can securely retrieve the user’s financial accounts, transactions, and more via the Consumer API.
Next Steps
Review concepts in the Architecture docs.