Release Version 4.21.0 (June 20, 2024)
What’s new
The ability for Compliance to view user documents with pagination and filter on the UI was added.
Available filter user documents by:
- status
- type
URLs to access the Front-end app UI were separated depending on the user role.
Current URLs for the pre-production environment are:
Swagger: https://back-endAPI.sdk.finance
All service roles: https://back-office.sdk.finance
Individual: https://individual.sdk.finance
Merchant: https://merchant.sdk.finance
Added the environment variable VUE_APP_AVAILABLE_ROLE, with its value being the name of a role (individual, merchant, etc.). If this variable is set, only the role specified in this variable will be available. It is not case-sensitive.
Regarding the task:
- For https://back-office.sdk.finance – the variable VUE_APP_AVAILABLE_ROLE should be empty or absent, and the variable VUE_APP_FRONT_OFFICE_ROUTES=false.
- For https://individual.sdk.finance – VUE_APP_AVAILABLE_ROLE=individual; VUE_APP_BACK_OFFICE_ROUTES=false; VUE_APP_FRONT_OFFICE_ROUTES=true.
- For https://merchant.sdk.finance – VUE_APP_AVAILABLE_ROLE=merchant; VUE_APP_BACK_OFFICE_ROUTES=false; VUE_APP_FRONT_OFFICE_ROUTES=true
The ability to set branding settings for the Front-end UI app was added to the app configuration file.
The following settings are available:
- Company logo L size – link to the logo file (should be uploaded on appropriate storage by the client)
- Company logo M size – link to the logo file (should be uploaded on appropriate storage by the client)
- Main color – code of the color, that will be used as main in the UI til library
General:
- Logos by default configuration are empty
- The settings specified in the configuration does not overwrite after the system is upgraded to a new version
- Branding settings that are listed above impact both, the back-office and the front-office UI apps
The following environment variables have been added:
- VUE_APP_BRAND_LOGO_L_URL – for the logo on login/registration pages
- VUE_APP_BRAND_LOGO_M_URL – for logos inside accounts
- VUE_APP_PRIMARY_COLOR – the primary color of the application, accepts colors in hex or RGB format
- VUE_APP_PRIMARY_HOVER – the color for primary buttons (blue by default) on hover, to avoid cases where a button is red and turns blue on hover; also accepts colors in hex or RGB format
The following default variables were set in the .env file for dev, sandbox, and pre-prod environments:
- VUE_APP_BRAND_LOGO_L_URL=/logo-l.svg
- VUE_APP_BRAND_LOGO_M_URL=/logo-m.svg
Top-up wallet via mock payment card provider flow (for test environment only) was enhanced.
User flow:
- User selects Top up/Payment card
- User selects “Account“ (system checks available provider methods and if more than one is available, shows available providers to the user, for pre-prod instance SDK test provider will be available)
- User selects “SDK Top up“
- User specifies “Amount“ and card details on the form (as an example of the secure component or widget/HPP on the provider side) to pass card data to the provider
User press “Next” – system process operation and show the result to a user on the “result page”
Improvements
Link to the API list from the UI was temporarily hidden (for all instances)
A new environment variable VUE_APP_USER_DASHBOARD_TOP_UP_ALWAYS_ENABLE_CARD_TOKENIZATION was added to show/hide “Tokenization” when Top up via card is performed.
VUE_APP_USER_DASHBOARD_TOP_UP_ALWAYS_ENABLE_CARD_TOKENIZATION=true will hide the “Tokenize card” switch from the UI and pass tokenize: true to the API call.
In other cases, the switch will be shown on the UI.
Added a new environment variable VUE_APP_USER_DASHBOARD_WITHDRAWAL_DEBIT_CARD_ADD_CARD_ACTION_VISIBLE, which controls the visibility of the “Add card” functionality on the Withdrawal via card page. By default, the Add Card button is hidden.
By default, the Add card button is visible, only after setting a variable to VUE_APP_USER_DASHBOARD_WITHDRAWAL_DEBIT_CARD_ADD_CARD_ACTION_VISIBLE=false button will be hidden.
Fixes
- The size of buttons on the Back-office UI was fixed
- The issue with the page refreshing after adding a new Internal card was fixed
- UI issue with Address tab fields malfunction was fixed
- The issue with value in CommissionValueDto, when creating/updating the condition of commission rule, was fixed
- The issue with buttons disabling was fixed