Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/stats-hero-and-ui-polish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"mpesa2csv": major
---

Success screen now shows a financial snapshot — date range covered, total money in, total money out, and charges — all derived from the parsed statement before you export. Window height reduced from 850 → 650px, footer simplified to a single line, and dead-zone layout issues resolved.
5 changes: 5 additions & 0 deletions .changeset/ux-success-state-simplification.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"mpesa2csv": patch
---

improved success state ui
12 changes: 9 additions & 3 deletions .github/workflows/main-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,15 @@ jobs:
VALIDATION_PASSED="true"
VALIDATION_ERRORS=""

if ! pnpm audit --audit-level moderate; then
VALIDATION_ERRORS="${VALIDATION_ERRORS}Security vulnerabilities found. "
VALIDATION_PASSED="false"
AUDIT_EXIT=0
AUDIT_OUT=$(pnpm audit --audit-level moderate 2>&1) || AUDIT_EXIT=$?
if [ $AUDIT_EXIT -ne 0 ]; then
if echo "$AUDIT_OUT" | grep -qE "410|ERR_PNPM_AUDIT_BAD_RESPONSE|endpoint is being retired"; then
echo "⚠️ npm audit endpoint unavailable (retired July 2026). Skipping security check."
else
VALIDATION_ERRORS="${VALIDATION_ERRORS}Security vulnerabilities found. "
VALIDATION_PASSED="false"
fi
fi

VERSION=$(node -p "require('./package.json').version")
Expand Down
21 changes: 15 additions & 6 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,21 @@ jobs:
if: matrix.test_type == 'security'
run: |
echo "🔒 Running security audit..."
pnpm audit --audit-level moderate || {
echo "⚠️ Security vulnerabilities found. Please review and fix."
echo "Run 'pnpm audit --fix' to automatically fix issues where possible."
exit 1
}
echo "✅ No security vulnerabilities found"
AUDIT_EXIT=0
AUDIT_OUT=$(pnpm audit --audit-level moderate 2>&1) || AUDIT_EXIT=$?
echo "$AUDIT_OUT"
if [ $AUDIT_EXIT -ne 0 ]; then
if echo "$AUDIT_OUT" | grep -qE "410|ERR_PNPM_AUDIT_BAD_RESPONSE|endpoint is being retired"; then
echo "⚠️ npm audit endpoint unavailable (retired July 2026). Skipping."
echo "💡 Dependabot alerts remain active for ongoing security coverage."
else
echo "⚠️ Security vulnerabilities found. Please review and fix."
echo "Run 'pnpm audit --fix' to automatically fix issues where possible."
exit 1
fi
else
echo "✅ No security vulnerabilities found"
fi

release-branch-validation:
name: Release Branch Validation
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
},
"dependencies": {
"@base-ui/react": "^1.2.0",
"@number-flow/react": "^0.6.1",
"@tailwindcss/vite": "^4.1.18",
"@tauri-apps/api": "^2",
"@tauri-apps/plugin-dialog": "^2.2.1",
Expand Down
28 changes: 28 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"windows": [
{
"title": "mpesa2csv - Convert M-PESA Statements to CSV/Excel",
"width": 750,
"height": 850,
"width": 600,
"height": 550,
"minWidth": 500,
"minHeight": 400,
"resizable": true
Expand Down Expand Up @@ -68,8 +68,8 @@
"y": 170
},
"windowSize": {
"width": 750,
"height": 850
"width": 600,
"height": 550
}
}
},
Expand Down
Loading
Loading