Skip to content

Add timestamp to default export backup name#808

Merged
Crustack merged 1 commit intomainfrom
feat/790
Jan 27, 2026
Merged

Add timestamp to default export backup name#808
Crustack merged 1 commit intomainfrom
feat/790

Conversation

@Crustack
Copy link
Owner

@Crustack Crustack commented Jan 27, 2026

Closes #790

Summary by CodeRabbit

  • New Features
    • Backup files now include timestamps in their filenames, making them easier to organize and distinguish from one another.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 27, 2026

Warning

Rate limit exceeded

@Crustack has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 21 minutes and 40 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📝 Walkthrough

Walkthrough

The PR adds a timestamped backup filename feature by introducing a new buildBackupTitle() helper function in SettingsFragment that generates backup filenames in the format "NotallyX Backup yyyy-MM-dd HH-mm.zip". This replaces two hard-coded backup title strings with dynamic, timestamp-based filenames in both biometric and standard backup export flows.

Changes

Cohort / File(s) Summary
Backup Filename Timestamping
app/src/main/java/com/philkes/notallyx/presentation/activity/main/fragment/settings/SettingsFragment.kt
Added buildBackupTitle() private function to generate timestamped backup filenames; imported SimpleDateFormat and Locale; replaced two hard-coded "NotallyX Backup.zip" strings with dynamic function calls in biometric and export backup flows

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~4 minutes

Poem

🐰 Hop, hop, the backups now have dates,
No more nameless file fates!
Timestamped treasures, organized and neat,
Every backup's name is sweet! 🎉

🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: adding a timestamp to the default export backup filename.
Linked Issues check ✅ Passed The code changes implement the requested feature by adding timestamped backup filenames in the format 'NotallyX Backup yyyy-MM-dd HH-mm.zip'.
Out of Scope Changes check ✅ Passed All changes are scoped to the backup filename generation functionality with no unrelated modifications present.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Crustack Crustack merged commit ff0b104 into main Jan 27, 2026
2 checks passed
@Crustack Crustack deleted the feat/790 branch January 27, 2026 18:20
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.

Backup export with datetime

1 participant