Skip to content

Add mailbox size and attachments count to stats overview#1

Draft
bkmdev wants to merge 2 commits into
mainfrom
codex/implement-solution-for-issue-213
Draft

Add mailbox size and attachments count to stats overview#1
bkmdev wants to merge 2 commits into
mainfrom
codex/implement-solution-for-issue-213

Conversation

@bkmdev
Copy link
Copy Markdown
Owner

@bkmdev bkmdev commented May 24, 2026

Motivation

Description

  • src/Stats.vue: imported formatBytes, extended initData().numbers with totalSize and withAttachments, and accumulated m.size and m.hasAttachments in analyzeMessage while processing messages.
  • src/Stats.vue: included the new metrics in the multi-account sum aggregation logic so the "All Accounts" view reports correct totals.
  • src/Stats.vue: added computed properties totalMailSize and mailsWithAttachments and rendered a new featured stats card showing human-readable total mailbox size and the count of mails with attachments.
  • public/_locales/en/messages.json: added English locale strings stats.totalMailSize and stats.mailsWithAttachments for the new UI labels.

Testing

  • Ran the production build with npm run build, which completed successfully without errors.

Codex Task

@bkmdev bkmdev closed this May 24, 2026
@bkmdev bkmdev deleted the codex/implement-solution-for-issue-213 branch May 24, 2026 23:24
@bkmdev bkmdev restored the codex/implement-solution-for-issue-213 branch May 24, 2026 23:25
@bkmdev bkmdev reopened this May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant