feat: #3630291 Add a User Profile Details component for the user profile page

Issue: https://www.drupal.org/project/vartheme_bs5_educare/issues/3630291

  • Adds the organisms/user-profile-details SDC (noUi: true), a Bootstrap card with the picture, the account details and quick action buttons. With no picture it shows the Educare bootstrap-icon person-circle in text-dark, since the theme does not set $primary.
  • vartheme_bs5_educare_preprocess_user(): on the owner's own profile, when the card is present, return early to skip the theme's own buttons and drop the picture and Member for from the content.

Pairs with https://www.drupal.org/project/varbase_users_base/issues/3630123 and https://www.drupal.org/project/vartheme_bs5/issues/3630124

How to test

  1. Install Educare 1.0.x-dev on Varbase 11 with Varbase Users Base 1.0.1.
  2. Log in as a user with no extra role and visit /user: one card, no duplicate buttons, picture or Member for.
  3. As an administrator, view that user's profile: unchanged.

AI-Generated: Yes. Developed with Claude Code assistance, human review pending.

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release

🤖 Generated with Claude Code

Edited by Rajab Natshah

Merge request reports

Loading
Loading