42abf11d04
refactor: extract reusable CreateBox component for bordered card styling replacing duplicated border/selection logic in account_orders.go and cart.go. Also fixes a latent SSH rendering bug in cart.go where lipgloss.NewStyle() was used instead of theme.Base().
marcusDenslow2026-04-27 15:04:00 +02:00
6bcf651afd
fix: my last change was very wrong, i think i made it in my sleep. this should do the trick though
marcusDenslow2026-04-27 10:40:41 +02:00
cbb3e59878
update: update the not-selected address items in th address list
marcusDenslow2026-04-27 08:15:10 +02:00
00dd63668b
fix: fix address not appending to address list in account page after adding it
marcusDenslow2026-04-26 13:16:14 +02:00
bd93989036
fix: all keybinds becoming unreactive after completing an order
marcusDenslow2026-04-26 12:50:51 +02:00
4083495704
fix: fixed payment not going through if no address and card were saved
marcusDenslow2026-04-26 12:21:16 +02:00
7bebdeebed
fix: fixed card and address list having duplicate items, and a checkout flow infinate loop condition
marcusDenslow2026-04-26 11:59:24 +02:00
011bf3a4ff
fix: use theme.Base() for order card border so colors render over SSH
marcusDenslow2026-04-25 22:39:36 +02:00
d51912917e
fix: use DoubleBorder for selected order card
marcusDenslow2026-04-25 22:31:17 +02:00
c8a5f4806d
fix: hardcode steel blue border and bold for selected order card
marcusDenslow2026-04-25 22:24:31 +02:00
e2dc2854b7
fix: add 1-item scroll buffer and use highlight color for selected border
marcusDenslow2026-04-25 22:18:43 +02:00
f9885e2d5e
fix: use fixed-height order cards and correct viewport height
marcusDenslow2026-04-25 22:11:49 +02:00
34bb7a7c7f
fix: correct scroll height estimates and improve order selection visibility
marcusDenslow2026-04-25 22:00:44 +02:00
79c8238f1b
fix: scrolling stopped working in last commit. this change is made by claude so it just might break again
marcusDenslow2026-04-25 21:48:33 +02:00
4024cf4b40
fix: fixed the border on order history currently selected item not showing up for some terminal themes
marcusDenslow2026-04-25 11:01:45 +02:00
c78f5eb12b
refactor: remove putting ssh key in memory at all, just use it for auth
marcusDenslow2026-04-25 10:50:19 +02:00
c8af9cb551
change: change the proceed warning to red to make it easier to catch
marcusDenslow2026-04-24 17:02:05 +02:00
d7b172843e
resolve splash screen deadlock and auth 500 soft-deleted ssh keys Auth handler used FirstOrCreate which couldn't see soft-deleted keys (GORM filters by deleted_at IS NULL) but also couldn't insert (unique index still covers deleted rows), returning 500 on every login after a key deletion. Use Unscoped lookup and restore soft-deleted keys.
marcusDenslow2026-04-24 16:51:19 +02:00
53c1b5e254
update: removed stale errors when encountering an error, the error would never be removed, i just reset the error msg in the switchPage function, this will have to be redone later to make error messages dissapear after a while even on the same page
stale-errors
marcusDenslow2026-04-24 09:45:32 +02:00
1bc03822b1
security: remove SSH public key from TUI memory
marcusDenslow2026-04-24 09:39:02 +02:00
6006f9617d
refactor: add dedicated *Switch() methods added dedicated *Switch() methods (ShopSwitch, CartSwitc, AccountSwitch, ...) for page transitions and remove the catch-all resetPageState(). Each switch owns its pages zero-init, viewport setup, and async data fetching
marcusDenslow2026-04-24 09:25:31 +02:00
1c3ebf789c
refactor: update the flat model struct with nested structs
marcusDenslow2026-04-24 08:57:04 +02:00
bef7f85bda
rewrite: update the slice sort to use built-in lib sort
marcusDenslow2026-04-19 14:15:14 +02:00
e11e708095
fix: shit was NOT working from last commit
marcusDenslow2026-04-12 12:22:06 +02:00
6559c4dd8f
fix and feature: made checkout page cleaner, and added card and address modification to account page
marcusDenslow2026-04-12 12:11:04 +02:00
157a752540
fix: added user verification to continue checkout after adding card
marcusDenslow2026-04-11 20:03:17 +02:00
de9120d1eb
fix: Caddyfile domain and Stripe webhook API version mismatch
marcusDenslow2026-04-11 19:10:06 +02:00
3ff4aa9d50
fix: rewrote the huge 700+ line update call with modularized calls
marcusDenslow2026-03-26 17:47:56 +01:00
93b257a612
fix: store coffee prices as int cents to prevent rounding errors
marcusDenslow2026-03-26 09:09:20 +01:00
f13bfd6572
feat: add order reconciliation job for crash recovery
marcusDenslow2026-03-25 21:00:30 +01:00
d5cb4259f5
fix: prevent charge-without-order by creating order before charging
marcusDenslow2026-03-25 20:13:51 +01:00
1a49360191
feat: throw out the boolean navigation with page routing
marcusDenslow2026-03-25 15:08:56 +01:00
93cc69d028
just updating the branch with current changes
marcusDenslow2026-03-25 08:57:27 +01:00
c7fa292730
update: addeds some extra text in the account page and making some updates for the future for the setting default addresses and cards
marcusDenslow2026-03-24 21:29:22 +01:00