Skip to content

Conversation

pranjalarora98
Copy link

Recurring Transactions feature added

Description

Related Issue

Fixes #6

Types of Changes

Added Controller,Modal,Route and a cron job for updating transactions

Copy link

netlify bot commented Sep 30, 2025

Deploy Preview for paisable ready!

Name Link
🔨 Latest commit 91b4c49
🔍 Latest deploy log https://app.netlify.com/projects/paisable/deploys/68e3ea44d2643d0008737b2a
😎 Deploy Preview https://deploy-preview-37--paisable.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 95
Accessibility: 100
Best Practices: 100
SEO: 91
PWA: 70
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@archa8 archa8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for the contribution!
The core functionality has been implemented well and works fine. However, the black heading/text doesn't match the dark mode of the site and should be changed accordingly and there should be some indication that the date field is for the next due date for an easy UX.
Also I see some unnecessary changes like changing single quotes to double quotes, extra spaces and deleting and then re-adding import statements. Kindly remove these changes.

@pranjalarora98
Copy link
Author

Ok @archa8 sure.Can you take a look at other PR also for implementing budgets.

If any changes I will fix right away in both.

Thanks

@pranjalarora98
Copy link
Author

@archa8 i have made the required changes, but others changes r also being shown in diff like README.md etc

Copy link
Member

@archa8 archa8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

The date field can't be edited here. Other fields are fine. And it is not very clear what you mean by Start Date in the add recurring transactions card because the same date occurs as the "Next Due" in the table. Kindly fix this. Also, you haven't pushed the lockfile changes for the backend for node-cron. Kindly push that too.

@pranjalarora98
Copy link
Author

@archa8 actually in the listing for any item initially the next due date will be same as start date.Then it will get updated accordingly as cron proceeds depending on week, month etc logic

@pranjalarora98
Copy link
Author

@archa8 apart from that i have pushed the package lock json and disabled the date edit from add recurring transaction modal

@archa8
Copy link
Member

archa8 commented Oct 4, 2025

Hey @pranjalarora98, I didn't mean that you should remove the edit functionality from date. Sorry for the confusion. I meant that I wasn't able to edit the date, if I entered it incorrectly and I understood your next due logic. Just make sure that the date can be edited. Thank you and sorry again for the inconvenience.

@pranjalarora98
Copy link
Author

@archa8 sorry I misunderstood it. I have added edit date functionaly back

Copy link
Member

@archa8 archa8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an error in your recurringTransactionController.jsx file, which is causing the date not to update in the table even if it is changed in the card.
image

To solve this, write a new helper function at top of the file which calculates the correct upcoming due date. You can ping me if you need help.

@pranjalarora98
Copy link
Author

@archa8 i have moved the update date logic to utils and utilised same in cron and controller

Copy link
Member

@archa8 archa8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as intended now. LGTM!

@archa8 archa8 merged commit 5ce8a9e into Code-A2Z:master Oct 6, 2025
4 checks passed
@pranjalarora98
Copy link
Author

pranjalarora98 commented Oct 6, 2025

@archa8 I think also need to add hacktoberfest accepted label to the PR? As its not counted

@pranjalarora98
Copy link
Author

pranjalarora98 commented Oct 8, 2025

@archa8 As in hacktoberfest website it shows not accepted still

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.

feat: Add recurring transactions

3 participants