From 17fabbbfc67166b74692a2c775e15d8f24d31714 Mon Sep 17 00:00:00 2001 From: Kout95 <65901733+Kout95@users.noreply.github.com> Date: Tue, 18 Jun 2024 12:11:58 +0200 Subject: [PATCH] feat: add search params in url (#142) --- frontend/public/off.html | 2 +- frontend/src/mixins/history.ts | 189 +++++++++++++++++++++++++++ frontend/src/mixins/search-ctl.ts | 173 +++++++++++++++++------- frontend/src/search-facets.ts | 34 ++++- frontend/src/test/search-bar_test.ts | 2 +- frontend/src/utils/constants.ts | 2 + frontend/src/utils/enums.ts | 9 ++ frontend/src/utils/index.ts | 26 ++++ frontend/src/utils/url.ts | 93 +++++++++++++ 9 files changed, 481 insertions(+), 49 deletions(-) create mode 100644 frontend/src/mixins/history.ts create mode 100644 frontend/src/utils/index.ts create mode 100644 frontend/src/utils/url.ts diff --git a/frontend/public/off.html b/frontend/public/off.html index 3c697db8..efd673d7 100644 --- a/frontend/public/off.html +++ b/frontend/public/off.html @@ -153,7 +153,7 @@