-
Notifications
You must be signed in to change notification settings - Fork 163
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 Calling Hero to the Latest version #269
Conversation
Calling/src/index.tsx
Outdated
@@ -19,3 +19,4 @@ createRoot(domNode).render( | |||
</SwitchableFluentThemeProvider> | |||
</React.StrictMode> | |||
); | |||
export {}; /*The above line is generated by conditional compilation, when no export detected after CC.*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove please
Calling/public/index.html
Outdated
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="description" content="Azure Communication Services - UI Library: Calling Sample app" /> | ||
<title>UI Library Calling Sample</title> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove this as its for render tracker a debugging tool we don't provide in the hero
Calling/src/app/App.tsx
Outdated
@@ -93,6 +93,7 @@ const App = (): JSX.Element => { | |||
getMeetingIdFromUrl() || | |||
getGroupIdFromUrl() || | |||
createGroupId(); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove the new lines generated by CC code
@@ -27,3 +27,4 @@ describe('ContosoUtils tests', () => { | |||
test('createRandomDisplayName should return a valid string for a user id', () => | |||
expect(createRandomDisplayName()).toBeTruthy()); | |||
}); | |||
export {}; /*The above line is generated by conditional compilation, when no export detected after CC.*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this line as well
Calling/src/app/utils/AppUtils.ts
Outdated
@@ -14,7 +14,7 @@ import { v1 as generateGUID } from 'uuid'; | |||
export const fetchTokenResponse = async (): Promise<any> => { | |||
const response = await fetch('token?scope=voip'); | |||
if (response.ok) { | |||
const responseAsJson = await response.json(); | |||
const responseAsJson = await response.json(); //(await response.json())?.value?.token; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also remove the commented out code here
Purpose
Update Calling Hero to the Latest version 1.23.0
Pull Request Type
Upstream sample reference
Links to PR(s) that made the original change in the upstream sample:
How to Test
What to Check
Verify that the following are valid
Other Information