Commit graph

78 commits

Author SHA1 Message Date
Michał 899867e72d Add back button on images
Improve spacer element
2024-05-12 15:01:03 +01:00
Michał fe96fb6f93 Booking progress 2024-05-12 14:02:36 +01:00
deepsource-autofix[bot] 36e7457614
style: format code with Prettier
This commit fixes the style issues introduced in fd132eb according to the output
from Prettier.

Details: None
2024-05-11 15:26:32 +00:00
Michał fd132ebf97 Add time slot selection
Stop moving elements when error appears under input
make 404, 500, Empty Basket and No Item sections larger
clean up test-api slightly
2024-05-11 16:26:17 +01:00
deepsource-autofix[bot] 5b85c5224d
style: format code with Prettier
This commit fixes the style issues introduced in 475ac92 according to the output
from Prettier.

Details: None
2024-05-11 12:51:01 +00:00
Michał 475ac92de9 Clean up Calendar code
Add checks for notBefore a date
Rename variables for easier reading
2024-05-11 13:50:47 +01:00
Michał 3bf9b7b0ad Calendar selection event
Calendar style fixes
2024-05-10 22:49:20 +01:00
Michał cb6721ab96 Calendar 2024-05-10 22:13:36 +01:00
deepsource-autofix[bot] e95b0e04ab
style: format code with Prettier
This commit fixes the style issues introduced in 3198dec according to the output
from Prettier.

Details: None
2024-05-10 13:47:13 +00:00
Michał 3198dec20c Start on Booking form
Clean up navigation bar
Form CSS
Add warning to run when skipping migrations
2024-05-10 14:46:53 +01:00
deepsource-autofix[bot] 5b1de0c5de
style: format code with Prettier
This commit fixes the style issues introduced in f6e8f42 according to the output
from Prettier.

Details: None
2024-05-09 15:43:18 +00:00
Michał f6e8f4291c Add availability to item, and banner if item is no-longer for purchase
SCSS fixes, file paths and font sizing
Larger spacing for item screen
2024-05-09 16:43:02 +01:00
deepsource-autofix[bot] a3b4cf8305
style: format code with Prettier
This commit fixes the style issues introduced in 2135cf2 according to the output
from Prettier.

Details: None
2024-05-08 16:55:42 +00:00
Michał 2135cf2aee Failing code 2024-05-08 17:55:24 +01:00
Michał a1dfcd3c35 Nicer item page
Add markdown support to item description
Cart now gets loaded in the background, poorly implemented I presume
2024-05-08 17:53:21 +01:00
Michał a704082779 Clean up image folder structure 2024-05-08 10:27:15 +01:00
Michał b2933a41c1
Merge pull request #11 from Fluffy-Bean/deepsource-transform-10cecdda
style: format code with Prettier
2024-05-06 15:49:14 +01:00
Michał 7b73f28b60 Move help to bottom of cart page 2024-05-06 15:16:06 +01:00
deepsource-autofix[bot] dda41aa77b
style: format code with Prettier
This commit fixes the style issues introduced in cf385e5 according to the output
from Prettier.

Details: None
2024-05-06 13:58:01 +00:00
Michał cf385e5875 Fix loading of broken basket 2024-05-06 14:57:39 +01:00
deepsource-autofix[bot] 77dcc3430a
style: format code with Prettier
This commit fixes the style issues introduced in e0969ae according to the output
from Prettier.

Details: https://github.com/Fluffy-Bean/TastyBites/pull/10
2024-05-06 11:34:52 +00:00
deepsource-autofix[bot] e0969ae66f
refactor: remove the console expressions
It is considered a best practice to avoid the use of any `console` methods in JavaScript code that will run on the browser.

**NOTE:** If your repository contains a server side project, you can add `"nodejs"` to the `environment` property of analyzer meta in `.deepsource.toml`.
This will prevent this issue from getting raised.
Documentation for the analyzer meta can be found [here](https://docs.deepsource.com/docs/analyzers-javascript#meta).
Alternatively, you can silence this issue for your repository [as shown here](https://deepsource.com/blog/releases-issue-actions).

If a specific `console` call is meant to stay for other reasons, you can add [a skipcq comment](https://docs.deepsource.com/docs/issues-ignore-rules#silencing-a-specific-issue) to that line.
This will inform other developers about the reason behind the log's presence, and prevent DeepSource from flagging it.
2024-05-06 11:34:41 +00:00
Michał 17476d3f2c Keep the Menu Items square, while filling container 2024-05-05 14:22:30 +01:00
deepsource-autofix[bot] 27cd29de27
style: format code with Prettier
This commit fixes the style issues introduced in cd2aaa3 according to the output
from Prettier.

Details: None
2024-05-05 12:04:32 +00:00
Michał cd2aaa355c Add About and Booking page
Add help dropdowns on checkout
Add Image With Text component
2024-05-05 13:04:17 +01:00
Michał d9bea89c0b Fix cart not displaying errors correctly 2024-05-05 13:01:35 +01:00
Michał 584ab41f79 Add multiple to cart from item page 2024-05-05 12:21:15 +01:00
deepsource-autofix[bot] fbd604830e
style: format code with Prettier
This commit fixes the style issues introduced in 9dce923 according to the output
from Prettier.

Details: None
2024-05-05 10:12:16 +00:00
Michał 9dce9235d6 Set image value in Item to list, to support more images in the future
Set all pages to Typescript
2024-05-05 11:12:01 +01:00
Michał 7d8d19a6e9 Fix basket loading and verifying on page load
Update go mod files
2024-05-04 17:58:48 +01:00
Michał 5bcebe2011 Disable amount button (at checkout) if amount too low/high 2024-05-04 17:27:25 +01:00
deepsource-autofix[bot] 9d19529b8e
style: format code with Prettier
This commit fixes the style issues introduced in 7b4cbef according to the output
from Prettier.

Details: None
2024-05-04 15:54:37 +00:00
Michał 7b4cbef983 FUCK 2024-05-04 16:54:19 +01:00
Michał 42951bab20 Manual formating and cleanups 2024-05-04 16:52:21 +01:00
deepsource-autofix[bot] cd6fdf3b29
style: format code with Prettier
This commit fixes the style issues introduced in 6e31b44 according to the output
from Prettier.

Details: None
2024-05-04 15:26:36 +00:00
Michał 9761e4b0aa Cache errors
Missing `;`
2024-05-03 19:43:27 +01:00
Michał 7f7fa3b3ab Fix some errors after cart refactor 2024-05-03 19:21:28 +01:00
Michał 7066cc492b Move to key-value basket, to keep track of information easier
Clean up code, add more types
Clean up error handling
2024-05-03 18:35:39 +01:00
Michał ec2ef95cca Link back to the item page 2024-05-03 17:00:34 +01:00
Michał c54c9c05a9 Optimise Cart page
Yeet the last of the % imports, as they incorrectly displayed as syntax errors
2024-05-03 14:09:48 +01:00
Michał 6f97ad9a4c Add styling to BasketItem
Move footer style to its own file
Make the contact form a bit more intuitive
General cleanup
2024-05-03 13:10:37 +01:00
Michał 764aaa48ea Improve Carts reliability
Nicer empty cart page
Check on page load if cart is valid
2024-05-03 12:31:12 +01:00
Michał 67c8794427 Kinda working cart 2024-05-03 11:34:44 +01:00
Michał f7321ed338 Improve basket count
Move leaflet css resource link to App.svelte
make cartLen a more sensible name
2024-05-02 22:56:59 +01:00
Michał 350528ca2e Noisy background 2024-05-02 19:24:33 +01:00
Michał 1486c1b70a Effort to transition to TypeScript
Remove commit warnings
2024-05-02 19:10:21 +01:00
Michał 4f0ecd33e4 Update test api to TypeScript for better type handling 2024-05-02 13:36:24 +01:00
Michał 04f7d40e52 Use array of UUIDs + Amount for cart data
This is very unstable, but works on the power of will and hope
2024-05-01 18:55:51 +01:00
Michał b7bc7da366 Basic Cart functionality
Add test-api function for contact page
2024-04-30 14:48:32 +01:00
Michał e2e68ab1fb Nicer error page for Item page 2024-04-29 19:19:28 +01:00