Skip to content

Conversation

@ArtyomSavchenko
Copy link
Member

@ArtyomSavchenko ArtyomSavchenko commented Aug 18, 2025

Screenshot 2025-08-18 at 19 36 15

Signed-off-by: Artem Savchenko <armisav@gmail.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements phone number formatting functionality for the Telegram integration. It adds a dedicated PhoneInput component that automatically formats phone numbers as users type, replacing basic EditBox inputs with proper phone number validation and formatting.

  • Added PhoneInput component with libphonenumber-js for formatting and validation
  • Updated Connect and Reconnect components to use PhoneInput instead of EditBox
  • Enhanced EditBox component with optional formatter function support

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
PhoneInput.svelte New component implementing phone number formatting and validation logic
Connect.svelte Updated to use PhoneInput component and libphonenumber-js validation
Reconnect.svelte Replaced EditBox with PhoneInput for phone number input
package.json Added libphonenumber-js dependency for phone number handling
EditBox.svelte Added optional formatter function parameter to support custom formatting
Files not reviewed (1)
  • common/config/rush/pnpm-lock.yaml: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Signed-off-by: Artem Savchenko <armisav@gmail.com>
@ArtyomSavchenko ArtyomSavchenko marked this pull request as ready for review August 18, 2025 12:56
@haiodo haiodo merged commit 21e49e8 into develop Aug 18, 2025
15 checks passed
@haiodo haiodo deleted the UBERF-13124/format branch August 18, 2025 19:22
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.

5 participants