---
tags: Design
---
# Notifications
## Motivation
As an operator of the user interface of the business partner agent, I want to know
- when a new business partner has been added
- when a new verified credential is added to the wallet
Optionally we might also want to be notified:
- when a presentation has been received
## Considerations for future use cases
Currently the ACA-Py is running in autopilot. This means
- Connections are accepted automatically
- Received credentials are stored automatically in the wallet
- Presentation Requests are automatically answered (if possible)
The notification system should be able to be extended to support the following use cases
- New incoming connection that needs to be accepted
- New incoming credential that needs to be accepted
- New presentation request that needs to be answered
## Wireframes
https://www.figma.com/file/5phHj2oo0ygeAmCXWqZnZb/Company-Agent-UI?node-id=243%3A1269
The Wireframes show two different approaches:
1) Decentral Notification
- New Entries are shown where they logically belong
- User needs to leave context to see what exactly happened
- Leaves open how to distinguish between new partner and new message/request from a specific partner
- Has more implementation complexity
2) Central Notification
- Notifications are shown in a central "notification area"
- Simple implementation
- Notification area can viewed from every context
- Flexible
## Resolution
- We use the decentral approach. Implementation complexity is manageable.
- Handling of new Partners and Credentials is straightforward
- TODO: Design concept of notifications of incoming
### Implementation Caveats
As of Pull Request [#243](https://github.com/hyperledger-labs/business-partner-agent/pull/257)
- Only one client is supported!
- You won't get notifications in your window of already someone else opened the site or you have two tabs open
- Notifications are lost on reload
- Data structures don't get updated on notification
- If you're in the partners view when a new partner gets added you will see a notification in the menu, but you won't see the new partner. Same is true for the wallet.