-
Notifications
You must be signed in to change notification settings - Fork 355
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(samples): add API reference and Kitchen Sink for Presence #3551
Conversation
padding: 0; | ||
background-color: #eee; | ||
font-family: sans-serif; | ||
font-size: 15px; |
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.
By default we should use 16px
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.
Fixed
font-size: 15px; | ||
} | ||
|
||
video { |
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.
We don't have any video element so, we can remove this
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.
Removed
button.btn--green:disabled, input[type="button"].btn--green:disabled{ | ||
opacity: .5; | ||
} | ||
button.btn--red, input[type="button"].btn--red { |
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.
Let's add a new line between all the css selectors (individual or composite)
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.
fixed
@@ -31,7 +31,8 @@ | |||
"@webex/test-helper-test-users": "workspace:*", | |||
"eslint": "^8.24.0", | |||
"prettier": "^2.7.1", | |||
"sinon": "^9.2.4" | |||
"sinon": "^9.2.4", |
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.
We should remove the caret from existing dependencies as well.
cc- @Shreyas281299
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.
I've made the versions constant
margin-left: 1rem; | ||
} | ||
|
||
.ServiceData{ |
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.
class name should be kebab-case
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.
Removed this class as it's not needed
border-bottom: 0.125rem solid #009879; | ||
} | ||
|
||
#transfer-options { |
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.
If possible, let's avoid id selector
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.
Removed this class as it's not needed
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.
LGTM
|
||
.styled-table th, | ||
.styled-table td { | ||
padding: 1.25rem 1.25rem; |
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.
this is still same
COMPLETES #SPARK-492000
This pull request addresses
by making the following changes
docs/samples
folder for presence which fulfills the requirements for the Jira.typedoc
package to@webex/plugin-presence
and modifiedtsconfig.json
to generate the API reference documents for presence.Change Type
The following scenarios were tested
API Reference walkthrough:
https://github.com/webex/webex-js-sdk/assets/131740035/a17bf88e-236d-4e9c-9735-128614b21b2b
Kitchen sink walkthrough:
https://github.com/webex/webex-js-sdk/assets/131740035/c724c5e8-250d-46fe-acd9-0fcce144be1c - Part 1
https://github.com/webex/webex-js-sdk/assets/131740035/135dc844-bc12-4d0a-8943-b30ed1828074 - Part 2
Setting presence status for self:
https://github.com/webex/webex-js-sdk/assets/131740035/09b2d238-189d-4ac7-8ea4-eef8fa4a8d02
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.