Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add TS compatibility for DiscussionEmbedConfig interface for SSO - #137

#137
Merged
chrisjtang merged 1 commit into
masterdisqus/disqus-react:masterfrom
sso-embed-typescriptdisqus/disqus-react:sso-embed-typescriptCopy head branch name to clipboard
Oct 13, 2022
Merged

Add TS compatibility for DiscussionEmbedConfig interface for SSO#137
chrisjtang merged 1 commit into
masterdisqus/disqus-react:masterfrom
sso-embed-typescriptdisqus/disqus-react:sso-embed-typescriptCopy head branch name to clipboard

Conversation

@chrisjtang

@chrisjtang chrisjtang commented Oct 12, 2022

Copy link
Copy Markdown
Contributor

Description

This change includes typing for the DiscussionEmbedConfig interface to handle SSO properties.

Motivation and Context

The DiscussionEmbed component's SSO capabilities should be compatible with TypeScript.

How Has This Been Tested?

Tested on a Disqus-React repo running TS locally. Also tested with a Disqus publisher's config that is running TS (details in DSQDEV-2316). Previously, there were TS error messages being generated in the pub's config, but after this change, the error messages were no longer appearing.

Screenshots (if appropriate):

Types of changes

  • 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)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • All new and existing tests passed.

@chrisjtang chrisjtang self-assigned this Oct 12, 2022
@chrisjtang chrisjtang changed the title Add TS interfaces for DiscussionEmbedConfig for SSO Add TS compatibility for DiscussionEmbedConfig interface for SSO Oct 12, 2022
@chrisjtang
chrisjtang marked this pull request as ready for review October 13, 2022 18:05
@chrisjtang
chrisjtang requested a review from Hovspian October 13, 2022 18:05

@Hovspian Hovspian left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lgtm

@chrisjtang
chrisjtang merged commit 22cbc06 into master Oct 13, 2022
@chrisjtang
chrisjtang deleted the sso-embed-typescript branch October 13, 2022 20:48
This was referenced Sep 7, 2024
This was referenced Sep 17, 2024
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.