Active
Project:
Gift Aid management
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2026 at 15:05 UTC
Updated:
16 Feb 2026 at 16:53 UTC
Jump to comment: Most recent
We're coming to the end of the basic completion of this module.
We have various @todo and commented out sections of code in the module. Some of these can be deleted now, some should be turned into issues.
There may be other basic module setup matters to tidy up and finalise.
Comments
Comment #2
adamps commentedHere is output from a search for @todo
This is your comment and my response. I believe that a computed field would cause caching problems because it would end up making data from other entities (which may change independently at any time) part of the storage for this entity. It would potentially also cause performance problems because it would greatly increase the storage of the donor entity to include all declarations/cancellations.
This is non-essential. The staff/admin don't have any natural way of reaching this page - they would have to just type in the URL or perhaps the Donor emails the link to them.
If you want custom views handling then it needs writing. Could convert to an issue I guess.
Only admin can delete anyway. Yes, we could do that. It could prevent the admin making a big mistake. It could also force them to tediously delete declarations one-by-one in the case they know what they are doing. E.g. a GDPR deletion request. So arguments either way perhaps.
This is your comment. This function could be seen as the centralised source. However it seems like you prefer somewhere else.
Yes we should have a comment here.
This is a legit @todo - a task we can't do now, and wish to do later.
Perhaps we can just delete this commented out code? We don't seem likely to care about non-date-based any time soon.
If you want custom views handling then it needs writing. If not then just delete. Could convert to an issue I guess, same as above.
This is a legit @todo - a task we can't do now, and wish to do later.
This is a possible missing test. Could remove the comment and add to the testing issue if you prefer.
This is the testing version of a @todo above.