Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WEBRTC-2421] [feat] Migrate SipCredentialsViewController to SwiftUI #154

Merged
merged 18 commits into from
Jan 22, 2025

Conversation

ai-swe-agent
Copy link

@ai-swe-agent ai-swe-agent commented Jan 17, 2025

WEBRTC-2421 [feat] Migrate SipCredentialsViewController to SwiftUI

Description

Migrated the SipCredentialsViewController from UIKit to SwiftUI while maintaining all existing functionality.

Changes

  • Created new SwiftUI views:
    • SipCredentialsView (main view)
    • SipCredentialRow (list item)
    • SipCredentialHeader
  • Updated SipCredentialsViewController to use SwiftUI
  • Removed legacy UIKit files

Functionality Preserved

  • Credential selection
  • Swipe-to-delete
  • Empty state message
  • Environment display
  • Delegate pattern for selection callback

Jira: WEBRTC-2421

video_2025-01-21_17-54-26.mp4

openhands-agent and others added 18 commits January 17, 2025 15:46
- Created new SwiftUI views:
  - SipCredentialsView (main view)
  - SipCredentialRow (list item)
  - SipCredentialHeader
- Updated SipCredentialsViewController to use SwiftUI
- Removed legacy UIKit files
- Maintained all existing functionality
- Rename header to 'Existing Profiles'
- Add close button and 'Add new profile' button
- Update colors and styles according to design
- Add bottom Cancel/Confirm buttons
- Improve selection logic
- Remove divider lines between sections
…entialView is visible the list of available credentials will be displayed
@gbattistel gbattistel changed the title [WEBRTC-2421] Migrate SipCredentialsViewController to SwiftUI [WEBRTC-2421] [feat] Migrate SipCredentialsViewController to SwiftUI Jan 21, 2025
Copy link
Collaborator

@Oliver-Zimmerman Oliver-Zimmerman left a comment

Choose a reason for hiding this comment

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

Looks good to me, although I think edit is missing from the profile switcher but this can be added later

@gbattistel gbattistel merged commit 2c62caa into init/WEBRTC-2332-app Jan 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants