Closed (fixed)
Project:
Gift Aid management
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2025 at 19:30 UTC
Updated:
25 Dec 2025 at 18:34 UTC
Jump to comment: Most recent
There's a lot of potential for code and text re-use across various mechanisms of self-declaration (checkout, user tab, and [later] standalone anon. We can also improve the display of these forms (copied this part in from #3560172: Better UX on donor own view).
Share template/theme, and a settings UI could control default text.
Improve the display when a donor views themselves:
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
adamps commentedCommon UX. Put settings on the charity.
Comment #3
adamps commentedComment #5
adamps commentedMy current draft of the page:
Reason is:
Comment #6
adamps commentedI have kept a setting for explanation - this is important for compliance.
The rest is just a matter of UI styling. We can set a good default that suits your site. Anyone who prefers something else can write a
- which is way more flexible that settings for some strings. So I didn't put any settings, as I felt it would add unnecessary time/complexity.
I had to tweak the explanation message, so that it worked both on checkout and on user tab. Please check.
Before: I want to Gift Aid my donation and any donations I make in the future or have made in the past four years to
After: I want to Gift Aid any donations I make from now on or have made in the past four years to
Comment #7
jonathanshawLeft comments on the MR. I think the work related to #3560172: Better UX on donor own view and the general modernisations are good, but some of the checkout pane "unification" stuff might need to be set aside for now, I misjudged this.
Comment #8
adamps commentedStrange I don't see any comments. Did you remember to complete your review?
Comment #9
jonathanshawWhoops, submitted review now
Comment #10
adamps commentedComment #11
jonathanshawThat sounds workable.
Comment #12
adamps commented