Commit Graph

33 Commits

Author SHA1 Message Date
b2c21c5f01 feat: create provider callback handler 2026-01-09 08:23:14 +07:00
940e84d168 🔧 chore: create oauth endpoint req to backend 2026-01-08 14:58:21 +07:00
77eeaf1adc 🔧 chore: add handle oauth endpoint login 2026-01-07 23:28:07 +07:00
28cd3178b9 feat: add oauth button 2026-01-07 17:21:14 +07:00
21a099b77f feat: fetch helper connection to main backend
create a helper to facilitate data requests to and from the main backend.
2026-01-07 15:13:56 +07:00
cb0dfdda2e feat: create popup signIn 2026-01-07 10:28:00 +07:00
c6040ed79a 💄 style: create signin button and refine the navbar layouts 2026-01-07 09:14:36 +07:00
a82e7a7424 ♻️ refactor: all codebase
Completely refactoring the entire old codebase with a new codebase. This change also altered most of the core UI from the old codebase, replacing it with Shadcn with some customizations.
2026-01-07 08:44:48 +07:00
35b777e636 🧑‍💻 (dev) add helper for settingup a cookies 2025-10-13 10:07:33 +07:00
273db57e7b 👔 (necktie) add logic to store the cookies 2025-10-12 00:12:42 +07:00
3d6be163e8 🚩 (flags) add username generator
generate username from full name and combine with random string.
2025-10-11 01:34:20 +07:00
15c9599ce7 🔒 (security) security improvement 2025-10-10 23:57:09 +07:00
f13f1ccaf1 🩹 (simple-fix) fix handler error request 2025-10-07 11:59:22 +07:00
6d5fee823e 👌 (review) update connector error handling
Improve error handling by creating a function handler for connections on servers that use KY, and use the status key in
the response as the key to success instead of catch. Use catch if an error occurs between the client and server, not
between the server and backend.
2025-09-13 12:50:43 +07:00
f95da1771e 🔥 (prune) removing empty file 2025-09-01 19:30:15 +07:00
0c45eb69dc 💡 (docs) add documentation for runOnce hook 2025-09-01 19:29:30 +07:00
1b2709f9eb 🚩 (flags) create run once hooks
A custom React hook that ensures a function is executed only once  across the entire application, even in React Strict
Mode or during development hot reloads. Maintains a global registry to track execution status using a unique key.
2025-09-01 19:26:24 +07:00
8d644103d8 📝 add code documentation 2025-08-31 23:40:14 +07:00
41babd10a1 📦 add skip react srictmode
Adding new hooks as a replacement for `useEffects(() => {}, [])` in React by adding React strict mode safety, which
means that this function will only be executed once, even in development mode.
2025-08-31 23:33:04 +07:00
2bcd2a4ead 👔 create callback forwader
create a handler to forward callback requests from the OAuth provider to the main backend system.
2025-08-31 22:02:31 +07:00
1bf56603e0 👔 complete handler callback
Complete the logic checking and loading on the OAuth module callback handler.
2025-08-26 12:53:53 +07:00
a848d4dcb5 creating login popup security check
Perform security checks on the login popup to minimize bugs in unexpected situations.
2025-08-17 22:50:24 +07:00
b12a3211b6 🚚 reconstructing and fixing file structures
The reconstruction includes moving the Navbar component from shared to widget because Navbar is a group of elements, and
removing the login-signup form due to changes in logic that will use a popup flow to improve the user experience without
navigating to another page for authentication.
2025-08-17 21:25:49 +07:00
3dad8ef528 🔧 create backend connector
create a connector to communicate with the backend service using the ky module.
2025-08-15 16:39:40 +07:00
a2c9b7fd08 🚩 create HTML meta tag helper 2025-08-05 13:17:04 +07:00
9930f27a84 👔 create config for routing 2025-08-05 07:05:32 +07:00
ed8acbbcb0 add next top loader
add new depedencies to create loading bar on top every page
2025-08-05 00:06:43 +07:00
65cc862a55 🚩 add something necessary 2025-08-04 23:15:20 +07:00
cfd8015cd5 🧑‍💻 create button delay helper 2025-07-13 16:21:05 +07:00
0f4bfdfe1c ⬇️ (tailwind) downgrade tailwind to v3
downgrading tailwind because heroUI beta that support tailwind v4 encounter error that makes full reload pages when use
link from HeroUI, will be updated to v4 when it's fixed.
2025-07-13 14:10:54 +07:00
9d33464479 💩 (nav) need fix for full page reload
full page reload when navigate using Link from heroUI
2025-07-13 13:18:30 +07:00
564d230250 💄 create navigation in navbar 2025-07-13 00:27:42 +07:00
060ceb8f32 ♻️ add root layout with navbar
create root directory for page that will use navbar and other basic elements
2025-07-10 23:57:12 +07:00