Commit graph

275 commits

Author SHA1 Message Date
Moe
83b57fe577 Fix routing bug 2022-05-12 22:09:12 +07:00
Moe
2f371a9974 Update sessions form with auth 2022-05-12 21:47:18 +07:00
Moe
79735a7550 Update transactions form with auth 2022-05-12 21:47:08 +07:00
Moe
411ffaedb2 Update checkout form with auth 2022-05-12 21:46:55 +07:00
Moe
410737b42a Update API with authentication 2022-05-12 21:46:13 +07:00
Moe
40e82a6d4b add getSession 2022-05-12 21:44:58 +07:00
Moe
7208594bc2 Fix naming 2022-05-12 18:16:41 +07:00
Moe
7ad40c51c2 Fix selectedIndex for required auth menu 2022-05-12 18:14:14 +07:00
Moe
cc00d5aa6b Force auth for some menu 2022-05-12 18:13:36 +07:00
Moe
d76d6135e9 Add checkSessionExist in auth 2022-05-12 18:13:10 +07:00
Moe
4ebf6b27ba Fix login routing 2022-05-12 18:12:38 +07:00
Moe
6eab74796b Fix register routing 2022-05-12 18:12:03 +07:00
Moe
56b3f6d077 Add login function 2022-05-12 18:11:33 +07:00
Moe
5cd0787a4b Update login API 2022-05-12 18:11:20 +07:00
Kelvin Samuel
5f9de35fa2 Recheck login page 2022-05-12 15:24:28 +07:00
Matthew Patrick
5994985801 checkout_form - Fixed error handling on forms 2022-05-12 11:03:12 +07:00
Matthew Patrick
34f43c3124 register_form - Fixed error handling in form 2022-05-12 10:53:46 +07:00
Moe
8920e42222 Sync products with flutter_lints v2.0.1 2022-05-12 10:29:02 +07:00
Moe
4851d4a40f Sync cart with flutter_lints v2.0.1 2022-05-12 10:28:55 +07:00
Moe
ba02ccbb3c Sync transaction box with flutter_lints v2.0.1 2022-05-12 10:28:47 +07:00
Moe
1da1b3b92d Sync register form with flutter_lints v2.0.1 2022-05-12 10:28:23 +07:00
Moe
23933b9ed4 Sync product detail with flutter_lints v2.0.1 2022-05-12 10:28:13 +07:00
Moe
b13e8cab99 Sync payment body with flutter_lints v2.0.1 2022-05-12 10:28:04 +07:00
Moe
cae9bce567 Sync checkout items with flutter_lints v2.0.1 2022-05-12 10:27:53 +07:00
Moe
45347d8678 Sync checkout form with flutter_lints v2.0.1 2022-05-12 10:27:43 +07:00
Moe
cf32fa598f Sync cart box with flutter_lints v2.0.1 2022-05-12 10:27:33 +07:00
Moe
136cd4753e Sync API with flutter_lints v2.0.1 2022-05-12 10:27:19 +07:00
D Shrat
b33b99f4cb adjust 2022-05-10 11:52:50 +07:00
Moe
a1a90f58ea Fix routing to login 2022-05-10 08:27:12 +07:00
Moe
ff4940e78f Fix routing to register 2022-05-10 08:27:03 +07:00
Moe
9632c3ed5b Update menu 2022-05-10 08:26:48 +07:00
Moe
7235c68897 Remove unused import 2022-05-10 07:37:45 +07:00
Moe
520e7a9f0e Cleanup code 2022-05-10 07:37:29 +07:00
Moe
740289cda9 Remove and replace deprecated class to the new one 2022-05-10 07:35:48 +07:00
Moe
6bc00b0411 Remove unused import 2022-05-10 07:21:56 +07:00
Moe
77fcdae8b9 Cleanup code 2022-05-10 07:21:09 +07:00
Matthew Patrick
729d162618 login_form - Cleanup code 2022-05-09 09:11:20 +07:00
Matthew Patrick
d2dc5ca320 login_form - Connected Register Page 2022-05-09 09:10:47 +07:00
Matthew Patrick
2d11390c95 checkout_form - Matched fields style to Register_form 2022-05-09 09:01:20 +07:00
Matthew Patrick
aff5a3b2ae checkout_form - Added icons 2022-05-09 08:55:46 +07:00
Matthew Patrick
8460b89fab checkout_form - Changed fields styles 2022-05-09 08:52:00 +07:00
Matthew Patrick
9c7bf5270b register_form - cleanup-2 2022-05-09 08:51:26 +07:00
Matthew Patrick
8554b18c2e register_form - cleanup 2022-05-09 08:50:36 +07:00
Matthew Patrick
bd403a3232 register-form - Changed Fields style 2022-05-09 08:44:38 +07:00
Matthew Patrick
d969a1f815 register-form - Changed fields look and feel 2022-05-09 08:40:13 +07:00
Matthew Patrick
ecd0bde4a6 Register form - added icons for each form fields 2022-05-09 08:31:41 +07:00
Matthew Patrick
cf90d48d00 Added Icon Support for Fields 2022-05-09 08:29:22 +07:00
Kelvin Samuel
b04dc800b9 Change color input form login screen 2022-05-01 00:41:07 +07:00
Kelvin Samuel
05ab4c4811 Change Login page UI, add icon, add feature remember me, forgot pass, sign up 2022-05-01 00:04:01 +07:00
Moe
c296201017 Update menu 2022-04-30 23:47:54 +07:00
Moe
ded4c84d51 Add Active Sessions Page 2022-04-30 23:47:48 +07:00
Moe
40f609d160 Remove inkwell color attribute 2022-04-30 23:47:07 +07:00
Moe
7ca36bb542 Add cart empty screen 2022-04-30 22:20:42 +07:00
Moe
9ed47d9788 Fix price not updated in checkout button 2022-04-30 10:00:16 +07:00
Moe
d24e477686 Swap + and - button in cart page 2022-04-30 09:52:54 +07:00
Moe
bef1ca8862 Reduce future delay time 2022-04-30 09:51:08 +07:00
Moe
0c5a623562 Update menu 2022-04-30 09:50:05 +07:00
Moe
930fb95319 Add checkout button to cart page 2022-04-30 09:49:09 +07:00
Moe
9fa82bf551 Cleanup code 2022-04-30 09:44:45 +07:00
Matthew Patrick
70b7154b22 checkout_items - Added total price in Checkout Page 2022-04-29 22:57:32 +07:00
Moe
ca816593ed Add currency formatter to price in transactions page 2022-04-29 20:42:20 +07:00
Moe
d92fec2110 Add currency formatter to price in product page 2022-04-29 20:42:05 +07:00
Moe
3bf70d2f97 Add total price to transactions page 2022-04-29 20:32:29 +07:00
Moe
2e674e959d Cleanup code 2022-04-29 20:32:17 +07:00
Matthew Patrick
9483dba908 payment_body - Fixed Colors 2022-04-29 20:02:45 +07:00
Matthew Patrick
c4ae1f75a7 forgot_pass_body - Fixed button colors 2022-04-29 19:59:47 +07:00
Matthew Patrick
46bf6f5ec4 Use Local Lottie Asset instead of Network 2022-04-29 19:54:41 +07:00
Moe
4f0a5d89a7 Update transaction button route 2022-04-29 17:50:01 +07:00
Moe
f3bea2db3c Add initial screen support in menu 2022-04-29 17:49:37 +07:00
Moe
a7c00693b7 Add deskop/tablet layout support on products page 2022-04-29 17:40:41 +07:00
Moe
a48a62e668 Cleanup code 2022-04-29 16:36:42 +07:00
D Shrat
42ff3c73a3 create otp file 2022-04-29 14:11:05 +07:00
D Shrat
03a72075f0 Add forgot password 2022-04-29 14:10:21 +07:00
Matthew Patrick
6ef562c062 register_form - Linked text to Login page 2022-04-29 04:36:55 +07:00
Matthew Patrick
08d06f287a checkout_form - Linked button to Payment screen 2022-04-29 04:25:52 +07:00
Moe
09eabb91eb Cleanup code 2022-04-29 02:20:36 +07:00
D Shrat
3a589d5837 Update PaymentBody 2022-04-28 21:17:54 +07:00
Moe
2d652184c0 Merge branch 'main' of https://gitlab.com/nekoya/app 2022-04-28 17:55:52 +07:00
Moe
2bcd785352 Add addSession and removeSession function 2022-04-28 17:55:46 +07:00
Moe
1dc148a3f8 Add getSession mechanism 2022-04-28 17:54:56 +07:00
Matthew Patrick
7fefe99431 checkout_items - Added a card with list of items in cart 2022-04-28 14:20:01 +07:00
Matthew Patrick
4b22f95108 checkout - Linked checkout_items component 2022-04-28 13:58:21 +07:00
Matthew Patrick
55ee837fbe checkout_items - added stateful widget template 2022-04-28 13:56:12 +07:00
Matthew Patrick
6359d50008 Made checkout_items.dart 2022-04-28 13:55:31 +07:00
Moe
0563e50b9a Add controller parameter to enable/disable button on cartbox 2022-04-28 13:16:41 +07:00
Matthew Patrick
72fbe5f798 checkout_form - Removed placeholder data for cart_data 2022-04-28 12:12:26 +07:00
Matthew Patrick
5eeeabbeeb checkout_form - Added Logic to the button&API Link 2022-04-28 11:35:24 +07:00
Matthew Patrick
34fa51a633 checkout_form - Added form 2022-04-28 11:34:54 +07:00
Matthew Patrick
9beccc44ff Checkout - Added Scroll support, and CheckoutForm 2022-04-28 11:30:56 +07:00
Matthew Patrick
12984751b5 Checkout - Added SafeArea 2022-04-28 11:30:08 +07:00
Matthew Patrick
7fef71110d Temp - Used index0 Navbar for Checkout Page 2022-04-28 11:28:03 +07:00
Matthew Patrick
86b7268b50 Added checkoutPost API 2022-04-28 11:27:37 +07:00
Matthew Patrick
6b87362ae0 checkout_form - Added an empty widget 2022-04-28 09:12:46 +07:00
Matthew Patrick
ff4c747ef3 Made checkout_form component 2022-04-28 09:12:11 +07:00
Matthew Patrick
8e718bc5e5 Register_Verify-Moved Lottie to Local for LoadPerf 2022-04-28 08:48:35 +07:00
Matthew Patrick
6aaa25f72f Register_Form- Moved Lottie to Local for load perf 2022-04-28 08:47:52 +07:00
Matthew Patrick
e72bd8b1f8 Register_Error-Moved Lottie to Local for load perf 2022-04-28 08:47:32 +07:00
Matthew Patrick
26340e6409 Login_Form - Moved Lottie to Local for load perf 2022-04-28 08:47:16 +07:00
Matthew Patrick
28ca2398c8 Login_Error - Moved Lottie to Local for load perf 2022-04-28 08:46:59 +07:00
Matthew Patrick
4ff1644d13 Login_verify - Removed component since it's not used 2022-04-28 08:25:32 +07:00
Matthew Patrick
94ec4a57a3 Login_Form - Removed Login Verify (not used anyways) 2022-04-28 08:25:06 +07:00
Moe
e9b36065b6 Update cart +/- button color 2022-04-27 19:20:48 +07:00
Moe
31e1c381b6 Fix bug (Cart UI not updating) 2022-04-27 19:08:00 +07:00
Moe
d74682edfd Update menu 2022-04-27 19:07:21 +07:00
Moe
69de256fd9 Fix double scrollable bug 2022-04-27 17:29:06 +07:00
Moe
5d89ca319a Disable scroll glow in product detail 2022-04-27 17:28:20 +07:00
Moe
4218c0cf85 Cleanup code 2022-04-27 17:16:07 +07:00
D Shrat
029f298b43 Merge branch 'main' of gitlab.com:nekoya/app 2022-04-27 16:01:34 +07:00
Moe
a0421fc57f Fix logistic layout 2022-04-27 13:31:18 +07:00
Moe
1ef27854a0 Add transactions page 2022-04-27 13:20:01 +07:00
Moe
8674fe2adf Update menu 2022-04-27 13:19:37 +07:00
Moe
0e7449a981 Fix typo 2022-04-27 13:19:22 +07:00
Kelvin Samuel
da0e532ec0 Change Animation Login Page 2022-04-27 10:36:04 +07:00
Matthew Patrick
94583b4ffc Register_Form - Only pass 1 JSON object to API 2022-04-27 01:14:53 +07:00
Matthew Patrick
63f275776d Modified Register API to take just 1 JSON object 2022-04-27 01:13:53 +07:00
Moe
564b70a21b Cleanup code 2022-04-26 17:28:55 +07:00
Moe
c567a09ca1 Fix conflict 2022-04-26 17:28:45 +07:00
D Shrat
037c0d357e Merge branch 'main' of gitlab.com:nekoya/app 2022-04-26 16:18:53 +07:00
D Shrat
48c368b0be Payment page but not finish yet 2022-04-26 16:15:38 +07:00
Moe
620e01fe7a [WIP] Cart Page 2022-04-26 16:13:57 +07:00
Moe
ea6c0ddc5b Add cart page to menu 2022-04-26 16:13:40 +07:00
Matthew Patrick
137121992a login_form - Fixed Fields Label 2022-04-26 15:40:52 +07:00
Matthew Patrick
f09c828864 Register_Error - made the text flexible instead of hardcoded 2022-04-26 15:28:37 +07:00
Matthew Patrick
17c129cd67 Register_Verify - made the text flexible instead of hardcoded 2022-04-26 15:27:59 +07:00
Kelvin Samuel
fdf89795fe Add Login Screen and Add backend Login Screen 2022-04-26 13:11:54 +07:00
Moe
245798a302 Fix typo 2022-04-26 10:55:30 +07:00
Moe
9967caf0cd Add viewCart function 2022-04-26 10:45:04 +07:00
Moe
de612bc1c6 Add removeFromCart function 2022-04-26 10:44:42 +07:00
Moe
2926e1ee38 Add Tooltip to Add to Cart button 2022-04-26 10:44:07 +07:00
Moe
7c4f9bea4b Add addToCart function 2022-04-26 10:43:20 +07:00
Moe
82bbdd99d0 Cleanup Code 2022-04-25 22:28:58 +07:00
Matthew Patrick
a00c2dc5c1 main - Changed Accent to dark red. so the overflow glow matches the overall theme 2022-04-25 21:03:54 +07:00
Matthew Patrick
c151444c36 register_error - Changed some texts and spaces between items 2022-04-25 20:57:15 +07:00
Matthew Patrick
ea89772585 register_verify - Changed more text sizes and spaces between items 2022-04-25 20:55:40 +07:00
Matthew Patrick
731ab528f5 register_verify - Changed font size and spacing 2022-04-25 20:52:31 +07:00
Matthew Patrick
b3759256d5 register - Linked the register's page body to the register_form 2022-04-25 20:49:37 +07:00
Matthew Patrick
80c8f9bf9a register_form - added logic to do POST to register API, and then to show screens depending on outcome 2022-04-25 20:48:45 +07:00
Matthew Patrick
f5eaf482c3 register_form - Added some logic to check if there are any fields empty in form 2022-04-25 20:45:24 +07:00
Matthew Patrick
36221885ff register_form - Added register forms 2022-04-25 20:42:59 +07:00
Matthew Patrick
f906e6679d register_form - Added animations 2022-04-25 20:40:13 +07:00
Matthew Patrick
f951855b6a register_form - made some texts and button to use 2022-04-25 20:39:40 +07:00
Matthew Patrick
f96cb308d4 register_form - created a default stateless widget 2022-04-25 20:36:52 +07:00
Matthew Patrick
ede1f77287 register_form - Made an empty file 2022-04-25 20:36:15 +07:00
Matthew Patrick
b67d04c1e7 register_verify - Made container for texts, and animation, etc 2022-04-25 20:35:07 +07:00
Matthew Patrick
4139d45503 register_verify - Made a basic stateful widget 2022-04-25 20:33:18 +07:00
Matthew Patrick
d83c79c90b Register_verify - made an empty file 2022-04-25 20:32:52 +07:00
Matthew Patrick
fde6698bbf register_error - Added Animations assets to improve looks 2022-04-25 20:31:23 +07:00
Matthew Patrick
8fe787a726 register_error - Created basic warnings 2022-04-25 20:28:12 +07:00
Matthew Patrick
664e9467ee Register_Error - added empty stateful widget 2022-04-25 20:25:59 +07:00
Matthew Patrick
57fa82cbeb Created register_error.dart 2022-04-25 20:25:03 +07:00