Skip to content

1.3.1

Latest

Choose a tag to compare

@mohammad425 mohammad425 released this 19 Oct 15:54
ca3392a

Built and verified locally, since GitHub Actions is not running jobs for this account (billing). The package follows deploy.yml step for step.

After updating from 1.3.0, activate the plugin again

The plugin's main file is now searcio.php, the name wordpress.org gives it (searcio/searcio.php). WordPress finds a plugin by its main file, so after the update it shows Searcio as inactive under Plugins. Activate it there.

  • The settings, the sync history and the connection stay.
  • Nothing has to be synced again.

What changed

  • The plugin calls itself Searcio everywhere. That covers the admin menu, the settings screen, "Connect to Searcio", the "Searcio Search" and "Searcio Products" blocks and Elementor widgets, the Elementor category, Site Health, the WP-CLI help, the readmes and all seven translations. Before, these still said webhead Search Cloud or Search Cloud.
    • The slug, the text domain and searcio.com stay searcio.
    • The options, the REST routes, the admin page, the block names and wp webhead-search-cloud keep their names.
  • A post's excerpt on a search result ends at a whole word, with "…" when it was shortened. Before, it stopped in the middle of a word.
  • The product finder counts only the questions on the visitor's own path. A quiz with branches no longer says "Question 1 of 3" when two questions are all there is.
  • The camera button for search by photo lines up with the icons beside it.
  • In the block editor, the size sliders of the search block's Styles tab have space between them.
  • On the Search Config tab:
    • the AI search index status lines up with its description;
    • each type boost is named by its content type.
  • The plugin's link in the plugin list goes to its page on wordpress.org, https://wordpress.org/plugins/searcio/.
  • The repository is https://github.com/webhead-GmbH/searcio.
  • The screenshots for wordpress.org show all of the above.

Merged in #32, #33, #34, #35 and #36.


Package: searcio-1.3.1.zip, built from the merge commit ca3392a with one composer install, npm ci and npm run build.

  • Size and layout: 1.26 MB zipped, 5.15 MB installed, 304 files. searcio/ is the only root folder; LF line endings, no hidden file, no vendor, no composer.json.
  • Its public/ is byte-identical to the build the end-to-end tests and the screenshots used.

Clean site: WordPress 7.1 with WooCommerce, Elementor and WP_DEBUG_LOG on, served on PHP 8.3.

  • Update from 1.3.0. 1.3.0 was installed and activated and a setting saved; 1.3.1 then went over it. WordPress showed the plugin inactive and did not load it. Activating it again brought back the saved setting and both tables, and recorded 1.3.1 as the installed version.
  • What it registers:
    • header "Searcio - Fast AI Product Search for WooCommerce" with the wordpress.org Plugin URI;
    • 15 REST routes, the 3 capabilities, both tables and the daily sync;
    • both blocks, as "Searcio Search" and "Searcio Products", and both Elementor widgets under the same titles;
    • Site Health checks labelled "Searcio …".
  • Translations: all seven languages load from the installed folder, with 28 script translations.
  • Front end: the search block renders over HTTP and loads its script and styles from searcio/public.
  • Deactivate and uninstall: deactivating unschedules the daily sync. Uninstalling keeps the settings and tables (the default).
  • Debug log: the only entries are WooCommerce's and Elementor's own notices.
  • Plugin Check: no error in the plugin's own code, and the same known warnings as before: block render.php locals and the WPML hook names. The rest is in the bundled framework autoloader and League code.

Tests:

  • Unit 159 and Jest 307, on the code of ca3392a.
  • Integration 280 and multisite 280, on PHP 8.3 with WordPress 7.1, WooCommerce and Elementor, with the plugin in a searcio/ folder. They ran on #33; #34 to #36 changed no PHP.
  • End-to-end, desktop Chrome:
    • Settings screen, the five tabs, Searcio logo, upgrade button and Elementor widget: 49 tests, on #32.
    • Block styles, Search Config, product finder, filters, search by photo and settings screen, on #36's build.
    • Each new test fails on the code before its fix.
  • In a browser, all eight languages on the demo shop, on the build of #33:
    • no JavaScript error;
    • no text running out of its button, tab or chip;
    • no old or lower-case name on any screen;
    • the only English left is WordPress, WooCommerce and shop data.

All passing.