Conversation
- Added a toggleable role multi-select field to the project post form. - Selecting roles in the post form permanently updates the user's profile. - Automated "Role swap" activity is recorded when roles are updated. - Project timeline now displays first-letter badges for user roles next to usernames. - Improved custom form rendering in `projectpost.html` with error reporting. - Updated `Activity.data` to include user roles for frontend display. Co-authored-by: loleg <31819+loleg@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR implements the ability for users to easily change or confirm their roles when writing a project Post, as requested.
Key changes:
ProjectPostform now includes arolesfield.project_postview handles populating and updating these roles, including logging a special activity.projectpost.htmltemplate features a "Swap role" button to toggle the visibility of the roles selection.PR created automatically by Jules for task 7455263895444002438 started by @loleg