Commit Graph
31 Commits
Author SHA1 Message Date
Brenda Wallace 26a7b196f7 Move crop search to postgres (no elasticsearch) 2026-10-21 12:58:48 +13:00
Brenda Wallace 238880ef36 Revert "Refactor crop search functionality to use Postgres extensions for improved matching and update pagination logic"
This reverts commit 998a362b34.
2026-10-21 08:22:10 +13:00
Brenda Wallace 998a362b34 Refactor crop search functionality to use Postgres extensions for improved matching and update pagination logic 2026-10-21 08:06:42 +13:00
Brenda WallaceandClaude Sonnet 5 be5ed5fca5 Rename Bootstrap 4 utility classes to their Bootstrap 5 names
text-left/right -> text-start/end, float-left/right -> float-start/end,
ml-/mr-/pl-/pr- -> ms-/me-/ps-/pe-, border-left/right -> border-start/end,
dropdown-menu-left/right -> dropdown-menu-start/end, font-weight-* -> fw-*,
font-italic -> fst-italic and sr-only -> visually-hidden. Bootstrap 5 dropped
text-justify, so the site keeps a one-line rule for it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-20 18:01:00 +12:00
Brenda Wallace 7b5698f977 👩‍🌾 Import openfarm data (#2177)
* Pull in openfarm icons, photos, info
* Truncating member location
* tidying up harvest display, and reducing duplication in css styles
* Tiny crop chip
* only show crop charts if there is data to show
* Make the styles more Growstuff
* Fixed links to openfarm
* Updating specs to cope with new photo sources
fix broken garden timeline on some pages
* Update homepage blurb
* Import crop companions
* More fluid page
* use thumbnail unless the source is flickr
* Messing with homepage
* Added crop growing_degree_days
* expect full size url on photos helper spec
* formatted dates from seeds#show
* tidy up places#show
* Move progress bar
* Quicker buttons for approve/reject crops
* Remove kaminari gem
* use crop cards on hierarchy page
* more crops on crops#index
* Wrap photo creation in transaction
* Wrap crop companions in a transaction
2019-09-28 17:23:25 +12:00
Brenda Wallace c12f39d5d1 set ID on crop search form 2019-06-26 10:03:19 +12:00
Brenda Wallace 19eae7d259 crop search form on white background
for readability
2019-06-14 16:06:32 +12:00
Brenda Wallace 22e7a85388 inline search form on crops#search 2019-06-14 10:54:30 +12:00
Brenda Wallace 6e9207c2ed Fix tabulation error in haml 2019-06-14 10:13:02 +12:00
Daniel O'Connor 347dfc3258 Apply similar layout to app/views/crops/index.html.haml 2019-06-13 13:56:53 +09:30
Daniel O'Connor a26003940d Crop search result page - doubled breadcrumbs 2019-06-13 13:54:59 +09:30
Brenda Wallace 8d07cc6c39 More crops tidy 2019-05-27 08:36:35 +12:00
Brenda Wallace 223e61b8a8 Re-instate search title 2019-05-25 19:15:46 +12:00
Brenda Wallace dccbf440cb Breadcrumbs 2019-05-18 23:18:27 +12:00
Brenda Wallace f5d48d1b56 Removing bootstrap 3 - only bootstrap 4
because both isn't particularly clever
2019-05-13 07:52:38 +12:00
Brenda Wallace 75f14aecc0 Crop page tidy 2019-04-30 13:15:19 +12:00
Brenda Wallace 74e6a7cf2f Rename @matches to @crops 2019-04-08 21:39:20 +12:00
Brenda Wallace 61e0c2eb1d Swap elasticssearch for searchkick 2019-04-08 21:39:20 +12:00
Brenda Wallace 68953188f8 Update to new path names 2019-01-06 08:45:42 +13:00
Brenda Wallace 6478d9cb1b Haml clean up for crops views 2017-02-06 10:31:45 +13:00
Brenda Wallace 8ddf36fed9 Haml clean up for (some of) crops views 2017-02-04 15:04:07 +13:00
Skud d0f856d389 Fixed various problems with search matching 2015-02-17 19:20:25 +11:00
Skud 78c4fc36b1 Paginate search results
... and include total number in subtitle
2015-02-10 19:26:07 +11:00
Skud 9ccef5471f Added search form to crop search result page 2015-02-10 19:18:57 +11:00
Skud 0fc4c3cb4d Made search result page show a suitable title 2015-02-10 19:07:50 +11:00
Shiho Takagi ad7cfdabd0 cleaning up the code 2015-01-17 19:11:07 +11:00
Shiho Takagi 556ba33172 updated crop search view 2015-01-17 00:09:39 +11:00
Amy Hendrix 81a996b8cc New markup for thumbnails 2014-07-14 20:50:35 -04:00
Amy Hendrix f0cd8df6e0 Update column classes 2014-07-13 18:16:57 -04:00
Skud aa07928f1f Show crop thumbnails on search results page 2014-01-03 22:56:31 +11:00
Skud 0a3ecdc5ad Added crop search controller and views 2014-01-03 22:29:44 +11:00