• Robert Knight's avatar
    Initialize the `user_info` field for new annotations · e1ff4b8d
    Robert Knight authored
    Populate the `user_info` field for new annotations from the logged-in
    user's profile. This enables new annotation cards to render the user's
    display name instead of their username if they have set one.
    
    This logic is currently in the annotation component init function for
    consistency with how the `user` field is initialized. However, it really
    ought to be in the code that handles the `addAnnotations` Redux action.
    e1ff4b8d
annotation.js 16.8 KB