Commit Graph
40 Commits
Author SHA1 Message Date
bachirandClaude Opus 5.5 1e882d5bda Search texts and states, help tooltip, wider field (F4)
materio_sapi: result messages with real plurals; without any exact
match the results are called close (the neighbour search always finds
some). Former help sentence of the base page kept, French corrected.
Messages in SearchMessage, unit tested; French added by update 11002.

materiotheme: placeholder "Describe the material you are looking for",
wider search field, "?" button with a help tooltip and clickable
examples, "Loading…", "End of results"; texts in vuejs/i18n/search.js.
Page title "Base" restored without a search (keys is an array, test its
length).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-23 16:44:28 +01:00
bachirandClaude Opus 5.5 f7eb6518e7 materiotheme: suggestions in the search field, ARIA combobox (F7)
Tags and thesaurus terms suggested on the first two words, from the
existing autocomplete route. Arrow keys, Enter, Escape and click; a
suggestion searches that term alone. Number of suggestions announced to
screen readers (fr/en texts in the component). Same translucent look as
the former jQuery UI list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-23 15:57:19 +01:00
bachirandClaude Opus 5.5 fca4be3155 Remove the former search form, filters and SlimSelect (F2)
- materio_sapi: MaterioSapiSearchForm, AjaxSearchForm and the
  /materio_sapi/search_form route removed, with the fieldset legend hook
  they needed. The search block is only the place where the Vue field
  mounts (placement and access unchanged).
- materiotheme: filters removed from the search store and Base.vue (the
  parameter of former URLs is ignored), formhtml removed from main.js and
  SearchBlock.vue, filter styles and SlimSelect import removed.
- slim-select uninstalled, with its postinstall patch step.
- Production build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-17 21:11:18 +01:00
bachirandClaude Opus 5.5 b73057f453 materiotheme: search field as a Vue form, one phrase (F1)
- SearchForm.vue: one search field (150 characters, like the backend) and
  a button; Enter and button submit the same way; route base with keys
  only (no more terms nor filters). Same ids and classes as the former
  Drupal form, so main.scss applies.
- SearchBlock.vue: no more fetching nor Vue.compile of the Drupal form.
- Base.vue: aria-live on the result message, announced by screen readers.
- Production build (npm run prod).

Suggestions in the field come back in F7 (they came from the jQuery UI
autocomplete of the Drupal form).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-17 20:50:21 +01:00
bachir 2f5a230370 SearchForm: fix inconsistent/mixed search results
- SearchForm.vue: route Enter key through submit() (native form submit
  interception) so it behaves like the button; fix autocomplete array
  mutation during iteration in the typed watcher.
- Base.vue: parse terms consistently in beforeRouteUpdate; render items
  via displayedItems (drops sparse holes); only mount infinite-loading
  after the first page and reset it per search via :identifier.
- search store: guard against stale async responses (searchId); place
  each page at its offset instead of concatenating in arrival order,
  which mixed pages when a later page resolved first.
2026-07-15 21:11:53 +02:00
bachir 07ae40d703 SearchformVue e.selected bug fix (slim-select filters) 2025-04-28 17:38:15 +02:00
bachir e8a7c0d190 included glitchtip/sentry 2025-03-21 14:27:08 +01:00
bachir de89f29915 search form micro fixe (comma alone) 2022-09-13 12:40:32 +02:00
bachir 40b7e75d44 #1906, click on header menu base reset search 2022-09-13 11:26:34 +02:00
bachir db6a82f7f7 1906 FIX search form autocomplete multi terms 2022-08-15 16:57:57 +02:00
bachir d1b4902aa3 #1906 serach form autocmplete multi terms 2022-08-12 17:00:49 +02:00
bachir 72cc12b49b fixed register modal form submit disabled 2022-02-22 10:11:14 +01:00
bachir 618893dda2 fixed ajax register modal form 2022-02-22 09:46:45 +01:00
bachir 9f1e3c4f76 fixed filters in search 2021-10-27 18:01:57 +02:00
bachir a352b9745b added session_limit, adapted ajax calls (axios interceptor) in theme 2021-09-16 21:40:18 +02:00
bachir 352223500f add to cart links for products in home 2021-06-09 13:06:52 +02:00
bachir efc74ec5f4 translated all loading… 2021-06-01 22:46:15 +02:00
bachir 370494499a pricing login/register translation 2021-06-01 22:01:46 +02:00
bachir a36c19b21a toggle search filers display 2021-05-19 18:21:29 +02:00
bachir 8008217444 search filters ok, to be improved on results pertinance 2021-04-05 12:45:58 +02:00
bachir fd8237037a started advanced search UI 2021-04-02 16:35:29 +02:00
bachir 3042f97b29 fixed all eslint errors and warning, compiled as PROD 2021-03-31 18:42:05 +02:00
bachir d72e102cc5 responsive: base ok 2021-03-30 15:42:40 +02:00
bachir 5ec39a5f0a fixed registerform loading bug 2021-03-09 17:03:38 +01:00
bachir 602753c775 fixed searchform bug 2021-03-01 16:41:51 +01:00
bachir 30998980ca bug fix: sapi search form: term from autocomplete was not cleaned when typed was changing in field 2021-02-24 15:33:27 +01:00
bachir 4e6ccb23dc added failed login for register form 2021-01-28 12:26:27 +01:00
bachir e65dfeb5b5 added login failed message (remains register message); installed flood_control contrib module 2021-01-27 22:49:52 +01:00
bachir 02c983e7e0 refactored checkout workflow with stripe 2021-01-11 21:16:42 +01:00
bachir d5a6194727 handeled login or register from a modal, YES git status 2019-10-07 15:54:03 +02:00
bachir 6598b88945 loading and displaying real login form and register form from drupal 2019-10-06 21:32:46 +02:00
bachir 88dc7b7ea4 added image search button, added image loader to webpack 2019-06-17 14:07:27 +02:00
bachir a771fd9d74 made card image switcher 2019-06-11 18:04:46 +02:00
bachir 01cee3ba8a loaded materials form solr with jsonapi, and display them 2019-06-10 18:30:48 +02:00
bachir f0120ba10b fixed webpack prod, fixed language prefix negociation in vue-router 2019-06-06 17:37:43 +02:00
bachir 082e011fbb handled home loading if not available in dom (if drupalSettings.path.isFront == false) 2019-06-04 22:38:44 +02:00
bachir d8e5f93c14 drafted router with vue-router, drafted search results display page 2019-06-03 13:06:44 +02:00
bachir 7f65fd79a4 drafted ajax search call 2019-06-01 16:15:08 +02:00
bachir d21bd5ef4e refactored user blocks using ajax loaded drupal's html as template for vue 2019-05-31 23:05:37 +02:00
bachir a48b7262eb drafted materio_sapi search block vue integration 2019-05-31 15:01:54 +02:00