Skip to content

[ImgBot] Optimize images - #1

Open
imgbot[bot] wants to merge 7 commits into
mainfrom
imgbot
Open

[ImgBot] Optimize images#1
imgbot[bot] wants to merge 7 commits into
mainfrom
imgbot

Conversation

@imgbot

@imgbot imgbot Bot commented Nov 23, 2025

Copy link
Copy Markdown

Beep boop. Your images are optimized!

Your image file size has been reduced by 14% 🎉

Details
File Before After Percent reduction
/screenshot-simulator.png 46.88kb 17.40kb 62.88%
/screenshot-dashboard.png 52.21kb 20.45kb 60.84%
/assets/screenshot-light.png 59.08kb 27.37kb 53.67%
/assets/screenshot-simulator-light.png 60.56kb 29.12kb 51.92%
/assets/screenshot-simulator-dark.png 60.42kb 29.11kb 51.81%
/assets/screenshot-dark.png 77.39kb 40.57kb 47.58%
/public/assets/logo-new.png.png 1,936.66kb 1,803.16kb 6.89%
/public/vite.svg 1.46kb 1.42kb 2.81%
/src/assets/react.svg 4.03kb 4.02kb 0.15%
Total : 2,298.71kb 1,972.62kb 14.19%

📝 docs | :octocat: repo | 🙋🏾 issues | 🏪 marketplace

~Imgbot - Part of Optimole family

RCBC Tracker and others added 7 commits November 23, 2025 19:33
- Add comprehensive matcha green and cream color palette
- Update all components with harmonious matcha theme
- Improve light and dark mode color schemes
- Update branding and logo
- Add reset functionality for debt data
- Enhance visual consistency across all pages
- Remove Firebase hosting files (.firebase, firebase.json, .firebaserc, firestore.rules, firestore.indexes.json, storage.rules)
- Increase text contrast in all cards (matcha-800 to matcha-900 in light mode)
- Darken borders from matcha-200 to matcha-300 for better definition
- Make labels and titles bolder (font-semibold/font-bold)
- Improve placeholder and button text contrast
- Increase border widths from 1px to 2px for better visual separation
- Create ResetModal component with proper styling and animations
- Add billingConstants.ts with credit card billing configuration
  * Due date: 17th of every month
  * Billing cycle start: 22nd of every month
  * Monthly interest rate: 3.5%
- Replace window.confirm with proper modal dialog
- Add helper functions for calculating due dates and billing cycles
- Update Dashboard to use billing constants throughout
- Add scale-in animation for modal entrance
- Added deletePayment function to firestoreService
- Added delete button to each payment entry in History page
- Added confirmation modal before deleting
- Shows loading state during deletion
- Real-time updates via existing subscription
- Replace hardcoded Firebase credentials with environment variables
- Add .env.example template for configuration
- Update .gitignore to exclude sensitive files
- Configure Vercel environment variables
- Add Firebase Storage integration
- Update logo to use Firebase Storage URLs
*Total -- 2,298.71kb -> 1,972.62kb (14.19%)

/screenshot-simulator.png -- 46.88kb -> 17.40kb (62.88%)
/screenshot-dashboard.png -- 52.21kb -> 20.45kb (60.84%)
/assets/screenshot-light.png -- 59.08kb -> 27.37kb (53.67%)
/assets/screenshot-simulator-light.png -- 60.56kb -> 29.12kb (51.92%)
/assets/screenshot-simulator-dark.png -- 60.42kb -> 29.11kb (51.81%)
/assets/screenshot-dark.png -- 77.39kb -> 40.57kb (47.58%)
/public/assets/logo-new.png.png -- 1,936.66kb -> 1,803.16kb (6.89%)
/public/vite.svg -- 1.46kb -> 1.42kb (2.81%)
/src/assets/react.svg -- 4.03kb -> 4.02kb (0.15%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
@vercel

vercel Bot commented Nov 23, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
rcbc-debt-tracker Error Error Nov 23, 2025 0:20am

Deign86 pushed a commit that referenced this pull request Nov 23, 2025
…dation, modal performance, UI refresh

Critical Fixes:
- Bug #5/#10: Cap principal payment at remaining balance in calculatePaymentSplit()
- Bug #1: Prevent negative milestone amounts and enforce 2 decimal places
- Bug #2: Force Dashboard re-render after payment submission

High Priority Fixes:
- Bug #7: Add validation to EditDebtSheet - reject negative/zero debt amounts
- Bug #9: Add validation to EditMinPaymentSheet - reject negative/zero payments

Medium Priority Fixes:
- Bug #3: Fix decimal places in payment history (2 decimals consistently)
- Bug #8: Reduce modal animation duration (500ms200ms open, 300ms150ms close)
Deign86 pushed a commit that referenced this pull request Nov 23, 2025
Bug #1 Fix (Critical): The milestone 'to go' amount was being recalculated
in MotivationalDashboard.tsx instead of using the fixed remainingAmount
from the milestone object (which already has Math.max(0) and proper rounding).

Changed from:
  ((initialDebt - currentPrincipal) - (initialDebt * milestone.percentage / 100)).toLocaleString()
To:
  milestone.remainingAmount.toLocaleString('en-PH', { minimumFractionDigits: 2, maximumFractionDigits: 2 })

This fixes both the negative value bug and ensures exactly 2 decimal places.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant