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

Update Twilio Conversations & Paste to latest #27

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

guevaraf
Copy link

This pull request is for updating the Twilio Conversations library to the latest stable one and Twilio Paste (new design system) to latest version for improved stability.

Also, some tests have been updated to account for Pastes current state regarding components. This includes a custom query for locking for the special data-paste-element attribute used along Paste's components.

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

  • I acknowledge that all my contributions will be made under the project's license.

Fernando Guevara added 2 commits October 21, 2022 12:59
…ste and dependencies, updated tests to pass
…ste and dependencies, updated tests to pass
Copy link
Contributor

@nayanadasgupta nayanadasgupta left a comment

Choose a reason for hiding this comment

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

Looks great! Just had a note about the indentation level 👍

src/__mocks__/@twilio/conversations/conversation.ts Outdated Show resolved Hide resolved
@guevaraf
Copy link
Author

@nayanadasgupta I also merged the latest changes from main fork, it took a couple of commits because I missed to resolve conflicts in a file. Let me know if they look ok because prev file's format on some do not match the prettier policy even before my commits.

Comment on lines +21 to +40
export interface ParticipantResponse {
account_sid: string;
chat_service_sid: string;
conversation_sid: string;
role_sid: string;
sid: string;
attributes: string;
date_created: string;
date_updated: string;
identity: string;
messaging_binding: {
type: "chat" | "sms" | "whatsapp" | "email";
address: string;
proxy_address: string;
} | null;
url: string;
links: {
conversation: string;
};
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Wondering if it's necessary to define this purely for the mock file's benefit. Was this because the new Conversations version required it?

@sonarcloud
Copy link

sonarcloud bot commented Jul 19, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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.

3 participants