Feat: Add proof-of-concept UI for editing missing author biography fields

Summary

  • Add "Add information" button to author biography section
  • Implement dropdown selector that displays only missing/empty biography fields
  • Add text input field for entering data (appears beside dropdown when field is selected)
  • Style components to match existing design system (orange button, yellow dropdown)

Implementation Details

This is a UI-only proof of concept with no backend integration. The interface:

  • Detects which biography fields are empty on page load
  • Filters the dropdown to show only missing fields (Nationality, Date of birth, Place of birth, etc.)
  • Displays fields side-by-side for better UX
  • Uses existing Bootstrap utilities and custom CSS consistent with the codebase

Future Work

  • Integration with Wikidata API for actual data submission
  • Form validation
  • User authentication/authorization
  • Success/error feedback messages

Screenshots

image

Test Plan

  • Click "Add information" button to reveal dropdown
  • Verify dropdown only shows fields that are currently empty
  • Select a field from dropdown to reveal text input
  • Verify both fields are same width and aligned horizontally
  • Click button again to hide the form
  • Test on author pages with different combinations of missing fields

Closes T406989

Merge request reports

Loading