Luis Ramos
|
ff68303ef6
|
Fix long lines
|
2020-06-22 17:39:20 +01:00 |
|
Luis Ramos
|
0f2e07cc2d
|
Fix long lines
|
2020-06-22 17:39:20 +01:00 |
|
Luis Ramos
|
0e3b5ad4c3
|
Revert rubocop auto correct because update! is a method in the adjustment model
|
2020-06-22 17:39:17 +01:00 |
|
Luis Ramos
|
41ff406e86
|
Fix rubocop issue by avoiding rails method name update_attributes
|
2020-06-22 16:51:46 +01:00 |
|
Luis Ramos
|
b879439d58
|
Use rubocop auto correct to fix Style/SafeNavigation issue
|
2020-06-22 16:51:46 +01:00 |
|
Luis Ramos
|
1b6e51c79e
|
Fix rubocop issue
|
2020-06-22 16:51:46 +01:00 |
|
Luis Ramos
|
f848a89a00
|
Rename update_attributes to update #rails4
|
2020-06-22 16:51:43 +01:00 |
|
Luis Ramos
|
8a61257547
|
Rename all before_filter to before_action, it's the same function with a new name
|
2020-06-22 13:11:57 +01:00 |
|
Luis Ramos
|
adfe1f89b6
|
Revert previous rubocop auto correct fix that breaks the cart spec
|
2020-06-22 13:08:38 +01:00 |
|
Luis Ramos
|
3b91dd9dea
|
Use rubocop auto-correct to fix more issues
|
2020-06-22 12:51:47 +01:00 |
|
Luis Ramos
|
5d710f1e24
|
Use ruboccop autocorrect to fix issues
|
2020-06-22 12:46:07 +01:00 |
|
Luis Ramos
|
8a9dae0ee2
|
Run rubocop autocorrect
This is the result of bundle exec rubocop --auto-correct
|
2020-06-22 12:23:10 +01:00 |
|
Matt-Yorkley
|
cda5a042b3
|
Ensure cart page table is full-width
|
2020-06-19 12:56:47 +02:00 |
|
Matt-Yorkley
|
444097c75f
|
Merge pull request #5559 from luisramos0/display_only_shop
Make display only shops work again
|
2020-06-19 11:12:55 +02:00 |
|
Matt-Yorkley
|
b189d06eb7
|
Update shopping CTA logic
Shows "Take me shopping!" button on /shops page if a shop is selected
|
2020-06-19 08:59:43 +02:00 |
|
Matt-Yorkley
|
ff6ba8819f
|
Use image_tag helper with relative paths when loading static images in /app/assets/images folder
This seems to be needed for Rails 4
|
2020-06-18 22:22:31 +02:00 |
|
Matt-Yorkley
|
7c7ab322bb
|
Ensure cart-header has the same height when the cart is empty
Fixes a minor visual bug
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
a6edc1c973
|
Enable control over body scroll with BodyScroll service
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
ed086c2db5
|
Add character limit to product and variant names in cart sidebar
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
2cc02d9711
|
Make cart header stick to top of cart
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
886df0e87d
|
Fix cart page button style regression
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
076ecfdb43
|
Adjust scrollbar visibility in sidebar
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
7093e0f7a3
|
Use plural or singular description in cart, depending on number of items
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
850e1b0364
|
Reduce specificity in cart css rules
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
b58ccc02ee
|
Adjust shop.css.scss and remove indentation
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
234f0f94cf
|
Change images in serializer to use product.images over variant.images
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
9c6dd1b324
|
Add comment on z-index
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
1eb9d11e27
|
Update colour variables
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
656c23f407
|
Replace previous min-width breakpoint.
This was mistakenly changed to use a max-width breakpoint in a previous commit.
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
c0282b57b6
|
Fix some linting warnings
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
bd97939062
|
Move homepage "register here" CTA to bottom of screen.
The CTA breaks the layout when the new cart sidebar is open. I can't see a nice way to keep it at the top without making a mess.
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
2bcadd52e8
|
Hide "Take me shopping" button on /shop and /shops pages
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
387a5ec950
|
Implement "Take me shopping" button
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
10b8470e29
|
Set a fixed width for cart sidebar on tablet up
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
4acb08e52b
|
Update hamburger menu icon
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
786348bc71
|
Remove colon from cart total text
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
459e53f43d
|
Adjust specs for new cart display
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
2f2ef28351
|
Use links instead of buttons and fix up styles
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
b74b9fbd1d
|
Shift sidebar down vertically (below navigation) and bring navigation up (z-index)
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
4a0f43a831
|
Ensure cart item count is visible in header cart button (for screens smaller than desktop)
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
439674ad9c
|
Make cart view fullwidth on mobile
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
8ca0119f5d
|
Add empty cart feedback
|
2020-06-18 22:21:55 +02:00 |
|
Matt-Yorkley
|
95686eda78
|
Update translations
|
2020-06-18 22:21:54 +02:00 |
|
Matt-Yorkley
|
7efccac7bb
|
Add close functionality to close button
|
2020-06-18 22:21:54 +02:00 |
|
Matt-Yorkley
|
4362b8b25b
|
Improve line spacing on cart product list
|
2020-06-18 22:21:54 +02:00 |
|
Matt-Yorkley
|
be8c0f3600
|
Remove old cart dropdown view and directive
|
2020-06-18 22:21:54 +02:00 |
|
Matt-Yorkley
|
33a2dd100e
|
Add new layout for cart sidebar
|
2020-06-18 22:21:54 +02:00 |
|
Matt-Yorkley
|
400fce8ef9
|
Separate cart page and cart dropdown styles
|
2020-06-18 22:21:54 +02:00 |
|
Matt-Yorkley
|
b4e5542e5f
|
Extract re-usable sidebar styes
|
2020-06-18 22:21:54 +02:00 |
|
Matt-Yorkley
|
a8b981e9cd
|
Add product thumbnais to serializer for cart dropdown images
|
2020-06-18 22:21:54 +02:00 |
|