Commit Graph

3886 Commits

Author SHA1 Message Date
Brenda
607eae2a43 Small improvements to crops controller to reduce query count 2019-12-04 21:02:33 +13:00
Brenda Wallace
f4484cf376 Don't cache photo do agressively 2019-12-04 21:02:33 +13:00
Brenda
c42fb5df51 Tell default photo to expire in 1 hour 2019-12-04 21:02:33 +13:00
Brenda
56cb291508 Little bit less queries to look up sci name 2019-12-04 21:02:33 +13:00
Brenda Wallace
3ba807b610 Put query count on the page 2019-12-04 21:02:29 +13:00
Brenda Wallace
d22fb68eee Cache photos 2019-12-04 20:59:56 +13:00
Brenda
4065b1b248 Reducing the number of db queries on crops#show 2019-12-04 20:59:56 +13:00
Brenda
500dd5e57b Reduce queries per thumbnail. 2019-12-04 20:59:56 +13:00
Brenda Wallace
b3ecfa36cd Cache the footer 2019-12-04 20:59:56 +13:00
Brenda
b443435627 Don't read crop photos from db again 2019-12-04 20:59:56 +13:00
Brenda Wallace
fdf5a59ffd Reduce the number of queries to find if member has seed of this crop 2019-12-04 20:59:56 +13:00
Brenda Wallace
9e87787977 Fix color of crop action links 2019-12-03 21:48:15 +13:00
Brenda Wallace
58d2510613 Fix signin/signout on mobile 2019-12-01 12:46:44 +13:00
Brenda Wallace
245ea3f10a Removed caching that causes facts to appear twice 2019-12-01 08:21:50 +13:00
Brenda Wallace
723fd8aa79 Remove Calistoga font from headers 2019-12-01 08:08:40 +13:00
Brenda
dde9e69b66 consistent cards on crops#show 2019-11-30 23:17:29 +13:00
Brenda
c963533a15 add padding around logo text 2019-11-30 23:17:04 +13:00
Brenda
b1b98fd856 Trimmed edges of logo 2019-11-30 23:01:13 +13:00
Brenda
89072bdb74 Marked icons to be ignored by screen readers 2019-11-30 21:56:53 +13:00
Brenda Wallace
0a327cba67 Tidier sign-in/sign-up links 2019-11-30 21:53:23 +13:00
Brenda Wallace
9eb08bbf29 Merge css rules 2019-11-30 21:41:55 +13:00
Brenda
b40e7221e2 Enlarge the headers in jumbotrons 2019-11-30 21:14:59 +13:00
Brenda
bdefa9dad9 consistent headers 2019-11-30 20:49:54 +13:00
Brenda
fed6a7df97 Change a h3 into just a <strong> 2019-11-30 20:09:39 +13:00
Brenda
ee42fd9e87 Added calistoga font 2019-11-30 19:55:16 +13:00
Brenda Wallace
285cd6b4f5 Set all headers to Calistoga font 2019-11-30 19:54:19 +13:00
Brenda Wallace
c514a57f47 Apply suggestions from code review 2019-11-30 16:34:12 +13:00
Brenda Wallace
cdc87b5511 Tidy up mobile view of logo/nav 2019-11-30 16:22:45 +13:00
Brenda Wallace
057e6f3069 Change fonts, tidy up navbar, and use text for site name 2019-11-30 16:22:45 +13:00
Brenda Wallace
faf375c932 Feature spec for month by month harvest 2019-11-25 13:25:05 +13:00
Brenda Wallace
cf2c42a7e0 Only display location if we have a location 2019-11-24 12:21:37 +13:00
Brenda Wallace
1e663fc3df Layout tidy to cope with neighbours on page 2019-11-24 12:13:48 +13:00
Brenda Wallace
bcbee5831f Everyone gets harvest months, not just perennials 2019-11-24 11:42:10 +13:00
Brenda Wallace
9aae07b8df Screen reader niceness 2019-11-24 11:37:07 +13:00
Brenda Wallace
6325df25b8 Make the month an int 2019-11-24 11:36:55 +13:00
Brenda Wallace
b8c1f10907 Merge remote-tracking branch 'origin/predict-perenial-harvest' into predict-perenial-harvest 2019-11-24 10:46:07 +13:00
Brenda Wallace
83f0182551 rubocop lint 2019-11-24 10:41:20 +13:00
Brenda Wallace
0f73c13622 Merge branch 'dev' into predict-perenial-harvest 2019-11-24 10:40:22 +13:00
Brenda Wallace
5b7de1ae7a Added location 2019-11-24 10:39:06 +13:00
Brenda Wallace
554adf234e Allow chaining on Harvest predictions method returns 2019-11-24 10:30:56 +13:00
Brenda Wallace
a8a522d09e rubocop style fix 2019-11-24 10:17:55 +13:00
Brenda Wallace
0bb4dbec10 Display of planting neighbours 2019-11-24 10:15:11 +13:00
Brenda Wallace
e40cca806c World neighbours 2019-11-24 09:44:35 +13:00
Brenda Wallace
70565c7202 show neighbouring plantings same crop
also helps see where the prediction came from
2019-11-24 09:43:25 +13:00
codefactor-io
a23963ba96 [CodeFactor] Apply fixes 2019-11-23 19:58:22 +00:00
Brenda Wallace
c0fabc7002 Reducing unnecesary and extra queries 2019-11-24 08:57:34 +13:00
Brenda Wallace
c3d626636b Added icons so sections line up 2019-11-24 08:49:00 +13:00
Brenda Wallace
1c2a88da55 Added lots of caching 2019-11-24 08:45:23 +13:00
Brenda Wallace
09a70c4742 Predict month of harvest on perennials 2019-11-23 22:21:36 +13:00
Brenda Wallace
cf0485c448 fix mobile display 2019-11-19 14:25:14 +13:00