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.
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.
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.
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
Example: Plugins where the most important content is glanceable.
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.
- Android (Google Play) - https://play.google.com/store/apps/details?id=com.gardenfi.grip
- iOS (App Store) - https://apps.apple.com/us/app/banno-garden-fi/id1521321916
Bear in mind that while you can configure the initial height of the Card Face, you cannot control the width.
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.
Example: Plugin doing too much for the limited space available in the Card Face.
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.
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.
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.
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.
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:
Example: Two different plugins, with the first using a configured Primary action button and the second using the Plugin Bridge for customized links.
The 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.
The Plugin Bridge
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.
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.
The Institutions API is offered as part of the Consumer API and is the best way to dynamically 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 programmatically match your plugin’s design to the themes configured for your financial institution in Banno.
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.
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.
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.
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.
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.
As such, there are some restrictions to keep in mind as you build your plugin.
Plugins can securely retrieve the user’s financial accounts, transactions, and more via the Consumer API.
Review concepts in the Architecture docs.