23 Commits

Author SHA1 Message Date
5456deb727 feat: Refactor authentication to leverage AppContext, removing redundant API calls and simplifying loading state. 2026-02-27 15:38:47 +00:00
c59e0ba1b0 feat: Display a loading spinner during initial app load if no user session is stored, otherwise skip the loading state. 2026-02-27 15:29:52 +00:00
24cb02bf0c feat: Refactor app initialization to sequentially authenticate users and load shops from the database, removing mock data and local storage dependency for shops. 2026-02-27 15:27:26 +00:00
f41791adb2 fix: Handle duplicate shop errors during synchronization and refresh the shop list. 2026-02-27 15:12:42 +00:00
8c35b8b6e0 carregar imagem para barbearia 2026-02-26 17:38:31 +00:00
2c78a28a3e fix: Add nullish coalescing to shop rating, services, and barbers properties to prevent UI crashes 2026-02-26 17:19:07 +00:00
d948273c16 alteração do shopcard 2026-02-26 17:11:49 +00:00
b1099f04bc feat: Load shops and their services from the database instead of using mock data. 2026-02-26 17:00:31 +00:00
e5a167beb8 feat: Persist new barber shops to Supabase and use a unified ID for new barberia users and their shops. 2026-02-26 16:47:40 +00:00
a9ac6dc310 feat: Ensure all owner-created shops are globally listed using the owner's user ID as the shop ID. 2026-02-26 16:31:01 +00:00
5b866a161e docs: Add JSDoc and inline comments to enhance code readability and explain functionality across multiple pages and components. 2026-02-26 10:38:13 +00:00
c4164e50a0 supabase 2026-02-25 09:59:12 +00:00
a895f83db7 Remove unnecessary blank lines in ShopCard and Explore components 2026-02-03 15:23:04 +00:00
e0acd9879c eventscreate 2026-01-28 10:34:30 +00:00
51e5705104 register 2026-01-28 09:02:13 +00:00
42b1eb6459 Enhance ShopCard and ShopDetails components with image support and favorite functionality; update AppContext for favorites management; improve Explore page with filtering and sorting options; refine AuthLogin and AuthRegister forms for better user experience; update types for BarberShop to include imageUrl. 2026-01-27 16:45:08 +00:00
2d1f09154f Add RequireAuth and events module for user authentication and event management 2026-01-21 09:52:34 +00:00
9cd34d3ff1 Add Supabase client setup and authentication functions 2026-01-20 17:14:50 +00:00
dc4712d371 Add allowed hosts in Vite configuration for enhanced accessibility 2026-01-20 16:09:02 +00:00
4339b79455 Update dependencies and enhance Dashboard and Landing pages with new features and UI improvements 2026-01-14 09:52:19 +00:00
58e5889b89 Add project report and implement calendar week view component 2026-01-13 14:53:41 +00:00
3c7190bca4 first commit 2026-01-07 10:35:00 +00:00
13745ac89e teste 2026-01-07 10:33:09 +00:00