Skip to content

Mod. PSCTab. Optimization of PSC tabs, filtering and search. - #706

Merged
AntonV1211 merged 6 commits into
devfrom
cache_sec_mod_tab_av
Aug 10, 2026
Merged

Mod. PSCTab. Optimization of PSC tabs, filtering and search.#706
AntonV1211 merged 6 commits into
devfrom
cache_sec_mod_tab_av

Conversation

@AntonV1211

Copy link
Copy Markdown
Contributor

@AntonV1211 AntonV1211 changed the title Cache sec mod tab av Mod. PSCTab. Optimization of PSC tabs, filtering and search. Aug 7, 2026
@AntonV1211
AntonV1211 requested a review from Copilot August 7, 2026 08:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the “Security Certified” (PSC) plugins tab to improve responsiveness by moving data loading to a local cache table and adding client-side UX features (filtering + search) while supporting incremental loading.

Changes:

  • Adds a new DB-backed cache for PSC-certified plugin cards/badges and warms it during activation and sync.
  • Reworks the PSC tab backend rendering/API to serve cached pages, “installed” filtering, and search results.
  • Updates the React UI to support filter links, search input, and improved infinite-scroll behavior + styling.

Reviewed changes

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

Show a summary per file
File Description
security-malware-firewall.php Adds a new table constant for PSC plugins cache.
lib/CleantalkSP/SpbctWP/VulnerabilityAlarm/SpbcPluginInstallListTable.php Reworks list table population to use cache + adds filter/search plumbing and session helpers.
lib/CleantalkSP/SpbctWP/VulnerabilityAlarm/PscCertifiedPluginsController.php Extends AJAX payload (filter/search/api offset) and renders new toolbar UI.
lib/CleantalkSP/SpbctWP/VulnerabilityAlarm/PscCertifiedPluginsCatalogScanner.php Extracts catalog parsing + WP.org normalization helpers for cache warming/enrichment.
lib/CleantalkSP/SpbctWP/VulnerabilityAlarm/PscCertifiedPluginsCacheRepository.php Implements CRUD/query operations for the PSC cache table.
lib/CleantalkSP/SpbctWP/VulnerabilityAlarm/PscCertifiedPluginsCache.php Implements cache warm-up, paging enrichment, installed filtering, and search.
lib/CleantalkSP/SpbctWP/VulnerabilityAlarm/PscCertifiedPluginsApi.php Adds app_status filtering and introduces fetchAll() helper.
lib/CleantalkSP/SpbctWP/Sync.php Adds a new sync step to warm the PSC cache.
lib/CleantalkSP/SpbctWP/Activator.php Warms PSC cache during plugin activation.
lib/CleantalkSP/SpbctWP/Deactivator.php Drops the new PSC cache table on deactivation cleanup.
lib/CleantalkSP/SpbctWP/DB/SQLSchema.php Adds schema definition for the new psc_plugins_cache table.
js/src/react/components/TabContent/TabSecurityCertified/TabSecurityCertified.js Adds filter/search UX, request de-duping, and updated infinite-scroll flow.
js/src/react/components/TabContent/TabSecurityCertified/styles.css Styles the new toolbar/search UI and empty results spacing.
js/public/spbct-react-bundle.js Updates the built bundle to reflect the React/CSS changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread js/src/react/components/TabContent/TabSecurityCertified/TabSecurityCertified.js Outdated
Comment thread lib/CleantalkSP/SpbctWP/VulnerabilityAlarm/SpbcPluginInstallListTable.php Outdated
Comment thread js/src/react/components/TabContent/TabSecurityCertified/TabSecurityCertified.js Outdated
@AntonV1211
AntonV1211 merged commit 5cb1cec into dev Aug 10, 2026
3 checks passed
@AntonV1211
AntonV1211 deleted the cache_sec_mod_tab_av branch August 12, 2026 05:58
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.

4 participants