Commit Graph
213 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 54e7e28046 materiotheme: tab title from the search, safe terms of old URLs (F3)
- Base.vue: the browser tab shows the phrase searched (vue-meta), « Base »
  without a search.
- terms of an old or edited URL parsed without throwing: malformed JSON
  is ignored.
- Production build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-17 21:14:09 +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 5846e0f4d3 empty flag dossier name fix 2026-11-11 18:00:44 +01:00
bachir 62c814d57d Drupal from 10.6.17 to 11.4.7 2026-09-26 01:10:59 +02: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 81ab0ccfd7 fixed user logout bug 2024-10-19 22:29:49 +02:00
bachir 78a94ed058 fixed #1989, login block hover on ipad 2022-10-31 11:10:51 +01:00
bachir 306c0d3f94 lightbox switching (modal cards) fix 2022-09-19 16:20:38 +02:00
bachir 9f20d34f42 refactored showrooms page 2022-09-19 15:58:11 +02:00
bachir 2e3612badc fixed blabla lightbox #1969 2022-09-19 11:25:38 +02: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 d614a1cf7a fixed samples in modal card from linked material #1706 2022-04-20 16:02:50 +02:00
bachir 9d6f19eeaf switched to new commerce product type with mutliple variation types 2022-03-15 14:55:21 +01:00
bachir fc1124b696 replaced email by user name in header's user tools 2022-03-12 21:57:35 +01:00
bachir d9e5749f39 display name when available instead of email in header 2022-03-08 22:46:14 +01:00
bachir 6351fd5825 some code cleaning trying to resolve thematique not loading on prod 2022-03-08 14:30:49 +01:00
bachir af3eff0333 removed circular reference to modalCard from linkedMaterialCard 2022-03-08 14:28:37 +01:00
bachir 407c430b94 Merge branch 'prod' 2022-03-07 14:34:21 +01:00
bachir ecf963bb62 added phone and country to company display 2022-03-07 14:28:04 +01:00
bachir 00a19835ae hide distributor or manufacturer if empty on modal card 2022-02-25 17:14:18 +01:00
bachir 99384d32c4 fixed coollightbox 2022-02-22 13:43:18 +01:00
bachir 96b343b246 fixed gql api file: ->url() replaced by ->createFileUrl() 2022-02-22 11:04:16 +01:00
bachir f7657c296e fixed pricing new registered user redirection to checkout 2022-02-22 11:02:48 +01: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 08fbc7359d bugfix shortUrl replace of null 2021-11-23 10:47:38 +01:00
bachir 9f1e3c4f76 fixed filters in search 2021-10-27 18:01:57 +02:00
bachir c5fe8c0c92 populating search form filters value from url query params 2021-10-27 15:45:21 +02:00
bachir 48292c4f81 js test with axios interceptors 2021-09-21 11:05:29 +02:00
bachir a352b9745b added session_limit, adapted ajax calls (axios interceptor) in theme 2021-09-16 21:40:18 +02:00
bachir d26e21b5a5 replaced samples icon by mdi-map-marker 2021-09-16 13:04:37 +02:00
bachir eed9c57c0b added website to showromms #1374 2021-09-03 11:06:09 +02:00
bachir 9b49e1bf20 fixed unallowed cards access for free users 2021-09-03 10:39:00 +02:00
bachir a535a2e3cf reload on login for compatibility with autologout 2021-09-02 15:09:35 +02:00
bachir bc16158162 prevent user to create noname flagcolls and force uniqness name by user scope 2021-09-01 00:31:15 +02:00
bachir 12f7bacc26 fixed material print link in modalcard 2021-08-24 22:36:42 +02:00
bachir 1298db7da0 removed flags for non adherent users 2021-08-05 22:39:38 +02:00
bachir c799d62969 fixed showroom duplicate 2021-08-05 12:22:57 +02:00
bachir 2305b7529e fixed mail link in showrooms 2021-08-05 12:07:09 +02:00
bachir cc9ceede26 fixed card image switcher on chrome 2021-08-05 11:13:22 +02:00
bachir ee60bb2255 bug fix white img from right on cards on ff 2021-08-05 10:59:11 +02:00
bachir 34b3823649 fixe image switcher bug on left (delta = -1) 2021-08-05 00:18:26 +02:00