Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
F
finwise-miniapp-fe
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ThinhNC
  • finwise-miniapp-fe
  • Merge Requests
  • !50

Merged
Opened Sep 14, 2026 by ThinhNC@ThinhNC
  • Report abuse
Report abuse

feat(notifications): improve Zalo Bot linking flow with 2-step guide and dynamic URL support

Feature: Enhanced Zalo Bot Account Linking Workflow (2-Step Guide)

Overview

This PR improves the Zalo Bot account linking experience within the Notification Settings page. Instead of triggering an in-app external redirect (which previously caused unexpected redirects to app store / CH Play within the Zalo Mini App webview), this update introduces an intuitive, clear 2-step copy & link workflow.


Key Changes

  • 2-Step Linking Flow UI:
    • Step 1: Dedicated box with one-click copy button for the /link <CODE> command.
    • Step 2: Dedicated box with one-click copy button for the official Bot URL (https://bot.zaloplatforms.com/bots/...), allowing users to easily paste and open the bot in the Zalo browser.
  • Dynamic URL & Bot ID Support:
    • Updated ZaloLinkCodeData interface in zalo-bot.service.ts to include optional botId.
    • Added dynamic fallback for deep link URLs using backend configuration (deepLinkUrl / botId).
  • i18n Localization:
    • Added new localized strings in both vi.json and en.json for Step 1, Step 2, copy command, copy URL, and status indicators.
  • UX & Visual Polish:
    • Maintained FinWise's claymorphism design tokens (shadow-clay-pressed, rounded borders).
    • Added real-time polling indicator (animate-ping) showing that the app is listening for Zalo confirmation.

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b feat/zalo-bot-2step-link-flow origin/feat/zalo-bot-2step-link-flow

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/develop
git merge --no-ff feat/zalo-bot-2step-link-flow

Step 4. Push the result of the merge to GitLab

git push origin develop

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 0
  • Commits 1
  • Changes 4
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: ThinhNC/finwise-miniapp-fe!50

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.