In user edit page, can we have two more tabs - 'Delegate' and 'Membership'?
Each will have the 'Active Roles' and 'Past Roles' sections. In each row, it will show the role, start date and end date (for active roles, end date won't be shown, instead something like 'Since '). For the active roles, we can also have an 'edit' button which when clicked will open a form to update the role status, or end role. We will also have a button 'add role' to add a new role to the user.
Is it possible to create a level of abstraction that combines these? For example, a "Roles" tab where a User's Delegate and Memberships would be listed.
In user edit page, can we have two more tabs - 'Delegate' and 'Membership'?
Each will have the 'Active Roles' and 'Past Roles' sections. In each row, it will show the role, start date and end date (for active roles, end date won't be shown, instead something like 'Since '). For the active roles, we can also have an 'edit' button which when clicked will open a form to update the role status, or end role. We will also have a button 'add role' to add a new role to the user.
The UI component can be shared with the component mentioned in https://github.com/thewca/worldcubeassociation.org/issues/8096.
This implementation will also solve our issue of not sending emails for changes in memberships.