Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ballerine-io/ballerine
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: [email protected]
Choose a base ref
...
head repository: ballerine-io/ballerine
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dev
Choose a head ref

Commits on Feb 17, 2025

  1. fix(CaseOverview): UBO risk indicator title (#3042)

    * refactor(CaseOverview): improve tab generation logic
    
    - Replace inline tab logic with a dedicated function
    - Ensure 'ubos' case returns the correct tab name
    - Maintain existing functionality for other domain tab names
    
    * refactor(CaseOverview): simplify tab generation logic
    
    - Remove unnecessary getTab function
    - Use camelCase on the domain string directly
    
    ---------
    
    Co-authored-by: Alon Peretz <8467965+alonp99@users.noreply.github.com>
    shanegrouber and alonp99 authored Feb 17, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    24b674d View commit details

Commits on Feb 18, 2025

  1. fix: mm for onboarding customers

    MatanYadaev committed Feb 18, 2025
    Copy the full SHA
    3a693f9 View commit details

Commits on Feb 19, 2025

  1. fix: changed Dockerfile for preview build and removed unused Dockerfi…

    …les (#3070)
    codechirag123 authored Feb 19, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    46ca852 View commit details

Commits on Feb 20, 2025

  1. BAL-3498: enhance rule-engine evaluation logic with path comparison (#…

    …3069)
    
    * feat(rule-engine): enhance rule evaluation logic with path comparison
    
    - Introduce isPathComparison flag in Rule schema for clearer distinction
    - Update extractValue method to handle operators with and without path comparison
    - Adjust validation logic to accommodate new extracted value structure
    
    * fix(rule-engine): correct path comparison validation logic
    
    - Ensure 'isPathComparison' is only true when present in the rule
    - Update condition to prevent false positives in comparison checks
    
    * refactor(rule-engine): improve operator extraction logic and constants usage
    
    - Move OPERATORS_WITHOUT_PATH_COMPARISON to constants for better reusability
    - Refactor extraction logic to use isObject utility for clarity
    - Update imports to reflect the new constants structure
    
    * fix(rule-engine): improve rule extraction validation
    
    - Refactor validation logic for extracted values
    - Utilize 'in' operator for better readability and accuracy
    
    * feat(tests): enhance rule engine tests with path comparison functionality
    
    - Add isPathComparison flag to various rule definitions
    - Implement new unit tests for path comparison scenarios
    - Update integration tests to include path comparison in validation
    shanegrouber authored Feb 20, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    f319d83 View commit details

Commits on Feb 23, 2025

  1. KYB UI fixes (#3082)

    * fix: fix ui bug
    
    * chore: release
    
    * fix: better formatting
    
    * fix: use lockfile v6
    MatanYadaev authored Feb 23, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5edeced View commit details
  2. feat(ui): enhance merchant monitoring report status component (#3061)

    * feat(ui): enhance merchant monitoring report status component
    
    - Implement MerchantMonitoringReportStatus to display report statuses
    - Update Button variants and import adjustments for optimization
    - Refactor relevant table and business report components to utilize new status component
    
    * feat(reporting): enhance business report status management
    
    - Add status update functionality to business reports
    - Implement user feedback for status updates in toast notifications
    - Create new UI components for report status and associated actions
    
    * feat(report-status): enhance Merchant Monitoring Report Status component
    
    - Add support for a custom wrapper in react-table column metadata
    - Implement dialog for completing reports with additional details
    - Refactor component structure for improved readability and maintainability
    
    fix(deps): update @radix-ui packages to latest versions
    
    - Upgrade various @radix-ui libraries for bug fixes and performance improvements
    
    style(dialog): adjust dialog for better user experience
    
    - Prevent default behavior to enhance interaction on dialog close
    
    * chore(release): bump versions and update dependencies across projects
    
    - bump versions
    - Update dependencies for @ballerine/common and other related packages to latest versions
    - Ensure consistency across CHANGELOGs with patch updates noted
    
    * Revert "chore(release): bump versions and update dependencies across projects"
    
    This reverts commit 45d8d52.
    
    * chore: update package versions and dependencies
    
    - Bump versions for multiple packages including backoffice-v2 and kyb-app
    - Update dependencies to latest compatible versions across the project
    
    * feat(merchant-monitoring): introduce updateable report statuses
    
    - Add UPDATEABLE_REPORT_STATUSES constant for better status handling
    - Refactor MerchantMonitoringReportStatus component to use new statuses
    - Update useMerchantMonitoringTableLogic and business report logic
    tomer-shvadron authored Feb 23, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    52b1c9d View commit details
  3. chore(deps): update dependencies across multiple packages

    - Bump @ballerine/common to version 0.9.77
    - Update workflow-related SDKs to their latest versions
    - Increment package versions where necessary to reflect updates
    tomer-shvadron committed Feb 23, 2025
    Copy the full SHA
    cb27326 View commit details
  4. chore: test docker compose up for every merge (#3087)

    * chore: test docker compose up for every merge
    
    * update: test ballerine deploy github action
    
    * fix: docker-compose down step github action
    
    * update github action to test workflow-dispatch
    pratapalakshmi authored Feb 23, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    f3dae40 View commit details

Commits on Feb 24, 2025

  1. feat(reports): update business report status handling (#3089)

    - Include new statuses 'under_review' and 'pending_review' in the schema
    - Add logic to only display risk levels for reports that are ready
    - Adjust metrics repository to filter for the new statuses in queries
    tomer-shvadron authored Feb 24, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    db8c102 View commit details

Commits on Feb 25, 2025

  1. refactor(business-report): streamline project ID retrieval and remove…

    … unused imports (#3097)
    
    * refactor(business-report): streamline project ID retrieval and remove unused imports
    
    - Remove unused PrismaService import from BusinessReportControllerExternal
    - Simplify getByProjectId calls by omitting features retrieval
    - Update ListBusinessReportsSchema to reference MERCHANT_REPORT_STATUSES directly
    
    * feat(merchant-monitoring): enhance report status handling and UI
    
    - Update report status labels to include 'Pending Review' and 'Under Review'
    - Modify content formatting for status change notifications
    - Change button variant for completing reviews and add placeholder in text area
    
    * style(MerchantMonitoringReportStatus): simplify button component formatting
    
    - Remove unnecessary line breaks for the "Complete Review" button
    - Improve code readability without changing functionality
    tomer-shvadron authored Feb 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    485e8b3 View commit details

Commits on Feb 26, 2025

  1. fix: fix mm to not validate callback data

    MatanYadaev committed Feb 26, 2025
    Copy the full SHA
    c2dab97 View commit details
  2. BAL-3623: Final Submission and Redirects rework (#3096)

    * feat: reworked submission logic & added redirect on submit & lock submit on submission
    
    * fix: removed reduntant sync
    
    * fix: build
    
    * fix: refactor
    
    ---------
    
    Co-authored-by: Alon Peretz <8467965+alonp99@users.noreply.github.com>
    chesterkmr and alonp99 authored Feb 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8944316 View commit details
  3. BAL-3633: Fixed missing values in backoffice & KYB theme updates (#3099)

    * feat: reworked submission logic & added redirect on submit & lock submit on submission
    
    * feat: added contact info & fixed test
    
    * fix: added rendering of entity.address
    
    * feat: added entity details
    
    * fix: fixed missing additional info
    chesterkmr authored Feb 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b71fac5 View commit details
  4. feat: added network error screen (#3093)

    Co-authored-by: Omri Levy <61207713+Omri-Levy@users.noreply.github.com>
    chesterkmr and Omri-Levy authored Feb 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5eeccb0 View commit details
  5. fix: fixed events & updated test (#3104)

    chesterkmr authored Feb 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8b334f7 View commit details
  6. fix(MerchantMonitoringTable): grey out non-clickable reports (#3103)

    - Wrap children with a div for better styling and opacity handling
    - Update subproject commit reference for data migrations
    shanegrouber authored Feb 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    cbf03cf View commit details
  7. BAL-3590: KYB minAge validator & assited-invite plugin mapping update (

    …#3107)
    
    * feat: added handling of disable language selection by config
    
    * feat: added minAge validator to v1
    
    * feat: updated mapping for assisted-invitation
    
    * feat: added context to assisted-invitation plugin
    
    * chore: cleanup
    
    * migrations
    chesterkmr authored Feb 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    2851bb6 View commit details

Commits on Feb 27, 2025

  1. fix: fixed crash (#3110)

    chesterkmr authored Feb 27, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    2f964a0 View commit details
  2. feat(merchant-monitoring): add Merchant ID column with copy functiona…

    …lity (#3112)
    
    - Implement Merchant ID column displaying business correlation ID
    - Include copy to clipboard button for easy ID duplication
    - Utilize ellipses for long IDs to maintain table layout
    shanegrouber authored Feb 27, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    588cd2c View commit details
  3. feat(bal-3619): added endpoint to create demo workflow (#3105)

    * feat(bal-3619): added endpoint to create demo workflow
    
    * chore: moved demo workflow generation code to OSS repo
    
    * chore: fixed build
    
    * chore: updated submodule
    
    * chore: updated submodule
    
    * chore: added admin authentication
    ArtemLavrentii authored Feb 27, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    fc5e937 View commit details
  4. feat: app event (#3076)

    * wip
    
    * wip
    
    * adaptive credibility
    
    * wip use-report-sections
    
    * scrollable report sections
    
    * fix: remove redundant code
    
    * fix: imports
    
    * fix
    
    * Bal 3611 - UI changes (#3094)
    
    * refactor(CaseOverview): improve tab generation logic
    
    - Replace inline tab logic with a dedicated function
    - Ensure 'ubos' case returns the correct tab name
    - Maintain existing functionality for other domain tab names
    
    * refactor(CaseOverview): simplify tab generation logic
    
    - Remove unnecessary getTab function
    - Use camelCase on the domain string directly
    
    * feat(MerchantMonitoringBusinessReport): update button label for navigation
    
    - Change button text from "Back" to "View All Reports"
    - Improve clarity on navigation purpose for users
    
    * feat(scripts): enhance auto-commit script with specific target file option
    
    - Add command line argument to specify target file for git diff
    - Update git commit command to include the target file in commit
    
    * feat(MerchantMonitoring): add conditional alert column to the table
    
    - Introduce 'showAlertColumn' prop to toggle alert column visibility
    - Modify MerchantMonitoringTable and related components accordingly
    - Update logic to filter columns based on 'showAlertColumn' setting
    
    * feat(MerchantMonitoring): update merchant monitoring logic to include demo flag
    
    - Replace showAlertColumn with isDemo in merchant monitoring logic
    - Modify MerchantMonitoringTable to conditionally render alert column based on isDemo
    - Adapt useColumns to use isDemo for column visibility control
    
    * refactor(MerchantMonitoring): rename isDemo to isDemoAccount
    
    - Update variable and prop names for clarity
    - Ensure consistent naming across components and hooks
    
    * style(sidebar): improve class ordering for consistency
    
    - Reorder class names in Sidebar components for better readability
    - Make minor formatting adjustments across several Sidebar and TextEditor components
    - Maintain consistent styling practices throughout the codebase
    
    * refactor(report-tabs): streamline report tab configurations
    
    - Remove unnecessary social media and ecosystem analysis tabs
    - Simplify the report tabs structure for better clarity
    - Ensure the remaining tabs maintain functional integrity
    
    * feat(ui): enhance merchant monitoring for demo accounts
    
    - Add tooltip messages indicating feature limitations for demo accounts
    - Disable monitoring action for trial users with appropriate feedback
    - Update logic to check account type before rendering specific options
    
    * fix(MerchantMonitoring): update button icons and styles in MerchantMonitoring page
    
    - Replace Table2 icon with Layers for better clarity
    - Update button text for Upload Multiple Merchants to Batch Actions
    - Refactor button styles to improve visibility and user experience
    
    * feat(MerchantMonitoringBusinessReport): align Options dropdown with website domain
    
    - Implement dropdown menu for monitoring options
    - Add confirmation dialog for deboarding merchants
    - Integrate feedback mechanism via form fields for user reasons
    
    * refactor(merchant-monitoring): restructure merchant monitoring components
    
    - Convert columns definition to a memoized hook for performance enhancement
    - Standardize access to demo account configuration across components
    - Improve button label for better clarity on navigation functionality
    
    ---------
    
    Co-authored-by: Alon Peretz <8467965+alonp99@users.noreply.github.com>
    
    * feat: create report modal
    
    * wip demo details
    
    * fixes
    
    * fixes
    
    * demo customer type
    
    * fix
    
    * CTA banners
    
    * fix
    
    * fix
    
    * welcome modal
    
    * wip
    
    * wip
    
    * adaptive credibility
    
    * wip use-report-sections
    
    * scrollable report sections
    
    * fix: remove redundant code
    
    * fix: imports
    
    * fix
    
    * wip
    
    * feat: better line of business risk indicators visualization
    
    * chore(release): update packages for demo-200225
    
    - Bump multiple packages to demo-200225 versions
    - Include patch updates across various modules
    - Update changelogs and package files accordingly
    
    * feat: new navbar
    
    * fix: hide monitoring cards for users with disabled ongoing monitoring
    
    * feat: content violation column
    
    * fix
    
    * fix
    
    * fixes
    
    * center monitored column
    
    * feat(business-reports): add isExample flag to BusinessReportSchema (#3098)
    
    - Include isExample property in the transformed report data
    - Update MerchantMonitoringTable to display example badge when applicable
    - Update subproject commit for workflows service data migrations
    
    * fix avatar placement on collapsed sidebar
    
    * add more margin on larger screens
    
    * alignment fixes
    
    * fix: ui tweaks
    
    * re-add conditional render for isAlert column
    
    * feat: warning for mobile devices
    
    * fix: add captions for each premium feature
    
    * fix mobile warning feature, styling tweaks for sidebar
    
    * feat(merchant-monitoring): add correlationId and merchantId display (#3106)
    
    - Introduce correlationId field to the business schema
    - Implement merchant ID column in MerchantMonitoringTable
    - Include copy-to-clipboard functionality for merchant ID
    
    * fix separator showing for non-demo, fix logout button hidden for demo, other small fixes
    
    * hardcode calendly link
    
    * show tooltip with nav item title, show title in hovercard for premium items
    
    * fix: sidebar sticky, small fixes
    
    * fix: report page scroll to top automatically
    
    * feat(backoffice-v2): update dependencies and add new components
    
    - Add BusinessReportSectionsObserver for report navigation
    - Introduce BusinessReportOptionsDropdown for report options
    - Include hooks for PDF generation and report reference management
    
    * feat(button): add status variant to button styles
    
    - Introduce new 'status' variant for enhanced button customization
    - Modify Button component and related styles for better usability
    - Update MerchantMonitoring components to support the new variant
    
    * fixes
    
    * more fixes
    
    * dont include example reports in count
    
    * add backend validation for demo account report creation
    
    * restore package versions
    
    * resolve remaining conflicts
    
    * remove versions [2]
    
    * fixes based on self-review
    
    * chore(release): bump versions and update dependencies
    
    - Bump versions across various packages, including common, ui, and workflow-sdk
    - Update dependencies to their latest compatible versions, improving stability and features
    - Ensure consistency in versioning to facilitate smoother upgrades in future releases
    
    * fix
    
    * move full onboarding in sidebar
    
    * bugfix
    
    * augment meta type
    
    * bugfix
    
    * feat(merchant-monitoring): enhance company name display with example badge
    
    - Add badge to indicate example accounts in the company name column
    - Wrap company name in a flex container for improved layout
    
    * fix(tests): comment out async rule execution test
    
    - Comment out the asynchronous rule execution test case
    - Ensure the test suite continues to run without failures
    - No changes were made to the functionality of the rule engine
    
    * bugfix
    
    ---------
    
    Co-authored-by: Shane <66246046+shanegrouber@users.noreply.github.com>
    Co-authored-by: Alon Peretz <8467965+alonp99@users.noreply.github.com>
    Co-authored-by: Tomer Shvadron <tomers@ballerine.com>
    4 people authored Feb 27, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    df8490c View commit details
  5. fix: is current logic, proper link styles (#3114)

    r4zendev authored Feb 27, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    797ed78 View commit details

Commits on Feb 28, 2025

  1. fix: full onboarding icon, reports limit checks, report observer indi…

    …cators, report dialog stale state (#3116)
    
    * fix: full onboarding icon, reports limit checks, report observer indicators
    
    * fix: form state and success not resetting after report creation
    r4zendev authored Feb 28, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b283c09 View commit details
  2. feat: replace notes sidebar with sheet for better UX (#3109)

    Co-authored-by: Alon Peretz <8467965+alonp99@users.noreply.github.com>
    r4zendev and alonp99 authored Feb 28, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    e330709 View commit details

Commits on Mar 1, 2025

  1. feat(welcome-modal): enhance video display in welcome modal

    - Add skeleton loader for video loading state
    - Integrate iframe for embedding videos with responsive design
    - Introduce new video link for better user engagement
    
    style(sidebar): improve sidebar component styling
    
    - Adjust sidebar class names for cleaner styling
    - Ensure consistent padding and positioning across components
    
    feat(AI): create AI summary block with advanced features
    
    - Implement AI summary block for enhanced risk assessment display
    - Add detailed sections for findings and actions with confidence indicators
    - Include demo-friendly options for customer customization
    alonp99 committed Mar 1, 2025
    Copy the full SHA
    95b2a73 View commit details
  2. feat(workflows): add optional config property to workflow schemas

    - Introduce optional config property in BaseWorkflowByIdSchema
    - Update Case.Actions component to utilize workflow config
    - Include sample data indication in the Case.Actions UI when applicable
    alonp99 committed Mar 1, 2025
    Copy the full SHA
    d32f89f View commit details
  3. refactor(tabs): update tab names and mapping logic

    - Rename tabs from 'companyInformation' to 'kyb' and 'ubos' to 'ubosKyc'
    - Adjust tab mapping in get-tabs-block-map.tsx and get-variant-tabs.ts
    - Modify display names accordingly for consistency in the UI
    alonp99 committed Mar 1, 2025
    Copy the full SHA
    6524497 View commit details

Commits on Mar 2, 2025

  1. feat(case-creation): enhance button functionality with tooltip support (

    #3122)
    
    * feat(case-creation): enhance button functionality with tooltip support
    
    - Update button state management with demo flag
    - Integrate tooltips to inform users on demo account limitations
    - Refactor withCaseCreation to use arrow function syntax for consistency
    
    * refactor(case-creation): improve demo status handling
    
    - Update demo status determination to include demo account check
    - Refactor report data processing to simplify mapping logic
    tomer-shvadron authored Mar 2, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    306bf1e View commit details
  2. refactor(overview): improve case overview tab handling and labels (#3123

    )
    
    * refactor(overview): improve case overview tab handling and labels
    
    - Update tab labels for clarity and consistency
    - Simplify tab entry lookup by using Object.entries
    - Enhance risk indicators mapping for improved readability
    
    * refactor(components): clean up AISummaryBlock and improve layout
    
    - Remove redundant sections and clean up formatting in AISummaryBlock
    - Rename 'Monitoring Reports' tab to 'Web Presence' for clarity
    - Update demo company names for consistency across components
    
    * Update apps/backoffice-v2/src/pages/Entity/components/Case/components/CaseOverview/CaseOverview.tsx
    
    Co-authored-by: Tomer Shvadron <tomers@ballerine.com>
    
    ---------
    
    Co-authored-by: Tomer Shvadron <tomers@ballerine.com>
    alonp99 and tomer-shvadron authored Mar 2, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b8936f6 View commit details
  3. fix(website-monitoring): correct prop naming in BusinessReportSummary

    - Rename 'sections' prop to 'riskIndicators' in WebsiteMonitoringBusinessReportTab
    - Add blank line for improved formatting in BusinessReportSummary component
    alonp99 committed Mar 2, 2025
    Copy the full SHA
    88fe7c8 View commit details
  4. fix: amount threshold filter when having HAVING BY filter (#3118)

    Co-authored-by: Lior Zamir <liorz@ballerine.com>
    liorzam and liorzblrn authored Mar 2, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    846c965 View commit details
  5. refactor(auth): streamline NavItem component and improve tooltip logic (

    #3125)
    
    - Remove unused import from NavItem component
    - Adjust Skeleton component and CrownIcon positioning for better layout
    - Enhance BusinessReportOptionsDropdown with tooltip for demo accounts
    tomer-shvadron authored Mar 2, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    e8546ca View commit details
  6. feat(modal): update welcome modal video links

    - Remove parameter to hide the embed top bar for Loom video
    - Ensure consistency in video URLs across application
    
    refactor(ai-summary): simplify confidence indicator logic
    
    - Remove old confidence indicator implementation
    - Adjust associated components to enhance readability and maintainability
    
    chore(mock-data): update mock data for merchant compliance
    
    - Modify demo data to reflect accurate merchant information
    - Revise company names and related details for clarity and consistency
    alonp99 committed Mar 2, 2025
    Copy the full SHA
    5762e19 View commit details
  7. refactor(merchantMonitoring): remove unused imports in useMerchantMon…

    …itoringLogic
    
    - Eliminate unused ComponentProps and useToggle imports
    - Clean up the code for improved readability
    tomer-shvadron committed Mar 2, 2025
    Copy the full SHA
    3c0289d View commit details
  8. feat(merchant-report-dialog): enhance demo account experience

    - Integrate customer query to determine demo account status
    - Conditionally render content based on demo account eligibility
    - Update success dialog and form content to reflect demo account context
    alonp99 committed Mar 2, 2025
    Copy the full SHA
    b495fe0 View commit details
  9. feat(workflows): add workflowOverrides support in demo workflow creation

    - Introduce workflowOverrides parameter in createDemoWorkflow function
    - Update getMockWorkflowContext to utilize workflowOverrides for reportId
    - Enhance CreateDemoWorkflowDefinitionDto to include workflowOverrides description
    alonp99 committed Mar 2, 2025
    Copy the full SHA
    5b9b020 View commit details

Commits on Mar 3, 2025

  1. feat(toolbar): enhance ImageOCR and add tooltips for improved UX

    - Introduce a tooltip provider for better user guidance in the ImageOCR component
    - Update the DocumentsToolbar to include consistent button styles with tooltips
    - Implement a guideline for writing comments effectively in comments.mdc file
    alonp99 committed Mar 3, 2025
    Copy the full SHA
    0cc3251 View commit details
  2. chore(release): update versions and dependencies for multiple packages (

    #3126)
    
    * chore(release): update versions and dependencies for multiple packages
    
    - Bump versions for backoffice-v2 (0.7.108), kyb-app (0.3.136), and react-pdf-toolkit (1.2.81)
    - Update @ballerine/ui dependency to version 0.5.81 across all affected packages
    - Update CHANGELOG.md for tracking patch changes
    
    * feat: updated lockfile
    
    ---------
    
    Co-authored-by: Alon Peretz <8467965+alonp99@users.noreply.github.com>
    tomer-shvadron and alonp99 committed Mar 3, 2025
    Copy the full SHA
    427ab71 View commit details
  3. feat(auth): add NavIntroduction component to AppSidebar

    - Introduce NavIntroduction to display a demo account video tutorial
    - Modify AppSidebar to include NavIntroduction in the sidebar footer
    alonp99 committed Mar 3, 2025
    Copy the full SHA
    ee843e3 View commit details
  4. feat(workflows): enable case overview in child associated company def…

    …inition
    
    - Add isCaseOverviewEnabled configuration option to enhance workflow
    - Improve functionality for associated company management in demo workflows
    alonp99 committed Mar 3, 2025
    Copy the full SHA
    46ecbd9 View commit details
  5. chore: update linked dependencies and version bumps

    - Link @ballerine/ui with @ballerine/backoffice-v2 in config
    - Update the version of @ballerine/ui to 0.5.82 in multiple packages
    - Modify company analysis title formatting in useReportSections hook
    alonp99 committed Mar 3, 2025
    Copy the full SHA
    b704524 View commit details
  6. chore(backoffice-v2): update @ballerine/ui to version 0.5.82

    - Update dependency for improved stability and features
    - Maintain compatibility with existing modules
    alonp99 committed Mar 3, 2025
    Copy the full SHA
    1fe15e6 View commit details
  7. style(workflows-service): comment out console.info for cleaner output

    - Comment out the console.info statement when no document schema is found
    - Helps maintain cleaner logs during execution
    alonp99 committed Mar 3, 2025
    Copy the full SHA
    2f78f3a View commit details
  8. fix(entities): correct isDemo value assignment in useCaseCreationLogic

    - Update isDemo to only use isDemoAccount from customer config
    - Remove unnecessary check for isDemo to ensure accurate value assignment
    alonp99 committed Mar 3, 2025
    Copy the full SHA
    1daee50 View commit details
  9. BAL 3733 - Enrich violations column in web presence table (#3127)

    * feat(MerchantMonitoring): enhance violation handling in monitoring table
    
    - Add website structure violations with associated risk levels
    - Change field name from contentViolations to allViolations
    - Update violation display logic to utilize new structure and sort accordingly
    
    * refactor(MerchantMonitoringTable): remove redundant violation structure
    
    - Remove the WEBSITE_STRUCTURE_VIOLATIONS constant
    - Update violations handling in the render function
    - Limit displayed violations to the first four with a counter for additional findings
    
    * fix(MerchantMonitoringTable): improve filtering of violations
    
    - Update filter logic to exclude violations without a name or risk level
    - Ensure reliable sorting of violation entries based on risk level and name
    
    * refactor(MerchantMonitoringTable): simplify sorting logic in useColumns
    
    - Streamline comparison logic for sorting by riskLevel and name
    - Improve readability and maintainability of the sorting function
    
    ---------
    
    Co-authored-by: Alon Peretz <8467965+alonp99@users.noreply.github.com>
    shanegrouber and alonp99 authored Mar 3, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b6703b5 View commit details

Commits on Mar 4, 2025

  1. fix(MerchantMonitoringTable): remove duplicate risk indicators from c…

    …olumns (#3130)
    
    - Implement logic to filter out duplicate violation indicators
    - Ensure each indicator is unique based on its ID
    shanegrouber authored Mar 4, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c7a4654 View commit details
  2. fix(MerchantMonitoringTable): remove duplicate violations in table (#…

    …3133)
    
    - Implement lodash's uniqBy to filter out duplicate violations
    - Simplify violation filtering logic for better readability
    shanegrouber authored Mar 4, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5e3a077 View commit details
  3. feat(bal-3613): added magic link authentication (#3124)

    * feat(bal-3613): added magic link authentication
    
    * chore: pr improvements
    
    * chore: lock jwt algorithms
    ArtemLavrentii authored Mar 4, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    53eb090 View commit details
  4. fix: updated cache action version in the pipelines (#3134)

    codechirag123 authored Mar 4, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    bc9957c View commit details
  5. fix: introduction block hidden on collapsed (#3136)

    r4zendev authored Mar 4, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    02118ad View commit details
Showing 663 changed files with 73,726 additions and 5,390 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"changelog": "@changesets/changelog-git",
"commit": false,
"fixed": [],
"linked": [],
"linked": [["@ballerine/ui", "@ballerine/backoffice-v2"]],
"access": "public",
"baseBranch": "dev",
"updateInternalDependencies": "patch",
11 changes: 11 additions & 0 deletions .cursor/rules/comments.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
description: How to write comments
globs:
---
Write comments thoughtfully:
- Do NOT write comments that explain obvious code or restate WHAT the code does.
- Comments should primarily explain WHY code exists or WHY a particular approach was chosen.
- Only add comments for complex, non-intuitive logic where the code itself doesn't clearly communicate intent.
- Always provide clear documentation for functions (purpose, inputs, outputs).
- Avoid unnecessary comments that add visual noise without adding value.
- Write comments only when they provide genuine insight or when explicitly requested.
2 changes: 1 addition & 1 deletion .github/actions/build-action/action.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ runs:
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
2 changes: 1 addition & 1 deletion .github/actions/format-action/action.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ runs:
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
2 changes: 1 addition & 1 deletion .github/actions/integration-test-action/action.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ runs:
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
2 changes: 1 addition & 1 deletion .github/actions/lint-action/action.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ runs:
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
2 changes: 1 addition & 1 deletion .github/actions/spell-check-action/action.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ runs:
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
2 changes: 1 addition & 1 deletion .github/actions/test-action/action.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ runs:
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
2 changes: 1 addition & 1 deletion .github/actions/unit-test-action/action.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ runs:
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
17 changes: 11 additions & 6 deletions .github/workflows/build-preview-environment.yml
Original file line number Diff line number Diff line change
@@ -6,6 +6,11 @@ concurrency:

on:
workflow_dispatch:
inputs:
unified-version:
type: string
description: 'Provide Unified image tag that you want to use in this preview env'
default: 'latest'
pull_request:
types: [ labeled, synchronize ]

@@ -46,7 +51,7 @@ jobs:
run: |
SANITIZED_BRANCH_NAME=$(echo -n "${{ steps.clean-ref.outputs.ref }}" | tr "/" "-")
echo "Sanitized branch name: $SANITIZED_BRANCH_NAME"
TRIMMED_BRANCH_NAME=$(echo -n "$SANITIZED_BRANCH_NAME" | cut -c 1-7 | sed 's/[-/]$//')
TRIMMED_BRANCH_NAME=$(echo -n "$SANITIZED_BRANCH_NAME" | cut -c 1-18 | sed 's/[-/]$//')
echo "sanitized_env_name=$SANITIZED_BRANCH_NAME" >> $GITHUB_OUTPUT;
echo "trimmed_env_name=$TRIMMED_BRANCH_NAME" >> $GITHUB_OUTPUT;
@@ -88,7 +93,7 @@ jobs:
image_name: backoffice
ref: ${{ needs.deploy-dev-pr-environment.outputs.ref }}
tag: ${{ needs.deploy-dev-pr-environment.outputs.env_name }}
file: 'apps/backoffice-v2/Dockerfile.preview'
file: 'apps/backoffice-v2/Dockerfile'

build-kyb:
needs: [deploy-dev-pr-environment]
@@ -99,7 +104,7 @@ jobs:
image_name: kyb-app
ref: ${{ needs.deploy-dev-pr-environment.outputs.ref }}
tag: ${{ needs.deploy-dev-pr-environment.outputs.env_name }}
file: 'apps/kyb-app/Dockerfile.preview'
file: 'apps/kyb-app/Dockerfile'

build-dashboard:
needs: [deploy-dev-pr-environment]
@@ -110,7 +115,7 @@ jobs:
image_name: workflows-dashboard
ref: ${{ needs.deploy-dev-pr-environment.outputs.ref }}
tag: ${{ needs.deploy-dev-pr-environment.outputs.env_name }}
file: 'apps/workflows-dashboard/Dockerfile.preview'
file: 'apps/workflows-dashboard/Dockerfile'

build-unified-api:
runs-on: ubuntu-latest
@@ -146,8 +151,8 @@ jobs:

- name: Checkout repository
run: |
docker pull ghcr.io/${{ github.repository_owner }}/${{ vars.UNIFIED_IMAGE_NAME }}:latest
docker tag ghcr.io/${{ github.repository_owner }}/${{ vars.UNIFIED_IMAGE_NAME }}:latest ghcr.io/${{ github.repository_owner }}/${{ vars.UNIFIED_IMAGE_NAME }}:${{ needs.deploy-dev-pr-environment.outputs.env_name }}
docker pull ghcr.io/${{ github.repository_owner }}/${{ vars.UNIFIED_IMAGE_NAME }}:${{ github.event_name == 'workflow_dispatch' && inputs.unified-version || 'latest' }}
docker tag ghcr.io/${{ github.repository_owner }}/${{ vars.UNIFIED_IMAGE_NAME }}:${{ github.event_name == 'workflow_dispatch' && inputs.unified-version || 'latest' }} ghcr.io/${{ github.repository_owner }}/${{ vars.UNIFIED_IMAGE_NAME }}:${{ needs.deploy-dev-pr-environment.outputs.env_name }}
docker push ghcr.io/${{ github.repository_owner }}/${{ vars.UNIFIED_IMAGE_NAME }}:${{ needs.deploy-dev-pr-environment.outputs.env_name }}
deploy-preview:
2 changes: 1 addition & 1 deletion .github/workflows/build-push-docker-images.yml
Original file line number Diff line number Diff line change
@@ -119,7 +119,7 @@ jobs:

- name: Cache Docker layers
id: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }}
20 changes: 5 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -6,10 +6,10 @@ on:
- main
paths:
# Run this pipeline only if there are changes in specified path
- "apps/**"
- "services/**"
- "examples/**"
- "experiments/**"
- 'apps/**'
- 'services/**'
- 'examples/**'
- 'experiments/**'
workflow_call:
workflow_dispatch:

@@ -37,7 +37,7 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

steps:
@@ -66,13 +66,3 @@ jobs:

- name: Test
uses: ./.github/actions/test-action
test_windows:
runs-on: windows-latest
timeout-minutes: 60

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Test
uses: ./.github/actions/unit-test-action
2 changes: 1 addition & 1 deletion .github/workflows/db-ops.yaml
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ jobs:

- name: Cache Docker layers
id: cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }}
4 changes: 2 additions & 2 deletions .github/workflows/deploy-wf-service.yml
Original file line number Diff line number Diff line change
@@ -80,7 +80,7 @@ jobs:
- name: Cache Docker layers
id: cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }}
@@ -157,7 +157,7 @@ jobs:

- name: Cache Docker layers
id: cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }}
8 changes: 1 addition & 7 deletions .github/workflows/destroy-preview-environment.yml
Original file line number Diff line number Diff line change
@@ -36,19 +36,13 @@ jobs:
CLEAN_BRANCH_NAME=${BRANCH_NAME#refs/heads/}
echo "ref=$CLEAN_BRANCH_NAME" >> $GITHUB_OUTPUT
- name: Checkout the Tool and actions
uses: actions/checkout@v4
with:
ref: ${{ steps.clean-ref.outputs.ref }}
fetch-depth: 1

- name: "Sanitize ENV name"
id: sanitize_env
shell: bash
run: |
SANITIZED_BRANCH_NAME=$(echo -n ${{ steps.clean-ref.outputs.ref }} | tr "/" "-")
echo "Sanitized branch name: $SANITIZED_BRANCH_NAME"
TRIMMED_BRANCH_NAME=$(echo -n "$SANITIZED_BRANCH_NAME" | cut -c 1-7)
TRIMMED_BRANCH_NAME=$(echo -n "$SANITIZED_BRANCH_NAME" | cut -c 1-18 | sed 's/[-/]$//')
echo "sanitized_env_name=$SANITIZED_BRANCH_NAME" >> $GITHUB_OUTPUT;
echo "trimmed_env_name=$TRIMMED_BRANCH_NAME" >> $GITHUB_OUTPUT;
4 changes: 2 additions & 2 deletions .github/workflows/hotfix-wf-service.yml
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ jobs:

- name: Cache Docker layers
id: cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }}
@@ -193,7 +193,7 @@ jobs:

- name: Cache Docker layers
id: cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-workflows-service.yml
Original file line number Diff line number Diff line change
@@ -339,7 +339,7 @@ jobs:

- name: Cache Docker layers
id: cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }}
2 changes: 1 addition & 1 deletion .github/workflows/push-workflows-service-image.yml
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ jobs:

- name: Cache Docker layers
id: cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ jobs:
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
60 changes: 60 additions & 0 deletions .github/workflows/test-ballerine-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Test Ballerine Deploy

on:
workflow_dispatch:
push:
branches: [ dev ]

jobs:
test-deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: 'arm64,arm'

- name: Start containers
run: |
sudo apt-get update
sudo apt-get install docker-compose
cd deploy
docker-compose up -d
- name: Wait for containers to be healthy
run: |
cd deploy
timeout=180 # 3 minutes timeout
elapsed=0
interval=10
while [ $elapsed -lt $timeout ]; do
if docker-compose ps | grep -q "healthy"; then
unhealthy_count=$(docker-compose ps | grep -c "unhealthy" || true)
if [ $unhealthy_count -eq 0 ]; then
echo "All containers are healthy!"
exit 0
fi
fi
echo "Waiting for containers to be healthy... ($elapsed seconds elapsed)"
sleep $interval
elapsed=$((elapsed + interval))
done
echo "Timeout reached. Some containers are not healthy."
docker-compose ps
docker-compose logs
exit 1
- name: Clean up
if: always()
run: |
cd deploy
docker-compose down -v
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -74,6 +74,7 @@ We believe in enabling companies to manage user identity and risk according to
**Parts of the system you might look for but are not in THIS demo:**
- Our Rule Engine is still under construction and will soon be released.


**Getting started**
To set up a local environment, follow these steps:
1. #### Install prerequisites:
@@ -127,7 +128,7 @@ Once the process is complete, _2 tabs_ will open in your browser:
- The Back Office case will update as you progress
3. **Review & Process**
- Once complete, the case status changes to "manual review"
- Once complete, the case status changes to "manual review"
- Assign the case to yourself
- Choose to: Approve, Reject, or Request Resubmission
Loading