Skip to content

Conversation

@basteez
Copy link

@basteez basteez commented Aug 2, 2025

This pull request includes changes to fix filter toggle logic in the FilterPanel component and updates the package.json scripts to address compatibility issues with OpenSSL. The most important changes are grouped below by theme.

Filter toggle logic fixes:

  • Updated the isChecked property for multiple switches in FilterPanel to correctly reflect the toggled state by negating the respective filter values (components/Tweaks/Filter/FilterPanel.tsx). [1] [2] [3] [4] [5]

Build script updates:

  • Added NODE_OPTIONS='--openssl-legacy-provider' to the dev, build, export, and start scripts in package.json to ensure compatibility with legacy OpenSSL versions (package.json).

Copilot AI review requested due to automatic review settings August 2, 2025 08:21
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request switches the filter behavior by inverting the checked state of filter switches and adds Node.js legacy OpenSSL provider options to all npm scripts.

Key Changes:

  • Inverted the isChecked property for all filter switches (orphans, dailies, noter, filelessCites, bad)
  • Added NODE_OPTIONS='--openssl-legacy-provider' to all Next.js npm scripts

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 5 comments.

File Description
package.json Adds OpenSSL legacy provider options to Next.js scripts for compatibility
components/Tweaks/Filter/FilterPanel.tsx Inverts the checked state logic for all filter switches

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.

1 participant