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

🗑️ Remove Disqus widget #1640

Merged
merged 6 commits into from
Nov 13, 2024
Merged

🗑️ Remove Disqus widget #1640

merged 6 commits into from
Nov 13, 2024

Conversation

babakamyljanovssw
Copy link
Member

As Giscus are live for 1 week already and we are not seeing any issues with it, we can safely remove Disqus widget.

This pull request removes the Disqus integration from the project. The changes span across configuration files, component files, and style files to fully eliminate Disqus references and dependencies.

Removal of Disqus Integration:

  • .env.template: Removed DISQUS_FORUM and DISQUS_API_KEY environment variables.
  • .github/workflows/template-build.yml: Removed DISQUS_FORUM and DISQUS_API_KEY from the GitHub Actions workflow.
  • gatsby-config.js: Removed the gatsby-plugin-disqus plugin configuration.
  • package.json: Removed gatsby-plugin-disqus from dependencies.

Component Updates:

  • src/components/comments/comments.js: Removed the Comments component which utilized Disqus.
  • src/components/disable-disqus-privacy/disable-disqus-privacy.js: Removed the DisableDisqusPrivacy component which wasn't used before.
  • src/components/discussion/discussion.js: Here I removed explicit header "✨ Giscus comments" as we will have only one commenting system from now on.
  • src/templates/rule.js: Removed the Comments component from the rule template.

Style Cleanup:

  • src/style.css: Removed Disqus-specific styles.

@babakamyljanovssw babakamyljanovssw merged commit 355ebc3 into main Nov 13, 2024
5 checks passed
@babakamyljanovssw babakamyljanovssw deleted the disable-disqus branch November 13, 2024 06:50
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