Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
: RemovedDISQUS_FORUM
andDISQUS_API_KEY
environment variables..github/workflows/template-build.yml
: RemovedDISQUS_FORUM
andDISQUS_API_KEY
from the GitHub Actions workflow.gatsby-config.js
: Removed thegatsby-plugin-disqus
plugin configuration.package.json
: Removedgatsby-plugin-disqus
from dependencies.Component Updates:
src/components/comments/comments.js
: Removed theComments
component which utilized Disqus.src/components/disable-disqus-privacy/disable-disqus-privacy.js
: Removed theDisableDisqusPrivacy
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 theComments
component from the rule template.Style Cleanup:
src/style.css
: Removed Disqus-specific styles.