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

feat(react-sdk)!: Visual redesign of the SDK and Demo App #1194

Merged
merged 351 commits into from
Feb 26, 2024
Merged

Conversation

zwaardje
Copy link
Contributor

@zwaardje zwaardje commented Nov 17, 2023

Overview

Implements the new styling for our SDK-provided components.

Changes

Styling

  • New global variables like spacing, font-size, colors, button states etc, have been added. The old variables are still available.
  • Major style changes have been made to the following items: Callstats, Device settings, Buttons, Particpant layout
  • Icons have been updated and added

Components

Button

CompositeButton.tsx

  • ToggleMenuButton prop has been added by default DefaultToggleMenuButton
  • The composite buttons has an optional variant primary and secondary to indicate a primary and secondary active state of the button
  • An active class has been added to the DefaultToggleMenuButton.

Call controls

  • The default caption value has been removed
  • A title has been added to the buttons
  • Some buttons have been provided a variant prop
  • CallStats button has been replaced with Reactions button

CancelCallButton.tsx

  • A cancel call confirmation button is added to allow the user end the call for all participants or leave the call.

ToggleAudioButton.tsx

  • A default permission state has been added to indicate that the browsers audio permissions have not been granted

ToggleVideoButton.tsx

  • A default permission state has been added to indicate that the browsers camera permissions have not been granted

ReactionsButton.tsx

  • Added a layout prop horizontal or vertical defaults to horizontal

RecordCallButton.tsx

  • An end recording confirmation button component has been added. To display a confirmation modal to the user either continue the recording or cancel it

Other

CallParticipantsList.tsx

  • Removed the copy url button invite new participants
  • Removed other related invite functionality

CallRecordingListHeader

  • Put the refresh functionality to optional

CallStats.tsx

  • The stats are defined with a lowBound (default 75) and a highBound (default 400) prop to indicate what you think is an acceptable latency.

DropdownSelect.tsx

  • Added a dropdown selector used in the device settings

Icon.tsx

  • Added a className prop to icon

MenuToggle.tsx

  • Ability to choose between to visual types portal or menu to display the MenuToggle.

Notification.tsx

  • Added a close prop so a notification can be closed by the user

RecordingInProgressNotification.tsx

  • Added a notification that can be used to be displayed when a recording is in progress

DefaultVideoPlaceholder

  • Added an initials fallback

oliverlaz added a commit that referenced this pull request Dec 1, 2023
As we are preparing to roll out a redesigned Pronto / Dogfood app for
internal purposes, we'd like to keep the existing app as a backup.
For that purpose, we've created a new project on Vercel
(`stream-calls-dogfood-legacy`) that will host the current version and
design of Pronto.

Soon, the existing domains `https://pronto.getstream.io` and
`https://stream-calls-dogfood.vercel.app` will point to instances built
from the following branch #1194 (and `main` once the linked PR is
merged).

The legacy version will be available here:
`https://stream-calls-dogfood-legacy.vercel.app`
@oliverlaz oliverlaz changed the title feat(react-sdk): Visual redesign of the SDK and Demo App feat!(react-sdk): Visual redesign of the SDK and Demo App Feb 23, 2024
@oliverlaz oliverlaz changed the title feat!(react-sdk): Visual redesign of the SDK and Demo App feat(react-sdk)!: Visual redesign of the SDK and Demo App Feb 23, 2024
@oliverlaz oliverlaz marked this pull request as ready for review February 26, 2024 14:00
@oliverlaz oliverlaz merged commit c1c6a7b into main Feb 26, 2024
21 of 24 checks passed
@oliverlaz oliverlaz deleted the feature/WD-1079 branch February 26, 2024 14:10
oliverlaz added a commit that referenced this pull request Feb 27, 2024
As part of #1194, this application was merged with the one we use for
internal testing (react-dogfood). As we don't want to maintain this
codebase anymore, this PR removes the app's code.
We know some customers might have looked into it and that is why the
`react-video-demo` directory stays in the React sample apps. The Readme
is updated with a hint to look at the React Dogfood app instead.
oliverlaz added a commit that referenced this pull request Feb 28, 2024
…ons (#1275)

#1194 introduced a regression in our `<ToggleAudioOutputButton />` and
`<ToggleVideoPreviewButton />` and they rendered without their default menus.
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