Manvil George
|
63a1a6fefa
|
More optimsations: removing unwanted code
|
2020-05-07 22:58:09 +10:00 |
|
Luis Ramos
|
66fe26fcc5
|
Merge pull request #5295 from Matt-Yorkley/shopfront-optimising
Enterprise serializer optimisations
|
2020-05-07 13:08:14 +01:00 |
|
Matt-Yorkley
|
460ab6cdb4
|
Use #allow instead of #stub
|
2020-05-07 13:20:30 +02:00 |
|
Matt-Yorkley
|
7457543c2b
|
Adds spec for timed caching on shops data
|
2020-05-07 13:20:30 +02:00 |
|
Matt-Yorkley
|
6b6ab864ef
|
Improve comment on Fragment Caching
|
2020-05-07 13:20:30 +02:00 |
|
Matt-Yorkley
|
e73c8232de
|
Improve unit test in cache_service_spec
|
2020-05-07 13:20:30 +02:00 |
|
Matt-Yorkley
|
37821beb1b
|
Extract home stats caching to method in service
|
2020-05-07 13:20:30 +02:00 |
|
Matt-Yorkley
|
2292cbaae4
|
Extract timed enterprise AMS fragment caching options to service
|
2020-05-07 13:20:28 +02:00 |
|
Luis Ramos
|
987347d5ab
|
Move translation keys to new correct location
|
2020-05-07 12:18:40 +01:00 |
|
Luis Ramos
|
3c7970f72f
|
Add select oc message when there are multiple OCs
|
2020-05-07 12:18:40 +01:00 |
|
Luis Ramos
|
d4980893a1
|
Refactor darker-background directive, extract method
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
0d6d071db2
|
Remove dead class .shopfront_hidden_message
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
cba9382230
|
Replace line-height with margin
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
7fcee0fe6d
|
Fix problem in warning sign
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
f3347a8e16
|
Make teal links appear only when the darker background is activated
This way links in producers, about, etc, where the background is white will still appear as orange, as per design
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
782988b61c
|
Fix with-darker-background class by moving it inside page-view selector and using opacity instead of just grey so that other elements in the page (shadow from element above) can be seen
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
21a1ba2fb5
|
Move translation keys according to new location in the customer_required partial
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
ba25986756
|
Fix some css rubocop issues
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
098ad6f250
|
Merge partial messages back to home partial where it is only used
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
319657d2c5
|
Move closed shop partial to /messages
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
eb773a813e
|
Extract open shop message to partial
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
5dedbc4231
|
Extract customer_required message to separate partial
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
84c00fe215
|
Remove duplicate conditionals already present in ShopHelper#shop_tabs, when these partials are rendered, these conditions will always be true
In the shops partial, by adding the else, we avoid rendering empty space with an empty
products list in case the shop is closed
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
77d7d2b804
|
Make the background darker only in specific cases
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
b34fb79d69
|
Move content div to messages partial so that it's not used in the closed shop message (no margin according to design)
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
1c41061f9e
|
If shop is closed show closed shop message partial in the home tab
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
b86081090f
|
Extract closed shop message to a partial
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
dbdbe01d6a
|
Add new style to closed shop message
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
0996c28c09
|
Memoize helper methods that are called several times in the views
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
5f70ef6e75
|
Improve style of closed shop message and remove border from message
|
2020-05-07 12:17:43 +01:00 |
|
Luis Ramos
|
e0b3e9a040
|
Remove border of message and paddings, add background color, change link color and split message in two lines
|
2020-05-07 12:17:43 +01:00 |
|
Matt-Yorkley
|
2876b98155
|
Use time-based caching on rendered AMS data for shops
|
2020-05-07 13:11:53 +02:00 |
|
Matt-Yorkley
|
545ca85644
|
Extract caching of homepage stats to service
|
2020-05-07 13:11:28 +02:00 |
|
Luis Ramos
|
c64ba75e8d
|
Merge pull request #5348 from luisramos0/single_oc_selector
Replace select box with text when only one OC is available for selection
|
2020-05-07 12:07:19 +01:00 |
|
Luis Ramos
|
56b9737676
|
Merge pull request #5343 from luisramos0/windows
Make OC selector options color explicitly gray and not white
|
2020-05-07 11:44:14 +01:00 |
|
Luis Ramos
|
d967d855fc
|
Merge pull request #5319 from Matt-Yorkley/caching-by-class
[Caching] Caching data by class
|
2020-05-07 11:43:44 +01:00 |
|
Luis Ramos
|
1e9b4516cb
|
Merge pull request #5318 from Matt-Yorkley/caching-api
[Caching] API Action Caching on shop filters
|
2020-05-07 11:42:52 +01:00 |
|
Transifex-Openfoodnetwork
|
ffebaee9c7
|
Updating translations for config/locales/tr.yml
|
2020-05-07 17:34:22 +10:00 |
|
Manvil George
|
a629e1ecb7
|
Remove incorrect commenting
|
2020-05-07 11:46:49 +10:00 |
|
Manvil George
|
d7cf825531
|
Minimised version of the svg
|
2020-05-07 11:33:35 +10:00 |
|
Manvil George
|
585a754b18
|
Missed out on inverting the boolean expression
|
2020-05-07 11:31:27 +10:00 |
|
Kok Hung Cheah
|
edcdae6b58
|
Update jquery-ui-rails version to 4.1.1
|
2020-05-07 10:48:07 +10:00 |
|
Manvil George
|
d3504c177e
|
A better SVG
|
2020-05-07 10:40:48 +10:00 |
|
Manvil George
|
7123d8347a
|
XML Formatted The SVG
|
2020-05-07 09:50:27 +10:00 |
|
Manvil George
|
7847c4ed9e
|
Removing unwanted blank lines
|
2020-05-07 09:37:35 +10:00 |
|
Manvil George
|
5b009f606a
|
More optimizations around coding standards
|
2020-05-07 09:07:32 +10:00 |
|
Luis Ramos
|
066f978c59
|
Update ruby version in GETTING_STARTED
|
2020-05-06 22:19:43 +01:00 |
|
François Turbelin
|
d5b69ec90c
|
Remove before call when no factorization
|
2020-05-06 22:04:56 +02:00 |
|
François Turbelin
|
13f00480ce
|
Use serialized_data
|
2020-05-06 22:04:56 +02:00 |
|
François Turbelin
|
f6e06b5658
|
Use default enterprise_id to get the entreprise
|
2020-05-06 22:04:56 +02:00 |
|