* Make Sync Modal remeber collapsed state
This makes the sync modal use the bootstrap collapse component instead of animatecss. It also removed animatecss as it seemed to be only used there. Also, it will now remember if you collapsed it between page loads which since the new eth stuff keeps asking to configure it on my dev env.
* Sync modal improvements
- Use chevron icon and indicate toggle state
- Smooth opening animation by toggling element without padding
- Better modal content padding
- Run JS immediately to prevent flickering
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Added dedicated endpoint that generates an invoice or returns an existing one as needed for a shopify order
Added rate limiter to shopify endpoint to prevent abuse
Reduce shopify js to a small file
Use events from btcpay modal to reduce constant pinging to btcpay server
Register invoice payment failures on the shopify backend.
This inlines all webfonts we are using throughout the app, instead of loading them from Google Fonts. There are several benefits to this approach:
- Better performance
- We don't have any problems in regards to potential Google Fonts downtimes
- It protects our users privacy, as they don't have to request those fonts from a third-party
It sets up individual css files per font-face, so that they are easier to include and require on a per use-case basis.
* Redo App template editor with Vue based app
* fix styles better
* remove debug
* support methods
* make price required
* fix styling for validation errors
* show create or edit in title based on context
* add border bottom when image present
* escape/unescape
* more validation fixes
* fix responsive style
* Toggle template field
* add errors to the app
* enhance validation
Modal cart, remove items, checkout
Fix removal and adding of cart items
Improve cart UI
Add cart bundle, remove unused js files from the view when cart isn't used
Do not enable cart by default
Do not put modal into the view when the cart is disabled
Escape js properties
Work with amounts as cents
Make animation speed look constant
Enable tips in the cart
Fix cart UI