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

docs(calling): improve samples UI. add back getDevice #3092

Merged

Conversation

rajeshtezu
Copy link
Contributor

@rajeshtezu rajeshtezu commented Sep 15, 2023

COMPLETES #< SPARK-458857 >

This pull request addresses

  • Updated the samples page with improved UI

by making the following changes

Before

Screenshot 2023-09-20 at 3 18 36 PM Screenshot 2023-09-20 at 3 18 49 PM Screenshot 2023-09-20 at 3 19 06 PM Screenshot 2023-09-20 at 3 19 20 PM Screenshot 2023-09-20 at 3 19 34 PM Screenshot 2023-09-20 at 3 19 45 PM

After

screencapture-localhost-8000-samples-calling-2023-09-23-10_58_06

Change Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Tooling change
  • Internal code refactor

The following scenarios where tested

< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >

I certified that

  • I have read and followed contributing guidelines

  • I discussed changes with code owners prior to submitting this pull request

  • I have not skipped any automated checks

  • All existing and new tests passed

  • I have updated the documentation accordingly


Make sure to have followed the contributing guidelines before submitting.

@rajeshtezu rajeshtezu requested a review from a team as a code owner September 15, 2023 13:56
@rarajes2 rarajes2 added the validated If the pull request is validated for automation. label Sep 15, 2023
@rarajes2 rarajes2 marked this pull request as draft September 15, 2023 14:04
Copy link
Contributor

@karthikraji2020 karthikraji2020 left a comment

Choose a reason for hiding this comment

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

could you add a screenshot like before and after code changes format ?

}

.docs {
overflow: auto;
height: 98vh;
max-width: 1400px;
Copy link
Contributor

Choose a reason for hiding this comment

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

can we convert this px value to ``rem value here ?
replace to
max-width: 87.5rem

Copy link
Contributor

Choose a reason for hiding this comment

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

Done

select {
padding: 0 0.5rem;
height: 1.75rem;
border-radius: 4px;
Copy link
Contributor

Choose a reason for hiding this comment

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

can we use rem value here as well ?

Copy link
Contributor

Choose a reason for hiding this comment

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

We should not change border radius if the root font-size changes.

}

section {
background-color: #fff;
padding: 1rem;
margin-bottom: 2rem;
margin-bottom: 1.5rem;
border-radius: 8px;
Copy link
Contributor

Choose a reason for hiding this comment

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

Here as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

@rajeshtezu rajeshtezu force-pushed the calling-sample-improvement-SPARK-458857 branch 2 times, most recently from 6abb36e to b4387db Compare September 20, 2023 09:46
@rarajes2 rarajes2 marked this pull request as ready for review September 20, 2023 09:54
@rajeshtezu rajeshtezu force-pushed the calling-sample-improvement-SPARK-458857 branch from b4387db to f409589 Compare September 20, 2023 13:57
packages/webex/src/calling.js Outdated Show resolved Hide resolved
docs/samples/calling/index.html Outdated Show resolved Hide resolved
docs/samples/calling/index.html Outdated Show resolved Hide resolved
docs/samples/calling/index.html Outdated Show resolved Hide resolved
docs/samples/calling/app.js Show resolved Hide resolved
docs/samples/calling/app.js Outdated Show resolved Hide resolved
@rajeshtezu rajeshtezu force-pushed the calling-sample-improvement-SPARK-458857 branch from f409589 to 4a21c48 Compare September 22, 2023 06:03
Copy link
Contributor

@Kesari3008 Kesari3008 left a comment

Choose a reason for hiding this comment

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

Found few issues while testing, please fix those and code should be good for approval

docs/samples/calling/index.html Outdated Show resolved Hide resolved
docs/samples/calling/index.html Outdated Show resolved Hide resolved
docs/samples/calling/index.html Show resolved Hide resolved
docs/samples/calling/index.html Show resolved Hide resolved
@rajeshtezu rajeshtezu force-pushed the calling-sample-improvement-SPARK-458857 branch 2 times, most recently from cd9c3d9 to 78e9ba9 Compare September 23, 2023 05:27
Copy link
Contributor

@karthikraji2020 karthikraji2020 left a comment

Choose a reason for hiding this comment

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

Code Changes LGTM

@rajeshtezu rajeshtezu force-pushed the calling-sample-improvement-SPARK-458857 branch from 78e9ba9 to 95dcd93 Compare September 25, 2023 05:06
@rarajes2 rarajes2 merged commit fda9674 into webex:next Sep 25, 2023
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
validated If the pull request is validated for automation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants