Commit graph

105 commits

Author SHA1 Message Date
renovate[bot] 0fe6245d62
chore(deps): update dependency svelte to v4.2.17 2024-05-20 17:50:18 +00:00
deepsource-autofix[bot] c890f6fcb4
style: format code with Prettier
This commit fixes the style issues introduced in d2a637f according to the output
from Prettier.

Details: None
2024-05-20 11:15:52 +00:00
Michał d2a637f8d6 Booking form
Move loader style to its own scss file to make it re-usable
2024-05-20 12:15:32 +01:00
Michał e0abea8cef Format numbers with leading 0s
Grow map on checkout
Correct some typos
2024-05-20 07:57:26 +01:00
Michał 60ee8e49ae delivery fee 2024-05-19 13:09:11 +01:00
Michał dcfec1e2db Fix map not rendering correctly when div starts as hidden 2024-05-18 18:33:04 +01:00
Michał 5439333cc5 Add option for picking up item
Fix error where once the cart loaded, it does not display problematic items in cart
2024-05-18 17:27:08 +01:00
Michał 619dc1e6ed Add custom message box
Add headers and descriptions for different sections
2024-05-18 16:50:17 +01:00
Michał 006a4a92b0 Update cart value on checkout when page is loading
make checkout button less rounded
2024-05-17 15:01:54 +01:00
deepsource-autofix[bot] e803959f28
style: format code with Prettier
This commit fixes the style issues introduced in e3e4e48 according to the output
from Prettier.

Details: None
2024-05-17 13:09:34 +00:00
Michał e3e4e482cc Finalise Checkout page design
Make CheckoutProgress type, hopefully to use with the checkout API thang
fix banner loading stuff
2024-05-17 14:09:13 +01:00
Michał d1b35005d4 Adjust how unavailable item banner is displayed
Make item prices more realistic for testing
2024-05-16 21:44:02 +01:00
Michał 5afe4386d6 Create checkout forms
Move section out of container because its more useful that way
give section more styling options
Move basket item out into its own div, as to not override containers styling for no reason
Change formMessage type from sting | Error to just string
Make the booking progress code more readable
2024-05-16 19:50:48 +01:00
deepsource-autofix[bot] bd93bbb2c8
style: format code with Prettier
This commit fixes the style issues introduced in 9a683e9 according to the output
from Prettier.

Details: None
2024-05-16 13:45:32 +00:00
Michał 9a683e9605 Add checkout page
Give shadows to more elements
Fix broken cart
Add notice on checkout if item is no-longer available
Remove spacing on bottom of menu-item list with an added check
Add leg
2024-05-16 14:45:16 +01:00
deepsource-autofix[bot] 0d106cfdcd
style: format code with Prettier
This commit fixes the style issues introduced in c908a54 according to the output
from Prettier.

Details: None
2024-05-16 12:32:29 +00:00
Michał c908a544aa Increase hit target for dropdown
Add CartRecord type
Remove OOP style Promises from Contact
Add contact reason dropdown
The usual SCSS changes and adjustments
2024-05-16 13:32:11 +01:00
Michał 865654de87 Remove unused 500
rename MenuList to MenuItemGrid to represent the component better
Adjust 404 page
2024-05-15 19:55:51 +01:00
Michał fecbe77a1d Remove Page prefix in routes folder 2024-05-15 19:48:52 +01:00
Michał 46b624954c Switch to tsconfig
Fix changes due to change in target module
2024-05-15 16:36:29 +01:00
deepsource-autofix[bot] e60ff198d2
style: format code with Prettier
This commit fixes the style issues introduced in 18b22e7 according to the output
from Prettier.

Details: None
2024-05-14 12:31:43 +00:00
Michał 18b22e7928 Clean up test API 2024-05-14 13:31:25 +01:00
Michał 0943c99749 switch data type to any (need to fix)
Skip quality check on utils
2024-05-14 12:57:47 +01:00
deepsource-autofix[bot] 437622fe88
style: format code with Prettier
This commit fixes the style issues introduced in 8dd6fda according to the output
from Prettier.

Details: None
2024-05-13 11:19:38 +00:00
Michał 8dd6fdaa15 Template Literals 2024-05-13 12:19:11 +01:00
deepsource-autofix[bot] 0592a217e9
style: format code with Prettier
This commit fixes the style issues introduced in 1fdb6ed according to the output
from Prettier.

Details: None
2024-05-13 11:11:28 +00:00
Michał 1fdb6ed2f4 Test out Item table
Add to real API
Update air config
Fix bug in MenuItem
2024-05-13 12:10:55 +01:00
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