Changed PlansSection section id from plans to abonnemang to support in-page navigation from account confirmation.
X-Lovable-Edit-ID: edt-b42457a8-0745-49c6-8086-9cd1b6be92fb
Implemented navigation to a new account confirmation flow that now displays:
- User address details from profile (street, postal, city)
- A subscription section with status and action to order
- Back to account link and navigation tweaks
Also added loading state handling and protected routing for authenticated users.
X-Lovable-Edit-ID: edt-42d4e7d6-3c3c-4e7a-bdd4-87fddcaf54df
Adjusted CSS so destructive color matches primary red for consistency by updating --destructive and --destructive-foreground in src/index.css to align with the main red hue.
X-Lovable-Edit-ID: edt-fc59391d-856a-4d58-86c5-df53ccb4d8d5
Moved the "Tillbaka till startsidan" link outside the centered container to align it to the left, placing it above the main content in Account.tsx.
X-Lovable-Edit-ID: edt-9a074529-236d-41a4-b3a6-7d919bb944cb
Inför tre separata fält för leveransadress (street_address, postal_code, city) i profil, uppdatera migrering, typ-definitioner, fetch och spara logik samt UI med tre inputs. Implementerade ny migrations, utökade API-samtal och uppdaterade Account-sidan att hantera de nya fälten.
X-Lovable-Edit-ID: edt-bcc30255-fbe9-4cbc-bbe4-9513937b286d
Moved "Tillbaka till startsidan" link to top-left under header; made sign-out red and kept as text link with underline on hover; removed the separate return button.
X-Lovable-Edit-ID: edt-6ddfe69a-b2ae-42d1-87e8-40c1d3660a2b
Bytte ut sign out box mot enkel textlänk och understrykning vid hover; gjorde länken för utloggning och bakåt-länk till separata små textlänkar under centrera area.
X-Lovable-Edit-ID: edt-2b146f5a-6fa1-48de-b1e7-9fa4521102c9
Fjorde fältet Företagsnamn och behöll endast e-post och leveransadress på kontosidan. Användarens e-post visas (ensatt, ej redigerbart) och uppdateringsflödet justerat att endast spara adress.
X-Lovable-Edit-ID: edt-4be49567-5c4f-4f2c-9b1c-064db1544996
Lade till nya kontosida som sparar och visar företagsnamn/e-post samt leveransadress. Efter sparande navigeras användaren till en bekräftelsesida (/account/confirmation). Implementerade migrationssteg för att lägga till company_name i profils-tabellen och uppdaterade Kontosidan, bekräftelsesidan och routing.
X-Lovable-Edit-ID: edt-544c3dce-903e-4036-a44e-70c5deb2d6b1
Implement dedicated /account page for logged-in users, wire address from subscription into profile on order, and update account menu to navigate to account when logged in. Also extend AbonnemangForm to prefill/save address to profile and update App routing accordingly. Refactor AccountMenu to direct to account and simplify logic.
X-Lovable-Edit-ID: edt-998f3ddd-0243-4847-bad7-27b351f58fc3
Implementerade profilsida där inloggade kan redigera namn, telefon och adress. Lägg till ny page Profile med fetch och update via Supabase, lägga till rutt /profile, och utöka konto-meny med snabblänk till profilen. Innehåller klientvalidering och användarfeedback.
X-Lovable-Edit-ID: edt-15d9d135-22fa-4ec1-9fc7-b44edbb667a9
Implements forgot-password functionality:
- UI flow in AuthDialog for forgot mode
- Backend support via Supabase resetPasswordForEmail
- New ResetPassword page to set new password
- Routing updated to include /reset-password
- Extend useAuth with resetPassword and updatePassword methods
X-Lovable-Edit-ID: edt-d0fb934c-ec67-43f4-93e8-83e18d9a258a
Replaced mandelkubb.jpg, kolasnitt.jpg, and chokladsnitt.jpg imports with plate variants to bypass caching and ensure fresh previews.
X-Lovable-Edit-ID: edt-825ff711-9bfc-4534-8928-9e491967814f
Adjusted AccountMenu layout to align the Sign Up button with the Log In option:
- Updated container padding from px-1 py-1 to px-2 py-1.5
- Updated Sign Up button styling to match width and typography (px-2 py-1.5, text-sm, rounded-sm) and hover/focus hover bg
- Ensured consistent vertical alignment with Log In item
X-Lovable-Edit-ID: edt-c46c1dfd-a4d9-40af-9a0f-b0fba9d488f1
Updated Logga in item to ensure text turns black on hover and focus by adding hover:!text-black and focus:!text-black styles.
X-Lovable-Edit-ID: edt-c8899314-7da7-4ff1-bd4c-bc3bafd446ca
Removed the icon from the Logga in item and applied a 30% red hover/focus background to the Logga in option in AccountMenu.tsx.
X-Lovable-Edit-ID: edt-9d136e57-5431-49b1-9ed7-0bc90cb67335
Made Mitt konto button text bold by adding font-bold to the account menu trigger button in AccountMenu.tsx.
X-Lovable-Edit-ID: edt-e07f866d-2cf9-4efb-9fa9-592c174af1df
Adjusted AccountMenu.tsx to drop the font-bold class on the sign-up button, preserving hover/focus red background behavior with rounded styling.
X-Lovable-Edit-ID: edt-6c584676-ec83-4ed1-b90f-72cacfe61da0
Updated AccountMenu.tsx to give the Mitt konto button a red border and maintain hover background opacity. Specifically, added border-2 with a red-tinged hover background and explicit border color, ensuring the header button shows a red outline.
X-Lovable-Edit-ID: edt-a8610805-6251-428e-9b12-8c47ff042573
Removed the red border from the Create account button in AccountMenu.tsx by dropping the inline border style, while preserving hover/focus red translucent background.
X-Lovable-Edit-ID: edt-6b15ec75-aedf-4285-b7ae-13f170f9e673
Applied inline red border and hover styling to the Skapa konto button:
- Replaced Tailwind border classes with an explicit 2px red border (#dc2626)
- Ensured hover/focus states use a semi-transparent red background (rgba(220,38,38,0.3))
- Adjusted to preserve button layout within AccountMenu.tsx
X-Lovable-Edit-ID: edt-e64d77b3-1ce1-4050-8b07-9e67c2684235
Replaced DropdownMenuItem for signup with a full-width button inside a padded div to ensure a visible red border frame. Hover/focus opacity preserved via hover:bg-red-600/30.
X-Lovable-Edit-ID: edt-67e0f7fb-c7fa-4955-a367-78b4f401e68c
Updated the Sign Up menu item to apply a red background with 30% opacity on hover/focus, instead of a fully red state.
X-Lovable-Edit-ID: edt-24d53d40-0c74-45ef-8623-9310190fbf86
Updated the account menu to display a red border around the "Skapa konto" option by replacing the previous border classes with border-2 and border-red-600 for clearer emphasis.
X-Lovable-Edit-ID: edt-ebdcb8e1-4719-4314-9d31-88cde26235be
Removed account icon, simplified trigger styling, and emphasized signup option with bold border in the account dropdown.
X-Lovable-Edit-ID: edt-821b61d1-1180-4d99-b6ff-1a5a0050acd3