Commit Graph

8 Commits

Author SHA1 Message Date
Ruslan Bakiev
f3e0260325 Fix search widget destination field not passing mode=search
All checks were successful
Build Docker Image / build (push) Successful in 4m1s
When clicking destination in GlobalSearchBar, now passes ?mode=search
to /select-location so the selection gets saved to searchStore
2026-01-08 13:18:05 +07:00
Ruslan Bakiev
d6865d2129 UI improvements: filters, map layout, search bar
Some checks failed
Build Docker Image / build (push) Failing after 1m29s
- Add hubCountries query and country filter for hubs page
- Add getAvailableProducts query for offers (only products with active offers)
- Add sourceLatitude/sourceLongitude to orders GraphQL
- Fix ListMapLayout with position fixed for proper map height
- GlobalSearchBar: make fields wider, remove unit selector
- Remove status/isVerified filters from suppliers/offers (backend handles this)
2026-01-08 10:42:59 +07:00
Ruslan Bakiev
f34c484561 Fix navigation layout and search behavior
All checks were successful
Build Docker Image / build (push) Successful in 3m40s
- Reorder topnav components: search bar before submenu
- GlobalSearchBar: use page navigation instead of dropdowns
- Remove icons from MainNavigation and SubNavigation
- Create ListMapLayout universal component for list+map pages
- Migrate catalog pages (offers, suppliers, hubs) to ListMapLayout
2026-01-08 09:16:56 +07:00
Ruslan Bakiev
1a2693bcd6 feat(ui): redesign GlobalSearchBar, split layouts, and remove hero section
All checks were successful
Build Docker Image / build (push) Successful in 5m25s
- Make GlobalSearchBar functional with searchStore integration
- Add destination search using hubs/nodes GraphQL query
- Navigate to /request page instead of /catalog/offers
- Remove hero section from index.vue (search is now in header)
- Add padding (px-3 lg:px-6) to topnav layout
- Implement split layout for catalog pages (offers, hubs, suppliers)
  - Left side: filters + scrollable card list (40%)
  - Right side: map (60%, hidden on mobile)
2026-01-08 08:13:22 +07:00
Ruslan Bakiev
1e179ab04c fix: correct import path for GetProductsDocument
All checks were successful
Build Docker Image / build (push) Successful in 3m47s
2026-01-08 07:48:55 +07:00
Ruslan Bakiev
a0c6b3b667 fix: remove @apply with daisyUI classes from scoped styles
Some checks failed
Build Docker Image / build (push) Failing after 1m3s
Move Tailwind/daisyUI classes directly to template instead of using
@apply in scoped styles. Tailwind 4 @reference directive doesn't
support daisyUI custom classes like text-base-content/70, bg-base-200.

Files fixed:
- MainNavigation.vue
- SubNavigation.vue
- GlobalSearchBar.vue
2026-01-08 07:42:59 +07:00
Ruslan Bakiev
6d1dd4eac5 fix: add @reference directive for Tailwind 4 scoped styles
Some checks failed
Build Docker Image / build (push) Failing after 1m46s
Add @reference 'tailwindcss' to components using @apply in scoped styles:
- MainNavigation.vue
- SubNavigation.vue
- GlobalSearchBar.vue

Required for Tailwind CSS 4 compatibility with scoped Vue styles.
2026-01-08 07:35:56 +07:00
Ruslan Bakiev
737ec91473 Add topnav layout with MainNavigation, SubNavigation, GlobalSearchBar, SplitLayout
Some checks failed
Build Docker Image / build (push) Failing after 1m25s
2026-01-08 01:03:07 +07:00