зеркало из
1
0
Форкнуть 0
Граф коммитов

3640 Коммитов

Автор SHA1 Сообщение Дата
ddematheu2 84122fee7c
Stateful client quickstart (#209)
* Stateful client quickstart

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

* Update packages/storybook/stories/QuickStarts/QuickstartComposite.stories.mdx

* Update packages/storybook/stories/Introduction.stories.mdx

* Update packages/storybook/stories/QuickStarts/snippets/ChatApp.snippet.tsx

* Update packages/storybook/stories/QuickStarts/snippets/ChatAppHandlers.snippet.tsx

* Update packages/storybook/stories/QuickStarts/snippets/ChatAppSelectors.snippet.tsx

* Update packages/storybook/stories/QuickStarts/snippets/ChatAppStateful.snippet.tsx

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

Co-authored-by: Anjul Garg <anjulgarg@live.com>

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

Co-authored-by: Anjul Garg <anjulgarg@live.com>

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

Co-authored-by: Anjul Garg <anjulgarg@live.com>

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

* Update packages/storybook/stories/QuickStarts/QuickstartStateful.stories.mdx

* useEffect update

Co-authored-by: Anjul Garg <anjulgarg@live.com>
2021-05-07 15:12:22 +00:00
Prathmesh Prabhu 7940737099
Hotfix Calling sample bug in name update (#224) 2021-05-06 19:23:41 -07:00
alkwa-msft 20cd0cc3c3
adding a local preview example (#212)
* adding a local preview example

* prettier and lint fixes

* PR comments and visual upgrade

* Removing control bar from video tile examples

* using new local preview in composite

* some small nit fixes

* storybook fixes

* Change files

* updating snapshots
2021-05-07 00:09:47 +00:00
Dominik d7b62e0ea8
Fix copyright header to MIT and add LICENSE files (#225) 2021-05-06 23:34:10 +00:00
James Burnside d3b01cf8bd
Add sort imports linting rule to Storybook code (#222) 2021-05-06 21:54:13 +00:00
alcail 2f7ac2b229
fix missing keys for ControlBar buttons (#226) 2021-05-06 20:37:04 +00:00
alkwa-msft b6f2bcca5c
dependabot is getting upset about merge, but our pnpm lock file is already correct (#214)
* updating dependencies based on a detected security vulnerability

* updating shrinkwrap file

* updating with latest changes from main
2021-05-06 19:01:06 +00:00
alcail b4143343ba
add EndCallButton documentation (#218)
* add EndCallButton documentation

* update react-component package import

* update snippet file names + PR comments on strings

* Change files
2021-05-06 11:41:52 -07:00
Prathmesh Prabhu ff44a62eed
Bump ACS SDK versions for samples/Server (#215)
Calling samples are already using ACS SDKs version 1.0.0
This is a step in bring Chat samples to the same dependencies.
2021-05-06 17:11:50 +00:00
James Burnside a7430c9527
Update storybook snippet imports to point to @azure/communication-react (#219) 2021-05-06 07:50:55 -07:00
alcail 9f88652ffb
Alcail/fix composite canvases (#213)
* remove visible container from composite canvases

* update composite canvas container to be consistent

* update storybook snapshot
2021-05-05 21:09:54 +00:00
James Burnside 6dd6aeb425
Create @azure/communication-react meta package (#211) 2021-05-05 20:28:58 +00:00
Prathmesh Prabhu 427648c23c
Flatten story hierarchy for simple stories (#208)
Many components have a single story. Instead of adding a folder with a single story, the story is now hoisted to an item in the containing folder.

Storybook avoids creating the extra folder as long as there is only one named export from the component module, and the name matches the content path for the story.
2021-05-05 18:50:59 +00:00
mgamis-msft 08fc8fbca3
Temporary contoso fix for typing indicator to go away with timeout (#201)
* temporary contoso fix for typing indicator for sample chat

* Change files

* comment edit

* comment edit 2
2021-05-05 11:14:21 -07:00
Prathmesh Prabhu 38abd69468
Add storybook pages for Camera and ScreenShare buttons (#206) 2021-05-05 10:00:34 -07:00
alcail ff9617d93c
fix GroupCallLeaveButton style (#205)
* fix GroupCallLeaveButton style

* Change files
2021-05-05 16:18:49 +00:00
James Burnside c590ee0904
Create react-composites package and update component package name from @azure/communication-ui to react-components (#188) 2021-05-05 07:44:08 -07:00
allenplusplus b8b5439dd3
Surface userId and displayName in Calling Declarative state (#200)
* Add ability to retrieve userId and displayName in Calling Declarative

* Change files

* Fix build break

* Fix build break

* Change files

* Address code review comments
2021-05-04 19:16:45 -07:00
allenplusplus e476866319
Calling Declarative Transcription Notice (#190)
* Add CallingDeclarative transcription

* Add unit tests

* Change files

* Revise changelog message

* Address code review comments

* Fix build break

* Fix comment broken by merge

* Update api doc
2021-05-04 18:21:42 -07:00
Anjul Garg 6168a8007a
Task/2426782 2426783 call control handlers selectors (#203)
* [#2426782] Initial handlers for call controls

* [#2426782][#2426783] Handlers and Selectors for Call Controls

* [#2426782][#2426783] Memoizing createDefaultHandlersForComponent

* [#2426782][#2426783] Renaming videoButtonSelector to cameraButtonSelector

* Change files

* Update rush changelog

* [#2426782][#2426783] Updating API signature

* [#2426782][#2426783] Updating handlers

* [#2426782][#2426783] Restructuring handlers into one unified memoized function
2021-05-04 21:06:04 +00:00
alcail 4a99ce8b5a
add OptionsButton to ControlBar buttons (#204)
* add  OptionsButton to ControlBar buttons

* Change files

* remove unnecessary Stack and fix doc quote issue

* address review comments

* address review comments
2021-05-04 20:42:53 +00:00
allenplusplus 63a35955ed
Calling Declarative Recording Notice (#194)
* Add recording notice to Calling Declarative

* Change files
2021-05-04 11:30:38 -07:00
alcail f0f0b1ea0e
Alcail/control bar btn docs - MicrophoneButton (#198)
* add MicrophoneButton documentation

* Change files

* fix quote issue in docs

* move MicrophoneButton docs under ControlBar folder

* flatten Buttons hierarchy under ControlBar
2021-05-04 16:41:13 +00:00
Prathmesh Prabhu 7e12a79f24
Fix lobby video button (#196)
Missed some references to removed props constant from #191
2021-05-04 16:11:27 +00:00
alcail 4d9c33aeb4
Alcail/end call component (#197)
* add EndCallButton to replace hangup DefaultButton

* add styles concatenation to Camera + Microphone

* update EndCallButton default styles name

* fix releasing issues

* Change files

* fix lint issues

* fix EndCallButton styles for CallControl component

* use of cont for Styles of ControlBar buttons

* add styles merging for label default render
2021-05-03 15:14:41 -07:00
Dominik 28d4737f34
New tool to check dependencies for optimal treeshaking (#199)
* New tool to check dependencies for optimal treeshaking

* update pnpm-lock.yaml

* Change files

* address comments, remove beachball for package
2021-05-03 11:34:56 -07:00
Prathmesh Prabhu 77704d8977
Extract Screenshare button (#195) 2021-05-03 10:13:13 -07:00
Anjul Garg 50d5f7dffc
Adding custom palette color and fixing lobby example theming (#169)
* Adding custom palette color and fixing lobby example theming

* Change files

* Removing custom palette logic and using standard color for lobby tint based on new figma designs
2021-04-30 18:22:59 +00:00
Prathmesh Prabhu 6e0f18817b
Extract camera button component (#191) 2021-04-30 00:56:57 +00:00
alcail 60169e71d7
Alcail/mute button component (#189)
* fix respective message container styles

* add  AudioButton to replace audio DefaultButton

* Change files

* fix lint errors and warnings

* Rename AudioButton to MicrophoneButton

* update changelog
2021-04-29 22:54:20 +00:00
Porter Nan dd07aaa851
Add useProps and getSelector (#166)
* Add useProps and getSelector
getSelector get the right selector for component
useProps merge 2 function calls together

* Change name to usePropsFor

Co-authored-by: Nan Jiang <jinan@microsoft.com>
2021-04-29 14:26:50 -07:00
allenplusplus 183b26ff19
Calling Sample migration setup (#187)
* Add callClientDeclaratify to CallingProvider

* Add useSelector and useHandler for Calling

* Change files

* Fix pnpm-lock.yaml

Co-authored-by: Anjul Garg <anjulgarg@live.com>
2021-04-29 13:39:11 -07:00
mgamis-msft 15d4c9004a
TypingIndicator empty display name fix (#168)
* Fix typing indicator selector

* Change files

* not defaulting displayName to 'unknown'

* ignoring typing users with no display name

* fixed changelogs

* fixed logic
2021-04-29 02:59:32 -07:00
James Burnside 66820ff5cc
Refactor SwitchableFluentThemeProvider: Remove THEMES singleton and refine exports (#186) 2021-04-28 20:05:33 -07:00
James Burnside 3488020641
Fix: telemetry instrumentation key not picked up in storybook build task (#185) 2021-04-28 14:26:03 -07:00
Anjul Garg aad377cccc
Bug/2432257 - TopicName Bug Fixes (#183)
* [#2432257] Bugfix around topicname.

* [#2432257] Bugfix around topicname.

* [#2432257] Bugfix around topicname.

* [#2432257] Bugfix around topicname.
2021-04-28 11:20:57 -07:00
alcail b71e443023
Alcail/bug fixing (#180)
* use same ConnectionString string for all stories

* remove Component string to OneToOneCallComposite

* update composite common ConnectionString string

* fix missing Composite ConnectionString strings

* update storybook snapshot

* removed double negation

* addressing PR comments

* updating storybook snapshot
2021-04-28 16:18:51 +00:00
Prathmesh Prabhu 59e0bb2084
Fix sample README links (#182) 2021-04-28 04:16:13 +00:00
allenplusplus fecd45a719
Add initial base selector and handler for calling (#179)
* Add initial calling handler selector package setup

* Change files

* Add initial selector and handler

* Change files

* Fix lint

* Address code review comments

* Add initial exports and documentation
2021-04-27 19:31:51 -07:00
Prathmesh Prabhu 82250083c2
Add example of Teams interoperation (#172)
Add an example for how an application might show a banner when a Teams call is being recorded or transcribed.
2021-04-27 16:28:50 -07:00
Eason f32d1a3d46
Fix removed participant still in chat issue (#178)
* fix removed participant still in chat issue

* update dependency array

Co-authored-by: Eason Yang <easony@microsoft.com>
2021-04-27 22:26:38 +00:00
mgamis-msft b82c9617d1
Custom theme tool in storybook. ControlBar theming remap when dark and floating. (#175)
* ControlBar boolean prop added to remap background if floating layout and dark theme is used.

* using neutralQuaternaryAlt for floating dark ControlBar. polished off Calling composite.

* storybook tests updated

* removed unused import

* updated storybook tests

* updated storybook tests

* revert Lobby story changes

* MediaGallery video hints no longer using getTheme

* updated storybook tests

* revert Lobby story changes

* updated storybook tests

* Custom theme tool added to storybook

* fixed background color logic for ControlBar story

* wrote function to check if theme is dark in ControlBar

* if fluentTheme is not provided or if palette property is missing then default to light theme

* JSON validation now accepting palette object only

* added back telemetry

* updated pnpm-lock.yaml

* proper merge of package json with main

* getPerceptualBrightnessOfHexColor refactored

* Logging to console if theme JSON cannot be parsed

* moved isDarkThemed function to themeUtils

* remove WithTheme file
2021-04-27 15:05:45 -07:00
Eason edb4828cac
Clean up states, hooks and mappers in chat (#176)
* clean up states, hooks and mappers in chat

* Change files

* add prefetch participants list

* fix dependency circle

* update imports to the chat thread helper in samples

Co-authored-by: Eason Yang <easony@microsoft.com>
2021-04-27 21:17:55 +00:00
mgamis-msft 3a517bbf16
MessageThread link theming fix (#177)
* Using FluentUI Link in Chat Message to style links

* Change files
2021-04-27 10:42:43 -07:00
ddematheu2 d41ad8b1d1
Improvements to introduction and usecase docs (#174) 2021-04-26 20:35:20 +00:00
Anjul Garg a6c5a52f2f
Task/2403313 Improves VideoTile and GridLayout Storybook Docs (#171)
* [#2426485] initial docs for selectors

* [#2426485] Initial docs for chat declarative

* [#2426485] Improving docs

* Update packages/storybook/stories/StatefulChatSDK/ChatSDKIntroduction.stories.mdx

Co-authored-by: Dominik <domessin@microsoft.com>

* Update packages/storybook/stories/StatefulChatSDK/ChatSDKIntroduction.stories.mdx

Co-authored-by: Dominik <domessin@microsoft.com>

* Update packages/storybook/stories/StatefulChatSDK/ChatSDKIntroduction.stories.mdx

Co-authored-by: Dominik <domessin@microsoft.com>

* Update packages/storybook/stories/StatefulChatSDK/ChatSDKIntroduction.stories.mdx

Co-authored-by: Dominik <domessin@microsoft.com>

* [#2426485] Improving docs based on suggestion on PR

* [#2426485] Improving docs based on suggestion on PR

* [#2426485] Improving docs based on suggestion on PR

* naming tweaks

* [#2426485] Improving docs based on PR suggestions

* [#2403313] Improving docs for VideoTile and GridLayout

* [#2403313] Improving docs for VideoTile and GridLayout

* Updating snapshot

* updating snapshot

Co-authored-by: Dominik <domessin@microsoft.com>
2021-04-26 17:31:43 +00:00
allenplusplus 876a3aad94
Initial calling handler selector package setup (#170)
* Add initial calling handler selector package setup

* Change files
2021-04-23 18:34:35 -07:00
James Burnside 8dc0813a22
remove react plugin (#173) 2021-04-23 17:59:50 -07:00
James Burnside a874dcb3b6
Add application insights and cookie banner to Storybook (#155) 2021-04-23 14:27:08 -07:00
James Burnside 430c147a54
update new codeowners (#167) 2021-04-23 20:45:25 +00:00