#7002 Show activity preview on user profile

v1.1.0
closed
User
2015-08-20
2013-12-16
No

User profile pages should show a few of the most recent activities (currently plenty of room on the right).

We could look at moving the SF-internal summary page's activity.js to Allura since it does basically the same thing.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2014-01-10
    • Size: --> 2
     
  • Dave Brondsema

    Dave Brondsema - 2014-01-10
    • Milestone: forge-backlog --> forge-jan-24
     
  • Cory Johns - 2014-01-13
    • status: open --> in-progress
    • assigned_to: Cory Johns
     
  • Cory Johns - 2014-01-15
    • status: in-progress --> code-review
     
  • Cory Johns - 2014-01-15

    allura:cj/7002
    sftheme:cj/7002

    The ProfileSection system supports disabling and ordering via config (disable_entry_points.allura.user_profile.sections and user_profile_sections.order, respectively). The existing data on the profile should eventually be refactored to use the same system so that the entire profile can be configured as desired.

    Edit: Improved caching and added docstring (force-push on allura:cj/7002)

     
    • QA: Tim Van Steenburgh
     
    • status: code-review --> in-progress
     
  • Looks good, but there's a test failure on nosetests allura.tests.functional.test_user_profile:TestUserProfile.

    Also, do you think we should add the activitystream.enabled config check to check_display()? I guess personally I don't care whether it's visible before AS is turned on site-wide, but not sure if anyone else does.

     
  • Cory Johns - 2014-01-21

    I was assuming we'd disable the entry-point, but making it conditional so we can test it in prod would definitely be better. I'll do that.

     
  • Cory Johns - 2014-01-21
    • status: in-progress --> code-review
     
  • Cory Johns - 2014-01-21

    Changes pushed to:
    allura:cj/7002

     
    • status: code-review --> closed
     

Log in to post a comment.