Commit Graph

42 Commits

Author SHA1 Message Date
9c3bb100e3 feat(miniapp): remove members count from home screen purchases card
- Remove 'Members' row from Purchases card in 'no payment' mode
- Remove unused homeMembersCountLabel i18n key from en/ru locales
2026-03-14 12:50:59 +04:00
488a488137 feat: add quick payment action and improve copy button UX
Mini App Home Screen:
- Add 'Record Payment' button to utilities and rent period cards
- Pre-fill payment amount with member's share (rentShare/utilityShare)
- Modal dialog with amount input and currency display
- Toast notifications for copy and payment success/failure feedback

Copy Button Improvements:
- Increase spacing between icon and text (4px → 8px)
- Add hover background and padding for better touch target
- Green background highlight when copied (in addition to icon color change)
- Toast notification appears when copying any value

Backend:
- Add /api/miniapp/payments/add endpoint for quick payments
- Payment notifications sent to 'reminders' topic in Telegram
- Include member name, payment type, amount, and period in notification

Files:
- New: apps/miniapp/src/components/ui/toast.tsx
- Modified: apps/miniapp/src/routes/home.tsx, apps/miniapp/src/index.css,
  apps/miniapp/src/theme.css, apps/miniapp/src/i18n.ts,
  apps/bot/src/miniapp-billing.ts, apps/bot/src/server.ts

Quality Gates:  format, lint, typecheck, build, test

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-14 08:51:53 +04:00
771d64aa4e miniapp: refresh after mutations, activity expand, squash chart palette 2026-03-14 02:40:14 +04:00
31dd1dc2ee fix: purchase split rebalancing and input focus issues
- Add onBlur handler to Input component for rebalancing on blur
- Rewrite rebalancePurchaseSplit to calculate delta vs total and distribute
- Extract ParticipantSplitInputs component with proper SolidJS reactivity
- Button shows 'Balance' when validation fails, 'Save' when valid
- Add i18n keys for purchaseBalanceAction and purchaseRebalanceAction
2026-03-13 10:40:42 +04:00
94a5904f54 feat(miniapp): refine UI and add utility bill management
- Fix collapsible padding and button spacing
- Add subtotal to balance card
- Add utility bill management for admins
- Fix lints and type checks across the monorepo
- Implement rejectPendingHouseholdMember in repository and service
2026-03-13 05:52:34 +04:00
0d2065fd5e feat(miniapp): redesign balance and due-state flows 2026-03-12 14:08:55 +04:00
6053379f31 fix(miniapp): clarify cycle summary and balance sections 2026-03-12 13:12:39 +04:00
a38686c8b0 fix(miniapp): tighten house layout and restore balance details 2026-03-12 12:45:00 +04:00
ae2a54a7bf fix(miniapp): clean up russian household copy 2026-03-12 11:42:21 +04:00
a50b826b40 feat(miniapp): improve billing settings controls 2026-03-12 11:37:57 +04:00
4c19ee798d feat(miniapp): add household general settings 2026-03-12 11:30:11 +04:00
6e49cd1dfd fix(miniapp): refresh billing state and clean up controls 2026-03-12 04:27:46 +04:00
9afa9fc845 feat(miniapp): simplify current-cycle navigation and home summary 2026-03-12 04:11:57 +04:00
4e7400e908 feat(bot): add configurable household assistant behavior 2026-03-12 03:22:43 +04:00
146f5294f4 fix(miniapp): remove balance debug text 2026-03-12 02:57:53 +04:00
789854358e fix(miniapp): address review feedback 2026-03-12 02:28:56 +04:00
135a2301ca feat(miniapp): redesign member balance surfaces 2026-03-12 02:10:22 +04:00
74080c32c6 fix(miniapp): consolidate member editor actions 2026-03-11 20:13:04 +04:00
d40f5e1d84 feat(miniapp): simplify ready state layout 2026-03-11 17:57:35 +04:00
e07dfeadf5 refactor(miniapp): compact finance and admin editors 2026-03-11 17:22:48 +04:00
6ed99b68f4 feat(miniapp): add finance overview visualizations 2026-03-11 15:33:19 +04:00
0787847c19 feat(member): improve assistant roster awareness 2026-03-11 15:10:20 +04:00
79f96ba45b feat(payments): add transparent balance guidance 2026-03-11 14:52:09 +04:00
8401688032 feat(purchase): add per-purchase participant splits 2026-03-11 14:34:27 +04:00
98988159eb feat(member): add away billing policies 2026-03-11 14:05:52 +04:00
773abf2531 feat(member): add household lifecycle states 2026-03-11 13:44:38 +04:00
8f9abf998f feat(miniapp): add billing review tools and house sections 2026-03-10 22:04:43 +04:00
b7658164a8 feat(miniapp): improve mobile billing and utility controls 2026-03-10 18:50:19 +04:00
3168356431 feat(miniapp): show topic routing in admin settings 2026-03-10 17:18:53 +04:00
c292518760 feat(miniapp): show payment activity in dashboard 2026-03-10 17:16:16 +04:00
1988521931 feat(payments): track household payment confirmations 2026-03-10 17:00:45 +04:00
fb85219409 feat(finance): add settlement currency and cycle fx rates 2026-03-10 16:46:59 +04:00
d55bf42c7b feat(miniapp): clarify balance breakdown 2026-03-10 02:54:12 +04:00
4b4f7d46e5 feat(miniapp): add member rent weight controls 2026-03-10 02:48:12 +04:00
29563c24eb feat(miniapp): add cycle-level billing controls 2026-03-10 01:53:11 +04:00
565ac277c1 feat(miniapp): add admin billing settings foundation 2026-03-10 01:38:03 +04:00
eb0143f132 refactor(miniapp): remove placeholder shell cards 2026-03-09 17:12:21 +04:00
2d8e0491cc feat(bot): persist locale preferences across mini app and replies 2026-03-09 13:17:46 +04:00
d5872ede57 feat(miniapp): add pending member admin approval 2026-03-09 06:29:23 +04:00
8109163067 feat(onboarding): add mini app household join flow 2026-03-09 04:16:34 +04:00
c5c356f2b2 feat(miniapp): add finance dashboard view 2026-03-08 22:40:49 +04:00
f8478b717b feat(miniapp): add telegram-authenticated shell 2026-03-08 22:30:59 +04:00