Skip to content

Release: develop -> main#1080

Merged
davidleomay merged 4 commits into
mainfrom
develop
May 4, 2026
Merged

Release: develop -> main#1080
davidleomay merged 4 commits into
mainfrom
develop

Conversation

@github-actions

Copy link
Copy Markdown

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

* chore: bump @dfx.swiss/react to 1.3.2-beta.1

* feat: compliance call queues
bernd2022 added 3 commits May 1, 2026 08:12
- Hide org-only fields in freigabe panel for Personal accounts
- Hardcode depositLimit to 100000 at onboarding (later via Limit Request)
- Load clerks dynamically from call queues with loading state
- Add financialData review tab
- Add quick links section on compliance screen
- Highlight risky business answers in result table
…#1082)

* feat: add swap routes, virtual ibans, ref rewards and notifications tabs

- Add SwapRoutesTable, VirtualIbansTable, RefRewardsTable and NotificationsTable to compliance user detail page
- Order tabs: Bank Data, Virtual IBANs, Buy Routes, Sell Routes, Swap Routes, Ref Rewards, Notifications
- Render deposit/target addresses and tx ids as clickable explorer links when URL is available
- Extend hook types for the new support DTOs

* feat: customer detail view for support role with restricted features

- Add /support/user/:id alias route reusing the compliance user detail screen
- Read user role inside the screen and centralize per-role visibility in FEATURES_HIDDEN_BY_ROLE
- Hide for SUPPORT/MARKETING: KYC Files panel, IP Logs panel, File Preview panel, Support Issues panel, Limit Request button, Transaction Stop/Chargeback/Recall buttons
- Switch screen guard to useSupportDashboardGuard so SUPPORT/MARKETING can access
- Add customer search section (toggle) to the support dashboard reusing the existing /support search endpoint

* feat: hide KYC Log tab for support and marketing roles

* feat: gate compliance user detail features via backend permissions

Removes FEATURES_HIDDEN_BY_ROLE and the role-based isFeatureVisible helper
in favour of a permissions block returned by the API. Panels, tabs and
actions (KYC files/logs, IP logs, support issues, recommendation, file
preview, limit request, transaction actions) now check data.permissions.*
instead of the user role. Recommendation panel is hidden for support and
marketing as part of the same restriction set.
…8n (#1083)

* refactor(compliance): extract display helpers, split-pane hook and i18n

- Add display(), refName(), buildAddress() to compliance-helpers and
  migrate freigabe-panel, compliance-review-header, user-data-panel and
  ident-panel to use them; removes duplicated formatters and the legacy
  Record<string, unknown> based extractField/extractString helpers.
- Add useSplitPane hook and migrate compliance-user, compliance-review
  and support-dashboard-issue screens to share a single implementation.
- Translate SupportUserOverviewPanel via useSettingsContext.
- Switch ComplianceUserScreen to early-return pattern; replace optional
  permission chains and the +(userDataId ?? '0') fallback with a
  guarded numeric id.

* feat(compliance): copy buttons for KYC and Video Ident links

Add two small buttons below the kycHash entry in UserDataPanel that
copy the full services URL (https://services.dfx.swiss/kyc?code=...
and ...&step=ident/video) to the clipboard. Visible for ADMIN and
COMPLIANCE roles only; base URL is taken from REACT_APP_PUBLIC_URL.
@davidleomay davidleomay merged commit 39112e2 into main May 4, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants